WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on connectivity ICs, focusing on protocols and I2C challenges on STM32 Nucleo boards and BlueNRG products.
Most recent activity
We've been using the S2LP in several designs, and we are happy with it. I'm working on a new PCB. However, since two days, I'm stuck with bug I have no more ideas how to debug it.I can read the registers successfully, but whenever I try to modify one of them, the value is not updated.I've made captures with our logic analyzer and everything seems perfectly normal. The logic analyzer capture is attached. It can be opened with this free software : https://www.ikalogic.com/scanastudio/I have 4 boards and all of them have the same problem...Here is my test :s2lp: Found S2LP! s2lp: chip version = 193 s2lp: status = XO_ON = 1 TX_FIFO_FULL = 0 RX_FIFO_EMPTY = 1 RCCAL_OK = 1 MC_STATE = READY ERROR_LOCK = 0 ANT_SELECT = 0 s2lp: writing 0x37 into 0x75 reg s2lp: Reading reg 0x75 = 0x17I try to write 0x37 in 0x75 register, but then I read back 0x17 (the default value). I've tested all sort of things, but no matter what I do, I can't write the registers.What can prevent the S2LP registers to be wri
We uploaded the BlueNRG-2 chat example code to our custom board.We got the expected output in the terminal window .But the Bluetooth is not available in any Bluetooth app.I'm attaching the screenshot of the output obtained from serial terminal.Could you please check it and let me know why BlueNRG-2 is not discoverable. We are using 32 MHZ external High speed crystal and low speed internal ring oscillator.We are using the following componentsANTENNA : 2450AT07A0100TBALUN : BALF-NRG-01D3
Hi everyone !I heard that it's possible to activate acknowledge on BlueNRG-2. Cause i'm sending a message which is acknowledge cause i get a status callback with another board from another constructor but i don't know which function send an acknowledge message and which give a status callback to notice that the message is received. If you could help me on this, it will help me a lot !Thanks
Hi,I want to conenct the BLUENRG-M2SA to a Raspberry Pi. This needs to be done through the USB connector.Can I use a USB-to-UART IC to connect to the UART pins of the BLUENRG-M2SA and then flash the software using this?Also, do I need to connect the reset pin to the Raspberry Pi, when I flash the software.Thanks.
Looking for solar charger IC with following specs...1.Input voltage of IC - min -5v and max -22v2.Charging current - min 800mA3.IC output voltage - 4.2V4.Should be configured with MPPT technique.
- The .bin sample is from https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-HeartRate/- The (iPhone) IOS Software version is 13.5.1, while the iPAD IOS Software version is 13.3-The timeout time capture around 10s from 'connect' click till 'timedout' notification pop-upHow can this be fixed?
I want to discover the peripheral devices with BlueNRG-2 central role.The initializing function set up the public address with ac_write_config_data and than initialize the Gatt layer with aci_gatt_init function. Finally I call gap_init with the following parameters: (GAP_CENTRAL_ROLE|GAP_PERIPHERAL_ROLE (0x04|0x01), PRIVACY_DISABLED (0x00) and device name characteristic length: 0x07. All aci functions returns BLE_STATUS_SUCCESS (indicating the initialization was successful) but as soon as I start general discovery procedure with aci_start_general_discovery_proc it always returns (0x82) error.Can anybody suggest a solution to this problem?Regards,
I would like to discover and connect peripheral devices with Bluenrg-ms central role. My initializing function set up public address with ac_write_config_data and than init gatt layer with gatt_init function. Finally i call gap_init with the following parameters: GAP_CENTRAL_ROLE (0x04), privacy enabled: 0x00 and device name characteristic length: 0x07. All aci functions returns BLE_STATUS_SUCCESS (so it seems the initialization was successful) but when i try to start general discovery procedure with aci_start_general_discovery_proc it always returns COMMAND DISALLOWED error. Could anybody suggest a solution to this problem?
I created new project with 32L152Discovery and additional Software STM X-CUBE-BLE1 5.0.0;After build I have a error "undefined reference to MX_BlueNRG_MS_init and Process.But in my project there are all files.
Hi community !I tested BlueNRG-2 generic ON/OFF model with other type of card with Mesh compatibility with which i can send what i want. When i'm sending a 2 bytes message like 01-00, DL3 (LED 3) switch ON which is normal. When the message is 2, 3 or 4 bytes long it still work, but when it's an 1 or more than 4 bytes long the card seems to no longer working. So i use breakpoint on the code to see where the income data is stopped.In generic.c file, the data go through "GenericModelServer_ProcessMessageCb" when it's a 2,3 or 4 bytes and is stopped before when it's a longer one. But i don't see when this function is called... So is there a way to let longer message going through this ?SincerelyGF
I want to read from a Host module which is transmitting data using CP2104 chip. I have STM32F429 MCU, and I need to read data from that application using my MCU instead of VCP on my PC . I have not received any data by Configuring the MCU as UART (UART DMA, and Inter UART). I connected pins (Tx and Rx) on the board to the Plus V and Minus V of the application module and I tried all other possible ways regarding connecting the cables.Please Let me know if there is another way to use MCU as CP2104 host ?
Hi,I'm trying to use the ST33 Arm-based TPM connected to a Raspberry Pi 3 (STPM4RasPi) but there is an error on the initialization of the TPM. I have a kernel NULL pointer dereference which prevents the TPM to start. I used this documentation https://www.st.com/resource/en/data_brief/stpm4raspi.pdf to make it work by using I2C.The problem comes from linux/drivers/char/tpm/st33zp24/i2c.c where the st33zp24_i2c_of_request_resources() function is called during the probe.The NULL pointer "chip" is set beginning and returned by i2c_get_clientdata() function and then called which produces the error.static int st33zp24_i2c_of_request_resources(struct i2c_client *client) { struct tpm_chip *chip = i2c_get_clientdata(client); struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); . . . }My dmesg:[ 3.893762] i2c /dev entries driver [ 4.360828] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 4.480421] systemd-journald[92]: Received request to flush runtime journal from PID 1 [ 5.1
We designed a board using BlueNRG-2 and we uploaded the GPIO demo code available in BlueNRG-2 navigator (to toggle DIO14) to the board using the BlueNRG-ST- Link utility. The board didn't detected with high Frequency(.9MHz-4Mhz) so we changed the SWD frequency into 480Khz. Then board connected and programmed successfully. But code didn't work. could you please check on this issue and please update what we can do in order to work our board.Please find the attached Schematics and the demo code for reference. Please consider and respond as soon as possible
Hi,I'm going to use SPBTLE-1s for comunication between PC and uController over bluetooth (SPI->SPBTLE) in a new project.Is it possible using SPBTLE-1S without programming (buy and mount it) or is it necessary to program it before ? Do I need to have any hardware to program it ?Thanks a lot.
..
I am need to change the authentication requirements on the fly based on who is connecting to the device.
SCL mode is Fast Mode but i.e whoes speed is 400KHz. but when i see in logic analyzer its shows 350-360KHz. Why its fluctute .
I am trying to find out how to set up this as a master processor. I am trying to find out how to program it. Is an Stlink/V2 acceptable to flash it. I am not seeing a pinout on BLUENRG-M2SA for SWDIO and SWCLK. It is not supported by Cubemx and I am confused on to how code it. I only need three gpio and a I2C bus.
Hi guys,I need to add the Device Information (0x180A) service in the advertising phase.I tried to do that in aci_gap_set_discoverable function, but ever fails with error 0x42 (invalid parameter). Whitout service uuid list, works ok.So, I tried with aci_gap_update_adv_data after aci_gap_set_discoverable (without uuidservicelist) but fails too.The 0x180A service with manuf name string and serial number string characteristics has been defined right. I did check that with my smartphone running "BLE Scanner" app, and the service and their characteristics are ok.Below, the 1st try code:uint8_t advert_serv_list[]={AD_TYPE_16_BIT_SERV_UUID, 0x0A, 0x18}; ret = aci_gap_set_discoverable(ADV_IND, ADV_INT_MIN, ADV_INT_MAX, PUBLIC_ADDR, NO_WHITE_LIST_USE, sizeof(LOCAL_NAME), (uint8_t*)&LOCAL_NAME, sizeof(advert_serv_list), advert_serv_list, 8, 28);2nd try code:ret = aci_gap_set_discoverable(ADV_IND, ADV_INT_MIN, ADV_INT_MAX, PUBLIC_ADDR, NO_WHITE_LIST_USE, sizeof(LOCAL_NAME), (uint8_t*)&a
I am working on a project using the I-Cube-LRWAN software package, precisely the AT_SLAVE project form the b-l072z-lrwan1. I want to upload the AT_SLAVE project on a L0 MCU interfacing the cmwx1zzabz-091 LoRa module. Then I have an other MCU (L4 MCU) to communicate to the L0 MCU(related to cmwx1zzabz-091) via an USART1 sending some AT Commands. The problem is that the AT_Slave project is using the LPUART, but I want to switch it to the USART1 to ensure the communication between the L4 and the L0. How can I change the code, so the Communication Will be over the USART1?
i am working on a stm32f746 board and i am using a hc-05 bluetooth module. i didn't know how to receive the image file and store it in the sd card. any help please ?
Please supply below component data, my will to verify design circuit and to meet IEC 61508 required,The FIT data for MTTF or MTBF report.Component list to below description:TS391ILT
Hello all,I have currently set up a BlueNRG-1 as a passive scanner for a few Eddystone beacons. When acquiring the RSSI data from the beacon's received advertising packet using HCI_Read_RSSI, we are often (70% time) reading the decimal value "127".According to UM1755, Table 115, this indicates a "RSSI not available" occurence. What could be causing the measure to become unavailable? Is the availability related to the received singal strength?Thanks in advance,GSLM
Hi Sir/MadamWhile opening lightning demo application with IAR, in the target option->general option->library low level interface implementation->stdout\stderr is disabled. Why it is disabled?How to enable the stdout\stderr option(via semihosting)? How can we print message in IAR terminal i/o using semi hosting? what are the things need to done to enable ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.