Hi all,
I want to get CC2541 mini dev kit accelerometer's raw data (x, y, z-axis value), in a way that it can be streamed and saved in a file for further analysis. I think this is useful considering its SPI interface, and might be applicable to a lot of CC2540+peripheral data saving and processing.
Is there a way to do so? Currently from what I understand the keyfob accelerometer data can only be viewed in smartphone SensorTag app or Btool, and these two methods don't allow data saving.
I studied the SensorTag app Android source code, seems like a way is to modify the Android source code. But I haven't fully understand the code yet. I've also looked at the BLE Serial App sample application: processors.wiki.ti.com/.../LPRF_BLE_SerialApp This application allows UART data stream, but still need to integrate the accelerometer's SPI interface. These two methods do not seem to be optimal solution.
How should I implement this? Is there any similar examples? Any suggestions are greatly appreciated.
Thanks,
Bo