- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am trying to communicate to BCM20737 tag board with peripheral uart. I initialised the puart using frunction tw_puart_init() from puart_control sample.
Also what I send to PC using puart_print is displaying correctly. So I think the setup is correct.
The problem is that the byte value obtained from puart_read() is not what I am sending from my PC. What can be the reason for this behaviour.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Peripherhal UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure what the reason is for the behavior you're describing, however, I do encourage you to use the sample code attached the following post to implement your PUART interrupts+reads:
Connecting an external board to the BCM2073X via the PUART
Interrupts + reads from the PUART can all be outsourced to prewritten functions in ws_upgrade_uart.c as you'll see in the code.
Jacob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure what the reason is for the behavior you're describing, however, I do encourage you to use the sample code attached the following post to implement your PUART interrupts+reads:
Connecting an external board to the BCM2073X via the PUART
Interrupts + reads from the PUART can all be outsourced to prewritten functions in ws_upgrade_uart.c as you'll see in the code.
Jacob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to jakewtorres recommendation, you may also want to take a look at these two threads created by alexleung0316,madmax and
SDK2.2: puart_print or puart_write is not reliable, some sent data could be missed