cancel
Showing results for 
Search instead for 
Did you mean: 

About B-L4S5I-IOT01A BLE

KHosh.1
Associate II

Dear Sir

・I want to use BLE with B-L4S5I-IOT01A.(FreeROTS)

・However, "UM2178" and "Table 1. FreeRTOS ™ porting abstractions" say "not available".

​B-L4S5I-IOT01A cannot use BLE?

Can I use BLE if I create a project with CubeIDE and implement "STM32_BlueNRG1"?

Regards​

1 ACCEPTED SOLUTION

Accepted Solutions
KHosh.1
Associate II

Dear sir

solved.

I set the attached image.

I confirmed that BLE works with B-L4S5I-IOT01A.

Thank you for the information.

Regard.​

View solution in original post

6 REPLIES 6
ChahinezC
Lead

Hello @KHosh.1​,  

Welcome to STM32 community :smiling_face_with_smiling_eyes:.

The UM2178 is a getting started with the X-CUBE-AWS package that concerns the Amazon Web Services, Internet of Things Cores.

If you are interested in the Bluetooth low energy devices and you want to use BLE for B-L4S5I-IOT01A, I recommend you checking the X-CUBE-BLE1 package (UM1873).

You can generate a project using STM32CubeMX, choose B-L4S5I-IOT01A as a board and add the STMicroelectronis X-CUBE-BL1 pack from "Software packs -> Select components" and choose the appropriate packs to add for your application.

Please mark my answer as best by clicking on the "Select as Best" button if it fully answered your question. This will help other users find this solution more quickly.

Chahinez.

KHosh.1
Associate II

Env

CubeIDE:1.7.0

X-Cube-BLE1:6.2.1

Thank you for reply.

・I made a project in the above environment.

・The following was enabled from "Software Packs"-> "Select Components".

・Wireless BlueNRG-MS

 ・BlueNRG-MS/Controller:selected

 ・BlueNRG-MS/HCI_TL:Basic

 ・BlueNRG-MS/HCI_TL_INTERFACE:Template

 ・BlueNRG-MS/Uti:selected

・Device BLE1_Applications

  ・Application:SampleApp

・Push 「Project�?→「Generate Code�?

However, the sample code was not automatically generated.

I want to automatically generate sample code and Build-> Debug (use B-L4S5I-IOT01A).

Please tell me how to import 「SampleApp�?.

​Regard

KHosh.1
Associate II

Dear Sir

I did the following:

And confirmed that the example source code is automatically generated.

・Software Packs→Software Packs→X-CUBE=BLE1

・Mode→Wireless BlueNRG-MS⇒Enable

 ・Device BLE1 Applications⇒Enable

And I debugged using B-L4S5I-IOT01A. 

I can't get FW / HWVersion.

・Other boards seem to need to update the FW with flashUpdater.

 ⇒・Does B-L4S5I-IOT01A also need FW Update?

  ・If so, do I need to use flashUpdater Version 2.1.0?

Regards.​

KHosh.1
Associate II

Dear Sir

Additional information

>・Does B-L4S5I-IOT01A also need FW Update?

hci_send_req was timing out.

  I'm not using flashUpdater. Is it related?

Regard.​

KHosh.1
Associate II

Dear Sir

>hci_send_req was timing out.

⇒It just didn't generate the source correctly. (hci_ti_interface.c was not implemented)

 I configured it like the attached image.

 When communicating with SPBTLE-RF module using SPI3 with B-L4S5I-IOT01A, is this image correct?

Regard.​

 ​

KHosh.1
Associate II

Dear sir

solved.

I set the attached image.

I confirmed that BLE works with B-L4S5I-IOT01A.

Thank you for the information.

Regard.​