AnsweredAssumed Answered

as1_RecvBlock not receiving block

Question asked by GMVS on Jan 19, 2013

oks

 

i have to MC9S08DZ128MLL connected by RS232 interface, but one of them has an LCd display attached where all messages send by rs232 are displayed

both have the exact same code

i'm using processor expert libraries

 

i called SendChar at the main and it works

i called RecvChar from the OnRxChar interrupt and works

i called SendBlock at the main and it works

but i called RecvBlock from the OnRxChar interrupt and doesnt work

i assume it doesn't work because the interrupt is just for one char and i'm getting a lot of them

but if i cant use OnRxChar, then which other interrupt should i use?

 

(or maybe i'm messing up pointers?)

 

i'll send you my code

thank you

Original Attachment has been moved to: myINT-code.txt.zip

Original Attachment has been moved to: myLCD-code.txt.zip

Original Attachment has been moved to: PE-code.txt.zip

Outcomes