cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-BLE1 on a STM32L072CZYx

MBour.2
Associate II

Hello,

I am currently working on a project using a STM32L072CZYx MCU on a B-L072Z-LRWAN1 cardboard. I soldered a Bluetooth SPBTLE-RF component onto the board in order to use the X-CUBE-BLE1 software with my STM32L072CZYx MCU.

So for my project, I have BLE tags that emit a signal and I want to receive this signal into my Bluetooth SPBTLE-RF component that is linked to my MCU with a SPI link and I have several questions regarding that :

  • How do I know when my SPBTLE-RF detects a packet ?
  • How do I send this packet to my MCU using the SPI link ?

I've tried to start from the SensorDemo_BLESensor-App code but I do not know which functions to call in order to receive my signal and send it to my MCU. Also, I've checked the STM32WB Bluetooth® Low Energy (BLE) wireless interface - Application note pdf file and there are several functions regarding HCI commands, but I do not understand how to use them, what to import and how does it work exactly ?

Thanks in advance for your help and sorry if I'm not very clear, if anything is not clear please let me know.

0 REPLIES 0