Please find the explanation of various events below:
CY_U3P_UART_EVENT_RX_DONE UART data receive operation is complete CY_U3P_UART_EVENT_TX_DONE UART data transmit operation is complete CY_U3P_UART_EVENT_ERROR An error has been detected. CY_U3P_UART_EVENT_RX_DATA Data is available in receive FIFO.
Thanks for your explanation. I tried to find the callback triggering mechanism by using GPIOs. I have attached my code here. I found that,
1. The RX_DONE and TX_DONE events occur only during DMA mode that too only when the value given in the CyU3PUartRxSetBlockXfer CyU3PUartTxSetBlockXfer APIs is not equal to 0xFFFFFFFF.
2. The RX_DATA event occurs only in the register mode.
These are my findings. Correct me if I am wrong.
Ashlin Surey. A
UartLpDmaMode_wid_print.zip 815.5 K
It seems correct.
> The RX_DATA event occurs only in the register mode.
How did you figure this out?