2019-07-12 04:58 AM
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.
2019-07-18 07:11 PM
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.
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.
Thank you.
Best Regards,
Winfred
2019-10-31 02:58 PM
/******************** (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.