We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
Hi, the EPM900 with UART + Interrrupts works fine. You find my example at http://www.c51.de /lpc900 / Test_RS232.zip Mike