Hello,
I have a custom board with a MSP430F5342, MPU9150 and the same bluetooth module as that on the MotioFit Wireless SDK. I am running a modified version of MotionApps 5.0. I am sending quaternions, gyro, accelerometer and magnetometer data to a PC where I use the "eMPL-wSDK-test.py" script to read and display the IMU data. When I send the data at 20 Hz, I notice that it takes very long (minutes) for the python script to connect to the bluetooth module, and if it connects, the data transfer hangs after some time. My UART settings for communication between the microcontroller and bluetooth module are - 115200 bps, 8 data bits, 1 stop bit, no parity.
I am not using any blocking calls to send data to the bluetooth module from the microcontroller. There seems to be a bottleneck somewhere because when I test the MotionFit Wireless DSK with the same python script, sending quaternions, gyro, accelerometer and magnetometer data, the python script connects much faster and stays connected.
Therefore, I would like to know what UART settings are being used to communicate with the BlueRadios module on the MotionFit Wireless SDK, i.e. the baudrate etc. for communication between the MSP430F5528 and the bluetooth module.
Thank you in advance!
- Log in to post comments
phpbb Topic ID
14823
Re: Re: BlueRadios UART communication on the MotionFit Wireless
We’ve had this issue when there are multiple Bluetooth devices registered on the host PC, connecting to Matlab, where the delay is related to scanning the available Bluetooth devices. Please try to remove all other Bluetooth devices from your system, as this may solve your delay.
The uart settings for the MSP430 are defined in the MSP430_uart.c file, which if not included in your package, can be downloaded as part of the newly released 5.1 version of the MotionFit SDK.