Hello,
I have a problem with the current mbed version (38) of the SerialHalfDuplex. Version (28) works perfectly, I think the problem starts at version 29.
I am communicating with a few dynamixel MX-28 servos. When I use the old libraries the messages are transmitted and received without a problem.
However, when I use the current version the first byte I receive is the last byte I send. Below is an example of pinging servo number 4.
Quote:
New version
Write: 0xFF 0xFF 0x04 0x02 0x01 0xF8
Read: 0xF8 0xFF 0xFF 0x04 0x02 0x00 0xF9
Old version
Write: 0xFF 0xFF 0x04 0x02 0x01 0xF8
Read: 0xFF 0xFF 0x04 0x02 0x00 0xF9
The speed I am using is 3Mbps. I have not changed anything in the program except updating the mbed library.
Maybe this is related to http://mbed.org/forum/bugs-suggestions/topic/1874/
Hello,
I have a problem with the current mbed version (38) of the SerialHalfDuplex. Version (28) works perfectly, I think the problem starts at version 29.
I am communicating with a few dynamixel MX-28 servos. When I use the old libraries the messages are transmitted and received without a problem.
However, when I use the current version the first byte I receive is the last byte I send. Below is an example of pinging servo number 4.
Quote:
New version
Write: 0xFF 0xFF 0x04 0x02 0x01 0xF8
Read: 0xF8 0xFF 0xFF 0x04 0x02 0x00 0xF9
Old version
Write: 0xFF 0xFF 0x04 0x02 0x01 0xF8
Read: 0xFF 0xFF 0x04 0x02 0x00 0xF9
The speed I am using is 3Mbps. I have not changed anything in the program except updating the mbed library.
Maybe this is related to http://mbed.org/forum/bugs-suggestions/topic/1874/