This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't generate UART interrupt ???(EPM900)

case: P89LPC932(ICE emulation) communicates with PC by using UART<-->RS232
environment: micro vision2 + EPM900
UART setting:
UART MODE =MODE 3
SMOD0=0 (PCON.6)
SCON=0xf0 (SM2=1, REN=1, TB8=0)
SSTAT=0x20 (no double buffer, Rx/Tx are separate INT, Tx INT at beginning of the stop bit, disable FE'BR'OE interrupt)
baudrate=9600 bps
ESR=1 (enable Rx interrupt)

When PC transmitted 11 bit data to EPM900 (start bit, 8 bit data, TB bit, stop bit)
In "serial channel" box of "Peripheral" menu of micro vision2
I saw the SBUF get the correct data certainly,
and RB8 bit became 1.
But RI bit still remained 0 and did not generate interrupt.
How to solve the problem?

Thanks!

0