Author Topic: No Parity, 2 Bit Stop  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

Offline stlmarcTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
No Parity, 2 Bit Stop
« on: March 14, 2011, 01:54:46 PM »
Hi Axon guru's,
     How do I set my uart2 with a no parity, 2 bit stop ? I need it to improved my serial connection with my LCD Diplay.
I can see my byte sent to the display but I have some other noise or byte that  I don't sent.

my display need  a no parity, 2 bit stop on 9600 baud

Regards
« Last Edit: March 14, 2011, 03:50:10 PM by stlmarc »

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: No Parity, 2 Bit Stop
« Reply #1 on: March 14, 2011, 07:19:20 PM »
With PICs parity is calculated in software and set into the 9th bit. 2Stop bits can be done with a one bit time delay between characters.

Offline stlmarcTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: No Parity, 2 Bit Stop
« Reply #2 on: March 16, 2011, 03:45:24 AM »
Sorry I fogot to specify the MCU I work with.
   My MCU is a Axon and my LCD is a Devantech LCD03.


Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
Re: No Parity, 2 Bit Stop
« Reply #3 on: March 16, 2011, 02:15:39 PM »
WebbotLib supports the Devantech LCD03 .

I used the I2C interface coz its faster and is less prone to sending spurious glitch characters that end up re-programming it by mistake.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here