Forum breadcrumbs - You are here:ForumGeneral: General Discussion about SimulIDEMode 0 of 8051serial communicatio …
You need to log in to create posts and topics.
Mode 0 of 8051serial communication error
doo@doo
13 Posts
#1 · April 5, 2024, 1:23 pm
Quote from doo on April 5, 2024, 1:23 pmMode 0 of 8051serial communication does not work properly, there is no signal on the rxd(3.0) and txd(3.1) pins.
it works fine in proteus.
sdcc code:
#include<8051.h> main() { SCON=0X00; IE=0X90; TI=1; while(1) SBUF=0X87; } void interrupt_uart() __interrupt (4) { TI=0; }
Mode 0 of 8051serial communication does not work properly, there is no signal on the rxd(3.0) and txd(3.1) pins.
it works fine in proteus.
sdcc code:
#include<8051.h>
main()
{
SCON=0X00;
IE=0X90;
TI=1;
while(1)
SBUF=0X87;
}
void interrupt_uart() __interrupt (4)
{
TI=0;
}
Uploaded files:
Click for thumbs down.0Click for thumbs up.0
arcachofo@arcachofo
574 Posts