Hi,
I want to clear the Break Detect Interrupt Flag in SCI Alternative Status Register 1 (SCIASR1) by the following code ,I have set the AMAP=1,but it in vain,I don't know why . if(0 != (SCI1ASR1&SCIASR1_BKDIF_MASK)) //=1 state = RECV_SYN; |
}
Hi ,thank you , because of i use a wrong way to generate a break character.
Hi,
What do you see on a scope, what do you receive?
I do not see any reason why this flag cannot be cleared unless it keeps receiving break characters. How do you generate a break character, using SCICR2[SBK]?
Regards,
Daniel