Tool/software: TI-RTOS
We are running on one of the ARM cores, and are able to send all data successfully over the UART, but can't receive a 0xFF byte. All other bytes 0x0 - 0xFE are received just fine.
Our UART setup is patterned after the PDK K2L version 4 0 6 ARM UART test example project using FIFO callback with trigger depth set to 1.
Settings are as follows:
//Default parameter values that are left the same as example project
params->writeMode = (UART_Mode)UART_MODE_BLOCKING; /* Mode for all write calls */
params->readTimeout = BIOS_WAIT_FOREVER; /* Timeout for rd semaphore */
params->writeTimeout = BIOS_WAIT_FOREVER; /* Timeout for wr semaphore */
params->writeCallback = NULL; /* Pointer to wr callback */
params->readEcho = (UART_Echo)UART_ECHO_OFF; /* Echo received data back */
params->dataLength = (UART_LEN)UART_LEN_8; /* Data length */
params->stopBits = (UART_STOP)UART_STOP_ONE;
params->parityType = (UART_PAR)UART_PAR_NONE; /* Parity */
params->readCallback2 = NULL; /* Pointer to rd callback */
params->writeCallback2 = NULL; /* Pointer to wr callback */
//Customized parameters
params->readCallback = EIU_UART_callback;
params->readMode = UART_MODE_CALLBACK;
params->baudRate = (uint32_t)57600;
params->readDataMode = (UART_DataMode)UART_DATA_BINARY; /* Type of data being written */
params->writeDataMode = (UART_DataMode)UART_DATA_BINARY; /* Type of data being read */
params->readReturnMode = (UART_ReturnMode)UART_RETURN_FULL; /* Receive return mode */
When a byte of 0xFF is sent to the EVM, we don't even get a callback. Any other byte sent to the EVM is properly received and generates the callback.
Any suggestions?
Thanks!
Jim