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 are using the STUSB4500 and we plan to use VBUS_EN_SNK in its default mode. This means that the whenever a source is attached, that power is passed on downstream. That begs the question: what's the point of using VBUS_EN_SNK and the FET it controls? Why not just connect incoming power to the downstream circuits permanently?
Hello all,I’m just getting started playing around with BlueNRG 1 & 2 devices. I’d like to be able to debug with an ST-LINK V3 not using uVision. I found a patched ST LINK gdbserver in the 3.2.1 DK download but it’s an old version that doesn’t seem to support ST LINK V3. Is there an updated version of the gdbserver available? Or, is there a way to make the current version work BlueNRG 1/2? Ultimately, I’d like to be able to call it from VS Code using cortex-debug and gcc. I am aware of the SWD debug gotchas with this device and have so far managed to get a project set up from scratch in uVision and debug it with ST LINK V3.Thanks,Andy
Greetings, I'm configuring the S2-LP to act as a receiver and then strobing the reception. Sometimes the reception works and the S2-LP goes to the RX state as seen from the first 2 bytes of status on MISO . Sometime, randomly, it goes into an unknown state of 0x14 (MC_STATE0 value is 0x29). Why does this happen?I don't know what other info is needed, please let me know and I'll answer.Regards, Prithvi
For my project, I would like to create a communication (CAN and CANOPEN) with an evaluation kit of ST and an other electronic card and a sniffer to analyse the different weft in the bus. But I'm a novice in this communication so I search an example of communication to exchange some data between my 2 objects. Do you have some idea to help me? To connect the electronic card with my computer I use a IXXAT USB-to-CAN Compact V1. After I will use a V2 because the V1 is obsolete.Thank you for your help
Hello,can you please provide reliability data (at least a FIT value) for the L6362ATR ?A document would be nice.Best regards,Markus
Dear Supporters,iam purchanging a STEVAL-BFA001V1B kit and STEVAL-IDP004V1 IO-Link master Board,now i wanted to connect my IO_Link master Board to STM32 Nucleo Board and use Nucleo Board as main Controller. is it possible for data transfer between IO Master Board and Nucleo ?, if so what are the best transfer interfaces (RS 485 or I2C). i come to know that IO master Board has a I²C, so is it possible for communicaion to Nucelo Board?.Thaning you,Nag
Hello,I have 2 b-l072z-lrwan1 working with the ping-pong application.I intend to change the example, where the board which will receive the PING will start stopped and will turn on only when a radio message is sent (in my test case, the PING).Is it possible? How should I proceed?Best regards,Flavio
I'm using stm32l476jgy6 MCU, it has 3 SPI busses, I'm using all of 3 SPI busses for different peripherals. If peripheral on SPI1 fails to communicate with MCU, will it cause any effect on other SPI busses? I've a scenario where I'm using BLUENRG-MS on SPI1, lsm6dsm and lsm303agr sensors on SPI2, external SPI flash on SPI3. all of these peripherals are not working, but when lsm303agr removed from the board, rest of the components started communicating to MCU. there is no code blockage, controller is running continuously. I'm using Sensor tile as a base hardware design, ALLMEMS as a base firmware.Need help understanding the issueThanks
I need to add application level security in my application using BLE. Where should the keys be stored so that they can be individually programmed in production and protected from readout ?Additionally, where can I find if hci_le_encrypt is hardware accelerated or not?Best regardstm
Hi.I am working on the BlueNRG-M2SP Bluetooth chip, It operates a slave and host acts as a Master. Here master is mobile app, When the chip connects to mobile app, The mobile app status shows the "CONNECTED", When any event sent to BLE module, If the BLE module doesn't send the data. The mobile app status shows "DISCONNECT". But the BLE module is still connected to Mobile app. If we connect once again it will not connect to BLE module.Please can anyone solve the above problem.
My general understanding is that the BLE standard supports characteristics with a lenght of up to 512 bytes. I'm using the BlueNRG-MS chip from STM but there the function call to add a characteristic has a uint8_t value for the length parametertBleStatus aci_gatt_add_char(uint16_t serviceHandle, uint8_t charUuidType, const uint8_t* charUuid, uint8_t charValueLen, uint8_t charProperties, uint8_t secPermissions, uint8_t gattEvtMask, uint8_t encryKeySize, uint8_t isVariable, uint16_t* charHandle);So this would allow only a maximum characteristic length of 255 bytes. According to this document the stack itself supports 2 bytes with FW 7.2 or higher. I have 7.23 so this should be fine but I cannot find any reference or example of a BlueNRG-MS middleware that would support a call withcharValueLenof typeuint16_t. I also downloaded the latest STSW-BLUENRG-DK and the examples also only supportuint8_t charValueLen.
Hello,I'm using the STM32F429ZI Discovery board to create a CAN Network.I configured both CAN1 and CAN2 and got them working correctly in loopback mode.But when I try running one or both in normal mode, I get the error code 5 in the LEC registerwhich means Bit dominant error .I've tried several baud rates and configurations but I don't seem to find the correct solution.Would you please help me debug this error?My APB1 clock is at 36MhzMy timing parameters are calculated using http://www.bittiming.can-wiki.info/ and have the following values: Prescaler = 4 SyncJumpWidth = CAN_SJW_4TQ; TimeSeg1 = CAN_BS1_15TQ; TimeSeg2 = CAN_BS2_2TQ;CAN Init functions:static void MX_CAN1_Init(void) { /* USER CODE BEGIN CAN1_Init 0 */ /* USER CODE END CAN1_Init 0 */ /* USER CODE BEGIN CAN1_Init 1 */ /* USER CODE END CAN1_Init 1 */ hcan1.Instance = CAN1; hcan1.Init.Prescaler = 4; hcan1.Init.Mode = CAN_MODE_NORMAL; hcan1.Init.SyncJumpWidth = CAN_SJW_4TQ;
Hi, S2LPRadioGetSymClkRecoverInfo code should be like this (Fast Gain are located in tmpBuffer[1] and nottmpBuffer[ 0])./*** @brief Return the clock recovery configuration* @param xSSymClkRecInit pointer to the clock recovery struct to be filled with the clock recovery settings of the chip.* @retval None.*/void S2LPRadioGetSymClkRecoverInfo(CRF_TRX_S2LP_HandleTypeDef* handle, SSymClkRecInit* xSSymClkRecInit){ uint8_t tmpBuffer[2]; S2LPSpiReadRegisters(handle, CLOCKREC1_ADDR, 2, tmpBuffer); xSSymClkRecInit->xSClkRecMode = (SClkRecMode)((tmpBuffer[0]&CLK_REC_ALGO_SEL_REGMASK)>>4); xSSymClkRecInit->cClkRecIGainSlow = tmpBuffer[0]&CLK_REC_I_GAIN_SLOW_REGMASK; xSSymClkRecInit->cClkRecPGainSlow = (tmpBuffer[0]&CLK_REC_P_GAIN_SLOW_REGMASK)>>5; xSSymClkRecInit->cClkRec16SymPostFlt = (SFunctionalState)((tmpBuffer[1]&CLK_REC_ALGO_SEL_REGMASK)>>4); xSSymClkRecInit->cClkRecIG
Hi alli am using blenrg2 m2sp chip as network mode. its operating as peripheral device and communicating with host controller through UART with 115200 baud rate .I received BLE read characteristic request , i did not response till 1 second after that i getting some junk data , after that ble got disconnected . may know the reason . here attached logic analyzer
Hi,I have a project with BlueNRG-M2SP and I want to use it in custom PCB with X-CUBE-BLE2 lib.When I add this software pack to Cube MX, it make my other spi and quadspi bus down. Also, the ble spi line seems to not work at the same way : there is no clock signal on any bus. I use Basic HCI_TL and UserBoard HCI_TL_INTERFACE with controller and utils. What's the best way to include X CUBE BLE2 in existant project without disabling the other communication buses. I have also another spi ic in the same bus as BlueNRG-M2SP but they are not supposed to work at the same time.Thanks in advance and sorry for my bad englishAxel
HI all I am using blurenrg2 m2spa blue tooth chip . Its operates as a network mode . it communicating with host controller through UART 115200 baud rate . here i configured chip as peripheral role and st ble sensor app acts as a central device , when i mobile ble adapter is disable and enable , its failing advertise and even the sensor app forcefully crashes its failing adverting. how to resolve this issue , when i do normal connect and disconnect its working fine . i used the below api , check link status aci_hal_get_link_status () after app crashing and ble mobile adapter disabled , its always give the information , its connected as slave role . can any one suggest how to solve this issue .
I´m using the STEVAL-IDB008V1M board, and the BLE_Throughput example code provided for it.I would like to increase the throughput in this example, how can that be accomplished?I have tried a lot of different things to accomplish this, but still in the aci_gatt_notification_event() I can´t get bigger packets than 20 bytes.-I have tried changing the config file to use BLE_STACK_FULL_CONFIGURATION instead of the original BLE_STACK_BASIC_CONFIGURATION.-I have tried explicitly calling the hci_le_set_data_length() function.-I have tried many other things also.I also tried using the BLE_Throughput_EXT, which should enable bigger packet size by default. But the same problem occurs there. In aci_gatt_notification_event(), the variable Attribute_Value_Length is just 20 bytes.Does anyone have any suggestions on how to accomplish higher throughput using the BLE_Throughput example?
Hello everyone i'm discovering BLE communication through STEVAL-BNC002V1.Then i want to add new characteristics with fields calculated with values from sensors. I read the documentation but i can't understand the function aci_gatt_db_add_char.I will be really happy to get help.Thank you
In order to keep track of the Time of Day I would like to implement a time tick.None of the timers run (other than the virtual timer) when the bluetooth module goes into low power mode. I would like the CPU to only wake up when there is an external event or one of the virtual timers expire. I do not want the virtual timer to wake the entire CPU just to keep incrementing a timer every second.Is there a method to determine elapsed time from the slow running oscillatorThe following does not seem to work consistently. preSleep = HAL_VTimerGetCurrentTime_sysT32(); BlueNRG_Sleep(sleepMode, WAKEUP_IO10, wakeup_level); postSleep = HAL_VTimerGetCurrentTime_sysT32(); diff = HAL_VTimerDiff_ms_sysT32(postSleep,preSleep); incTimeStamp(diff);
Hi,I have a NUCLEO- F401RE board with the X- NUCLEO-S2868A2 expansion shell and i want to test the examples, provide by ST, that the X-NUCLEO-SUBG2 folder contain.I import the border router and both of the udp's projects to see how they works (one by one of course) and in every of it i have the same errors. I do not change anything in the projects, just import and build it. Do you know what is happening?Thanks. In this image you can see the errors.
Hi,I am planning to make subGHz Border router by using Contiki border router example. For Internet, I would like to integrate the Wifi, GSM and Ethernet. I don't want to use Rpi or Beagle bone. I am planning to use STm32 and make my own IPV6 Internet router. Is there any design notes available? I am going to integrate subGHz radio to main STM32 with SPI for receiving the IpV6 UDP packets. Extract the data. Connect to internet using GSM/wifi/ethernet. prepare the Json and send it to cloud using MQTT. Is my understanding is correct?Any suggestions.
Please see the configuration in the pictures below. I did not modify any register manually.I think that as preamble and sync word are different in each mode, I should not receive anything ...
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.