cancel
Showing results for 
Search instead for 
Did you mean: 

SPBTLE-RF direct mode

YL
Associate II

Hello, we have developed a device based on SPBTLE-RF and stm32L452.

To certify the device we have to operate BLE modules in direct mode. If I understand correctly DT0069, hci is only on SPI and we should forward on the UART.

Are there any code examples for stm microcontrollers which forward hci interface on the UART?

Many Thanks.

2 REPLIES 2
Winfred LU
ST Employee

Hi YL,

You are correct about the HCI over SPI for SPBTLE-RF(BlueNRG-MS). It was designed like this.

Please try SPBTLE-1S instead, which is based on BlueNRG-1 SoC.

https://www.st.com/content/st_com/en/products/wireless-transceivers-mcus-and-modules/bluetooth-bluetooth-low-energy/spbtle-1s.html

Since it is a SoC, users may program it whatever they need, including HCI over UART.

Please refer to DTM project in STSW-BLUENRG1-DK (BlueNRG-1_2 DK 3.1.0\Project\BLE_Examples\DTM), and select UART configuration.

https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bluenrg1-dk.html

Thank you.

Best Regards,

Winfred

Dsaka.686
Associate

/******************** (C) COPYRIGHT 2014 STMicroelectronics ********************* File Name : bluenrg_hal_aci.h* Author : AMS - AAS* Version : V1.0.0* Date : 26-Jun-2014* Description : Header file with HCI commands for BlueNRG********************************************************************************* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

Tutuapp 9Apps Showbox