vdurgaidass
Junior Member level 3
- Joined
- Jul 13, 2009
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- India
- Activity points
- 1,525
I have to receive data from a Device through RS232 using 9600 Baud, NO parity,7 Data bits and 1 Stop bit.
The Device is Pre programmed to select different Baud rate, ODD/EVEN/ NO Parity, 7/8 Data bits and Fixed Stop bit as 1.
My project uses 89C52 controller and setting the serial port (SCON) mode to 1 (9bit) I am able to receive the data with all combination except 7data bit, No Parity and 1 Stop bit (7,N,1).
I searched the web and it seems that it is not possible to use 7,N,1 protocol with 51 series UARTs.
Is my under standing is true ?
However by using Software UART i am able to receive with 7,N,1
Any comment is welcome.
V Durgaidass
The Device is Pre programmed to select different Baud rate, ODD/EVEN/ NO Parity, 7/8 Data bits and Fixed Stop bit as 1.
My project uses 89C52 controller and setting the serial port (SCON) mode to 1 (9bit) I am able to receive the data with all combination except 7data bit, No Parity and 1 Stop bit (7,N,1).
I searched the web and it seems that it is not possible to use 7,N,1 protocol with 51 series UARTs.
Is my under standing is true ?
However by using Software UART i am able to receive with 7,N,1
Any comment is welcome.
V Durgaidass