cancel
Showing results for 
Search instead for 
Did you mean: 

USART - Data size difference problem between Reception and Transmission

konay61
Associate II
Posted on November 29, 2011 at 07:59

Hi,

I have established a connection between dev-board and pc by rs232 and the settings are programmed like data size 8 bit long, 1 stop bit, Parity - odd, 115200 baudrate..  And when I talk to the board (receiving) everything is ok but the problem is occurring while transmitting data. Pc receives the data 7 bit long. if I change the data size on my hyper terminal to 7 bit data size after the receiving data is done, I see the text what I want to see on my hyper terminal but if not, rubbish text is coming on..  

I would appreciate if anyone can help me on this issue.. 

Regards,

#usart
2 REPLIES 2
konay61
Associate II
Posted on December 13, 2011 at 16:29

I have fixed it by ANDing the received data by ''0x7F'' to avoid the useless part. So that, both sizes of data were balanced. 

hernandez_nava_itt
Associate II
Posted on December 14, 2011 at 20:09

hi

problem reception , i use stm32l discovery