0
\$\begingroup\$

I'm trying to understand why I am seeing RX interrupts when tying RX to TX of my SAMR34 but not when I connect it to the transmitting device. The transmitting device notes the following restrictions:

Serial hardware flow controls (RTS/CTS and DTR/DSR) are not used and will be ignored. In addition, the receiver must not use software flow control (XON/XOFF)

I do see data from the transmitter when I poll. Does interrupt driven UART require support from the transmitter? Should I switch to DMA to resolve this issue? Here is my setup

enter image description here

\$\endgroup\$
2
  • 1
    \$\begingroup\$ please copy the code into the question and indent it. How many bytes do SAMR34 send and how many do the transmitter send? \$\endgroup\$
    – User323693
    Commented Aug 27, 2019 at 21:03
  • \$\begingroup\$ I used a different SAM device 6 years ago but had no problems with Rx interrupts. I know Tx was nasty but I can't remember why. \$\endgroup\$
    – Oldfart
    Commented Aug 28, 2019 at 4:55

1 Answer 1

0
\$\begingroup\$

To state the obvious, no, there is no "support" in the transmitter that is required for an RX interrupt on the receiver side. If you get the transmitter data by polling, the RX interrupt should fire, provided you enable it correctly.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.