[SOLVED] Conversion of 8bit digit

Status
Not open for further replies.

MAALENI

Newbie level 4
Joined
Nov 3, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,318
how to send 16 bit data as a 8 bit data in uart
that is i use uart 4 my project it accept uart 8 bit mode
if anyone none means help me
thank u in advance
 

you will have to split hte data and then send... if data_16 is ur actual data to be transmitted, then send the LSB 8 bits of data_16 first, then take the MSB 8bits.. you can register the 16 bit data and then use the delayed version of it when ur sending the MSB 8 bits..
 

thank u for ur reply.
how do u concordinate these two bits in matlab
 

sry.. im not very conversant with matlab..
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…