EtherCAT slave that reads 3 Xsens IMU's connected to a Xbus Master
Dependencies: MODSERIAL mbed KL25Z_ClockControl
Fork of EtherCAT by
Diff: EtherCAT/cpuinit.cpp
- Revision:
- 27:93c0e4ae943e
- Parent:
- 18:6629e8c5d59e
--- a/EtherCAT/cpuinit.cpp Sun Mar 08 21:53:00 2015 +0000 +++ b/EtherCAT/cpuinit.cpp Mon Mar 09 15:58:00 2015 +0000 @@ -41,7 +41,7 @@ //et1100_spi.format(8,3); et1100_spi.frequency(1000000); - xbus_serial.baud(115200); + xbus_serial.baud(230400); wait(1);//because Xbus master and IMU's need to boot. XbusSetupReceiver(&xbus_master); //initialize struct XbusInitializeXbusMaster();