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

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru : REPLY

$
0
0
when you use bytematch, serial buffered input is used. thus all data is received using interrupts. during this interrupt, no other interrupt can occur. so while processing the bytematch routine, interrupts are blocked because essentially, the interrupt service is executed. while input can fetch the data from the buffer , new data entering the buffer might get lost. using print will take time. you could add a delay after the PRINT in the sending application. did you post the code that sends the data? while code should behave the same, the priority might make a difference : in normal AVR the lowest address has the highest priority.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



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