PDA

View Full Version : Can someone suggest why serout doesn't work with this board?



jimseng
- 27th September 2009, 08:56
Hi.
I have one of these http://www.plite.co.uk/files/MC28AD16_3%20Schematic.pdf
I have failed to get serout/serin/hserin/hserout to work with it unless I remove the serial driver and directly link the serial connection to rb6 & 7
my serout that works is: serout portc.6,6,["blah",10] but as soon as I put the chip in I either get nothing or nonsense back. Any ideas?

Cheers

mackrackit
- 27th September 2009, 09:11
Hi.
I have one of these http://www.plite.co.uk/files/MC28AD16_3%20Schematic.pdf
I have failed to get serout/serin/hserin/hserout to work with it unless I remove the serial driver and directly link the serial connection to rb6 & 7
my serout that works is: serout portc.6,6,["blah",10] but as soon as I put the chip in I either get nothing or nonsense back. Any ideas?

Cheers
Try


serout portc.6,2,["blah",10]

jimseng
- 27th September 2009, 09:21
I should have said. I think I have already tried that but I will give it another go. I guess I should try different speeds too.

jimseng
- 27th September 2009, 09:51
Well mode 2 and mode 10 both work. I don't know how I missed it.

mackrackit
- 27th September 2009, 09:59
Well mode 2 and mode 10 both work. I don't know how I missed it.
Any of the TRUE modes should work through the INVERTER chip to a PC terminal.
Not sure why HSEROUT is not working. HSEROUT needs the chip to work with a PC.