Fx3 Uart debugging printing garbage | Cypress Semiconductor
Fx3 Uart debugging printing garbage
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?