How can I configure and use the CC2540 built-in SP interfaces?
Is there any sample code that makes use of the accelerometer mounted on the CC2540 mini-SDK board (via SPI)?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How can I configure and use the CC2540 built-in SP interfaces?
Is there any sample code that makes use of the accelerometer mounted on the CC2540 mini-SDK board (via SPI)?
We have our accelerometer demo connected to SPI, although this is implementation specific. Please refer to the following for more details.
25xx User Guide ( sec 7.6 peripheral I/O, and sec 20 I2c)
http://www.ti.com/litv/pdf/swru191b
The Keyfob ref design might also be useful
http://www.ti.com/litv/zip/swrr071
We have more demo code released in couple of weeks. I will check and see if I can post some of the SPI interface here shortly.
Br,
-Greg
Greg
A Hal layer of the accelerometer and a sample GATT profile would be helpful.
When do you think this could be made available ?
Christian