Tool/software: Code Composer Studio
I'm using ICE_AM335x board to debug UART with sys/bios. I find uart can not got 0xff from PC, but 0~0xfe can be read. the params setting is as below
const UART_Params uart_params= {
UART_MODE_BLOCKING, /* readMode */
UART_MODE_BLOCKING, /* writeMode */
(~((uint32_t)0U)), /* readTimeout */
(~((uint32_t)0U)), /* writeTimeout */
NULL, /* readCallback */
NULL, /* writeCallback */
UART_RETURN_FULL, /* readReturnMode */
UART_DATA_BINARY, /* readDataMode */
UART_DATA_BINARY, /* writeDataMode */
UART_ECHO_OFF, /* readEcho */
115200, /* baudRate */
UART_LEN_8, /* dataLength */
UART_STOP_ONE, /* stopBits */
UART_PAR_NONE, /* parityType */
NULL, /* readCallback2 */
NULL, /* writeCallback2 */
};
how shall I do now?
Leonard