Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Serial Data Transmission of 11 bit data in 8051

Status
Not open for further replies.

ashuein

Newbie level 3
Joined
Jul 10, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,308
Hi I am in big problem, I have to transmit 300 data packets each 11 bit in size serially to 8051 or DS89C430 microcontroller and multiply each with another data of 11 bit stored in ROM. The multiplication goes on for 300 times one by one and each product has to be added (adding up all the products) to the previous and stored in a temporary basis in RAM or Accumulator. But problem is that, during serial transmission the data goes to the SBUF (serial buffer register) first which is 8 bit in size and when fills then the flag is raised so that the data contained could be saved somewhere.

Now my data packet is 11 bit in size but the register is 8 bit. How to then perform the above task. Also I dont want to use any 16 bit controller.

Please help as soon as possible.
 

one option is:
in 8051 :divide your data into two chunks of 8+3
send it in two packets.
on the other end(receiving end) you must have the sw to properly assemble the two chunks into 11bit .
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top