electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

SBUF in 8051


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> SBUF in 8051
Author Message
sacrpio



Joined: 24 May 2004
Posts: 56


Post03 Sep 2004 12:52   

sbuf in 8051


How we can prove that there are two serial buffers (SBUF) in 8051 one for transmit & another one for receive.
Back to top
pisoiu



Joined: 31 Dec 2002
Posts: 729
Helped: 24
Location: Romania


Post03 Sep 2004 15:08   

8051 two sbuf


Microcontrollers is the right forum for this, moved here. From software point of view, there is no difference. From hardware point of view, when you use MOV A,SBUF you access receive buffer, when you use MOV SBUF,A you access transmit buffer. The only proof is the datasheet from the manufacturer.

/pisoiu
Back to top
Google
AdSense
Google Adsense




Post03 Sep 2004 15:08   

Ads




Back to top
svicent



Joined: 11 Jul 2001
Posts: 413
Helped: 23


Post03 Sep 2004 17:57   

dont read from sbuf


1. Write VALUE_1 to SBUF
2. Read SBUF, you will get VALUE_2
3. Probably VALUE_1 and VALUE_2 will differ
Back to top
conkhicon



Joined: 31 Aug 2004
Posts: 108
Helped: 3


Post07 Sep 2004 2:21   

8051 + sbuf


Hi !
I am degree svicent's ideal !
Clearly!
You make SBUF (receive) a new value by send to it a VALUE_1 from another but you dont read it's value.
After, you write SBUF VALUE_2
Read SBUF.
You see the difference in two values.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> SBUF in 8051
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
to read from sbuf in 8051 (1)
How to Create UART with Software (not used SBUF) on 8051 (7)
8052 SI SBUF Write, function like kbhit to work with K*eil? (3)
8051 project board- where to get Atmel 8051 in New Zealand? (5)
microcontroller(8051) - is 8051 big endian or little endian? (3)
uC/OS 8051 (4)
8051 (1)
8051 (6)
8051 (5)
8051 (8)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS