Skip to content
Snippets Groups Projects
Commit 52736f11 authored by dawehr's avatar dawehr
Browse files

Upped the baud rate and moved the loop time to 5ms

parent 07d93c16
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ int initializeAllComponents(user_input_t * user_input_struct, log_t * log_struct
//Xil_AssertWait = FALSE;
// Initialize UART0 (Bluetooth)
if(!uart0_init(XPAR_PS7_UART_0_DEVICE_ID, 115200))
if(!uart0_init(XPAR_PS7_UART_0_DEVICE_ID, 921600))
return -1;
uart0_clearFIFOs();
......
......@@ -19,7 +19,7 @@ extern double LOOP_TIME;
extern double time_stamp;
// desired loop time is not guaranteed (its possible that the loop may take longer than desired)
#define DESIRED_USEC_PER_LOOP 6000 // gives 5ms loops
#define DESIRED_USEC_PER_LOOP 5000 // gives 5ms loops
#define PL_CLK_CNTS_PER_USEC 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment