Receive with FX3 UART | Cypress Semiconductor
Receive with FX3 UART
I need to use the UART receive and transmit with my FX3 project.
I tried the DMA method, but it was just unreliable, expecting a particular number of bytes before it would receive.
Now, not using the DMA method, I just call CyU3PUartTransmitBytes() to transmit, which works fine.
I need some help with receiving data though, I need some way to either poll the receive buffer, or better yet, a way to trigger and jump to an interrupt routine when data is received.
Can a non DMA method of receiving be set up with an interrupt method? I can't find an example of this.
Also, since this project used Threadx and I'm just not sure if I need to create a thread for this, or how to go about it.
I have not been getting any response from Cypress support for a few weeks now, so maybe somebody here has an idea, or can point to an example?
Thanks for your help.