Short answer: yes.
Long answer: you need a SPI master in your BLE module code. Look at its documentation for how to use it. Then you need a custom BLE service, which exposes the data you want to transfer. Then its data can be seen by the dongle (and maybe you want to use BLE notifications to regularly send new data to the dongle)
Please refer our example BLE - SPI Bridge project along with the documentation.
- Madhu Sudhan
Thank you Hli, I am following this link regarding SPI_Master, but I didn't find SPI_Master in Component Catalog.
Yes Sudhan, I have modified your given project as our application, but still unable to write date to BLE dongle...
The PSoC BLE module can use only the SCB SPI component, which can be put into master mode.
Trying to use Day 048 instructions:
Code builds and programs, OK, but what does this mean:
Connect the SPI lines of the SPI master to that of the PSoC 4 BLE / PRoC BLE?
I have PSoC plugged into Pioneer Board, nothing else. Is that all that's needed?
I see BLE-SPI in Supported Targets, connect, scan, see it in the Device list, then it times out, why? See attached error.
Where are the bytes that go to/from BLE? How are they generated in SPI? Is anything missing in this project to make it work?
BLE_SPI_timeout.docx 187.8 K