PDA

View Full Version : Just a quick one



Sphere
- 21st March 2007, 22:14
I need to set up serout2 for 9N1.So if I add this define DEFINE SER2_BITS 9 will this work. Ive checked the manual but not sure if this define only applies to even parity.
Thanks Sphere....

skimask
- 22nd March 2007, 00:24
I need to set up serout2 for 9N1.So if I add this define DEFINE SER2_BITS 9 will this work. Ive checked the manual but not sure if this define only applies to even parity.
Thanks Sphere....

The pages in the manual I'm reading say you do have to specify which parity you want, along with the 9 bits. As long as you do that, it should all work just fine.
What are you interfacing to?

Sphere
- 22nd March 2007, 07:45
Im trying to imitate a car cd changer so I can connect my mp3 player. The headunit requires 9 data bits no parity one stop bit. I just needed a second opinon about the DEFINE SER2_BITS 9 so that SEROUT2 PORTB.0,16486,[DATA] will give me 9 data bits.

Thanks Sphere...