It looks to me like you're immediately disabling the UART without waiting for the data you wrote to get transmitted (which will take a *LONG* time, at least from the PRU's 5 ns/clk perspective). Try either not shutting down the UART, or polling the UART to make sure the Tx side is idle before disabling it.

On 7/18/2017 4:09 PM, [email protected] wrote:
HI,
I'm learning how to use the BBB's PRU's, and I'm writing some assembly to
utilize the PRU's integrated UART.  I read through the PRU reference manual and
used it to write my assembly code, but after running the code in a debugger, I'm
getting almost no output.  The only reaction from the PRU I could see with my
logic analyzer is a small spike when the PRU writes a value to the UART output
address, but it is not a valid UART communication.

Here's my assembly code
<https://gist.github.com/winter-muted/4e4b113fb5767ea31fdae92f334af46a > and
cape manager overlay
<https://gist.github.com/winter-muted/6aea7bb9d05636a5304c93c202fbbf67>


Any thoughts as to what might be going on?

Thanks!

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/7279f8f5-c8ba-4d96-a7fc-4a0a507c5a2f%40googlegroups.com
<https://groups.google.com/d/msgid/beagleboard/7279f8f5-c8ba-4d96-a7fc-4a0a507c5a2f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
Charles Steinkuehler
[email protected]

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3fcaffe0-7d4e-abd2-e08d-f9dec88c76f6%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to