I have a MicroBlaze design using uartlite on my Cmod A7 board. Uart communication between the Cmod A7 and a Raspberry Pi works fine both ways when debugging/stepping through the code. However, when simply running, the Cmod A7 receives all packets as expected but the replies it sends seem random. Both the Cmod and the Pi have the same uart settings (9600 baud).
To me this issue seems like a problem with the clock, since communication works fine when stepping through the code, but fails when running normally.
Another, less likely, cause could be that the Cmod board is powered via USB when debugging but through the pins when running normally. Not really sure how this could affect uart communication though.
Question
stunix
Dear experts,
I have a MicroBlaze design using uartlite on my Cmod A7 board. Uart communication between the Cmod A7 and a Raspberry Pi works fine both ways when debugging/stepping through the code. However, when simply running, the Cmod A7 receives all packets as expected but the replies it sends seem random. Both the Cmod and the Pi have the same uart settings (9600 baud).
To me this issue seems like a problem with the clock, since communication works fine when stepping through the code, but fails when running normally.
Another, less likely, cause could be that the Cmod board is powered via USB when debugging but through the pins when running normally. Not really sure how this could affect uart communication though.
Any help would be greatly appreciated.
Thanks!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.