FullDuplexSerial and Zigbee - errors
I'm a newbee to the propeller, and I'm missing something here.
Problem: I'm using the FullDuplexSerial lib to connect a Propeller to a Maxtream Zigbee chip via serial. Data is being corrupted.
Some characters always make correctly, like 'Z's, while others don't, like 'A's. The character that fail just have some bits added.
As a reality check I connected the Propeller to a a PC (via a level converter, using HyperTerm) and the characters were corrupted.
The following code is intended to output the upper case alphabet.
-
Any help would be greatly appreciated.
Problem: I'm using the FullDuplexSerial lib to connect a Propeller to a Maxtream Zigbee chip via serial. Data is being corrupted.
Some characters always make correctly, like 'Z's, while others don't, like 'A's. The character that fail just have some bits added.
As a reality check I connected the Propeller to a a PC (via a level converter, using HyperTerm) and the characters were corrupted.
The following code is intended to output the upper case alphabet.
-
Any help would be greatly appreciated.
{{ SerialTest.spin }} CON PINRX = 3 PINTX = 4 Delay = 1_000_000 OBJ Ser : "FullDuplexSerial" PUB Main | Temp Ser.Start(PINRX,PINTX,$0,9600) 'PUB start(rxpin, txpin, mode, baudrate) : okay waitcnt(Delay + cnt) Temp := 65 repeat Ser.tx(Temp) Temp++ waitcnt(Delay + cnt) while Temp < 91 Ser.stop
Comments
Yes - it works - thanks