More On Serial Comms
Posted: 14 March 2011, 11:59 AM
I need some help with serial comms on my ZX1280 dev board please.
This works just fine. I have verified the incoming data is correct.
call DefineCom(2, 0, 0, &H08)
call OpenQueue(LNIn, SizeOf(LNIn))
call OpenQueue(LNOut, SizeOf(LNOut))
Call OpenCom(2, 16457, LNIn, LNOut)
This does not work. The incoming data makes no sense - missing bytes and bad
values.
I'm assuming I can use Port E for serial communication.
call DefineCom(3, e.6, e.7, &H08)
call OpenQueue(LNIn, SizeOf(LNIn))
call OpenQueue(LNOut, SizeOf(LNOut))
Call OpenCom(3, 16457, LNIn, LNOut)
I'm sure I'm missing the something, but I don't know what I don't know....
Thanks, John Burrow
San Diego
This works just fine. I have verified the incoming data is correct.
call DefineCom(2, 0, 0, &H08)
call OpenQueue(LNIn, SizeOf(LNIn))
call OpenQueue(LNOut, SizeOf(LNOut))
Call OpenCom(2, 16457, LNIn, LNOut)
This does not work. The incoming data makes no sense - missing bytes and bad
values.
I'm assuming I can use Port E for serial communication.
call DefineCom(3, e.6, e.7, &H08)
call OpenQueue(LNIn, SizeOf(LNIn))
call OpenQueue(LNOut, SizeOf(LNOut))
Call OpenCom(3, 16457, LNIn, LNOut)
I'm sure I'm missing the something, but I don't know what I don't know....
Thanks, John Burrow
San Diego