by JonHylands » Thu Mar 01, 2007 8:12 pm
by JonHylands
Thu Mar 01, 2007 8:12 pm
Questions:
- When the baud rate register is changed with WRITE_DATA, do you send the response packet back using the old baud rate, or the new one?
- When the device ID is changed with WRITE_DATA, is the response packet sent back with the old ID, or the new ID?
The way I have my code implemented now, in both cases it uses the new value for the response packet.
It would be fairly simple to switch the order of updating the control table versus writing the response packet if both of these should be the other way around.
Thoughts?
- Jon
Questions:
- When the baud rate register is changed with WRITE_DATA, do you send the response packet back using the old baud rate, or the new one?
- When the device ID is changed with WRITE_DATA, is the response packet sent back with the old ID, or the new ID?
The way I have my code implemented now, in both cases it uses the new value for the response packet.
It would be fairly simple to switch the order of updating the control table versus writing the response packet if both of these should be the other way around.
Thoughts?
- Jon