Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Netduino Plus and UART 7 bit problems

  • Please log in to reply
1 reply to this topic

#1 MicroEmb



  • Members
  • PipPip
  • 12 posts

Posted 02 January 2016 - 05:23 PM


Just a quick question if some one or the staff have experience problem using 7 bit UART settings on the Netduino Plus (first version) ?


I have developed a small UART app that receives chars on UART1 and UART2  looking for some chars

and light up status leds.


However i have developed it under 115200 baud 8N1 and it works OK but when i changed to 9600 Baud 7E1

i got faulty chars, i have tested to change to 9600 8E1 and that works so it is 7 bit that is the problem.


Is this a known issue on the Netduino Plus or the firmware ?


I use 4.2.0,0 and Framework 4.2



#2 MicroEmb



  • Members
  • PipPip
  • 12 posts

Posted 03 January 2016 - 09:29 AM

I have investigated this further and it is only UART1 that have this problem with 7 Bit.


I have checked the byte that i receive  to UART1 and it is always in 8 bit mode , the MSB is always 1


So as an example i should receive a right bracket ] witch is 0x5D 93d and that is received as 0xDD 221d

the MSB is 1   if i send with 8 bit it receives OK 0x5D 93d


So as a workaround i substrate 128 from received byte to get it right,



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.