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\$
  • 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\$ – Umar Aug 27 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 Aug 28 at 4:55
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, privacy policy and cookie policy

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