Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20606

BASCOM-AVR : urxc problem : REPLY

$
0
0
@sarutobi1 It doesn't make sense to diasable and enable single interrupt flags inside an ISR. The hardware globally disables all interrupt when entering an ISR and globally enables, when leaving the ISR. The UDRE flag is used to indicate, that the transmit buffer is empty. As you do not send anything, it will remain empty. For what you described you will need to use the URXC interrupt, as in your first code. Are you sure that there is no noise or any transfer on the RX Pin?

Viewing all articles
Browse latest Browse all 20606

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>