danners430
Member
Afternoon ladies and gentlefolks,
I'm wanting to do some testing on an RS485 bus which should (I believe) be compatible with PICAXE - specs follow:
9600 baud
8 data bits
no parity
2 stop bits
This is implemented by a proprietary piece of equipment I have, namely the NCE model railway DCC systems. I'm wanting to reverse engineer the protocol, as there's very little decent documentation available... therefore, would the following be possible in members' opinions?
Using an X2 chip, connect the bus to the hserin port, and enable background read. Just leave the scratchpad empty, letting the read operation write freely and overflowing when necessary.
The main program pushes the contents of the scratchpad to the PC over the normal USB programming cable every, say, 500mS (testing required here!), so I can view it.
Does this make a shred of sense....?
I'm wanting to do some testing on an RS485 bus which should (I believe) be compatible with PICAXE - specs follow:
9600 baud
8 data bits
no parity
2 stop bits
This is implemented by a proprietary piece of equipment I have, namely the NCE model railway DCC systems. I'm wanting to reverse engineer the protocol, as there's very little decent documentation available... therefore, would the following be possible in members' opinions?
Using an X2 chip, connect the bus to the hserin port, and enable background read. Just leave the scratchpad empty, letting the read operation write freely and overflowing when necessary.
The main program pushes the contents of the scratchpad to the PC over the normal USB programming cable every, say, 500mS (testing required here!), so I can view it.
Does this make a shred of sense....?