Hi
I want to interface CC2540 USB Dongle with a micro controller and monitor accelerometer signals from keyfob. can i do that?
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.
Hi
I want to interface CC2540 USB Dongle with a micro controller and monitor accelerometer signals from keyfob. can i do that?
Hi Padmini,
Of course you can. It looks like the test pads on the USB dongle is routed to P0_5, P0_4, P0_3 and P0_2 which can be used fo SPI communication if that would be an option for you. You would however have to write the SPI drivers on both sides for the solution but there are plenty of examples on the internet.
You can read more on the SPI in the User guide found at http://www.ti.com/lit/SWRU191
The reference design for the dongle is found at http://www.ti.com/tool/cc2540usb-rd
Br
Hi Padmini,
Do you want to send accelerometer data from the Keyfob to the USB dongle and then transfer the same data from the dongle to a separate microcontroller?
If that's the case it's just a matter of configuring the USB dongle software accordingly. As Nick wrote, P0_5 - P0_2 is available on the testpads on the USB dongle. These pins can be used both for UART and SPI.
The BLE stack and relevant information can be found here: http://www.ti.com/ble-stack
The CC2540 userguide is found here: http://www.ti.com/litv/pdf/swru191c
BR,
Fredrik