Fx3 Uart debugging printing garbage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi guys,

   

I am trying to get UART debugging working on the FX3 with the UVCVideoClass example.

   

Unfortunately I only get garbage in my console:

   

Instead of the expected "App Started\r\n" I get "~_��y��}  �Y =  57��" in my serial console (Which is set to 115200-8-N-1 - I only mention this because I have seen similar errors when the baudrate is not set up propperly).

   

This happens with every CyU3PDebugPrint.

   

My uart config:

   
uartConfig.baudRate = CY_U3P_UART_BAUDRATE_115200; uartConfig.stopBit = CY_U3P_UART_ONE_STOP_BIT; uartConfig.parity = CY_U3P_UART_NO_PARITY; uartConfig.txEnable = CyTrue; uartConfig.rxEnable = CyFalse; uartConfig.flowCtrl = CyFalse; uartConfig.isDma = CyTrue;   May someone please point me in the right direction?
   
    
Greetz, Chris
0 Likes
9 Replies