Can both RIE and ILIE be set so that either condition will cause an interrupt in the MCF51JM128EVLK ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can both RIE and ILIE be set so that either condition will cause an interrupt in the MCF51JM128EVLK ?

525 Views
bobreichenbach
Contributor I

I want to use the Serial Receive line IDLE condition to call my parsing code after a data packet has been received and buffered. ie: IRQs to move each byte as received to buffer/que then when line becomes IDLE for 1 byte time, start parsing the packet. I do not want to poll Status Register 1 flags as this clears the flags. My source is in assembly.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

439 Views
TomE
Specialist II

There's nothing in the Reference Manual to say that won't work. Just make sure you carefully follow the instructions on how to clear the status bits in "Table 12-5. SCIxS1 Field Descriptions".

> My source is in assembly.


What difference does that make?

Tom

0 Kudos
Reply