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
Hi all! I developed custom board with S2-LPQTR and STM32 uc. S2-LPQTR - answer through SPI and transmite to radio channel through BALF-SPI2-02D3, but don't receive any message.I connect on SMPS2 pin external 1.8V from LDO. In all example boards internal SMPS used and all examples use this line of code:(S2-LP_DK_1.3.1) //this macro sets the SMPS switching frequency to 3.12MHz.#define S2LPCmdStrobeRx() {uint8_t tmp=0x90; S2LPSpiWriteRegisters(0x76,1,&tmp);\ FEM_Operation(FEM_RX); S2LPCmdStrobeCommand(CMD_RX);}#define S2LP_CMD_StrobeRx() {uint8_t tmp=0x90;\(en.x-cube-subg2) S2LP_ConfigRangeExt(PA_RX,S2LP_ManagementGetRang
Hi I am using Bluenrg_m2 expansion board X_Nucleo_Bluenrg2 along with the controller Stm32l476rg. Reffered example is 'SampleApp' form X_cuble_BLE2_v1.0.0.I am trying to send 160 bytes of the fixed data over BLE frequently but after sending one packet of the data I am getting Hard_fault_error exception.I tried to increase the heap size and stack size as well.Also change the HCI_MAX_PAYLOAD_SIZE from 128 to 256 (not sure, this change is needed or not)Not able to get the hard fault issue, looking for the solution on this issue.
Hey There, Firstoff : i just started using the STM32 boards and my not know everything to expect me to..Ive got two STM32L432KC boards and two SX1261 MB2 LoRa.Shields.I want to implement a direct communication between them without any Gatewayas / LoraWAN.Iam looking for a simple libary with i can include to my CubeIDE c/c++ project.Everything i found looks way to complicated (at least i think that)..i read alot about that I-Cube Lora expansion pack, but i dont think this is what i need, right?Another thing i found is the sample code on Mbed.org for the SX1261 MB2BAS shield.is that Mbed code supposed to import to a CubeIDE project? i cant compile that because some headers are missing ....annother option is so "translate" a arduino libary into c/c++ ? i dont know if that makes sence or not ..(i used that one on a arduino (also with that SX1216Mb2BAS shield : https://github.com/StuartsProjects/SX12XX-LoRa) please tell me what you would focus on .. iam trying to not waste my time:)thank yo
I want to make a usb hid keyboard stm32. it possible in addition to the 6 keys that I transmit to add another byte in which to contain a variable that can be read by the application on the computer? Ex: | 0 - Key modifier | 1 | key1 | key2 | key3 | key4 | key5 | key6 | custom byte |.And from the computer was sent to the keyboard information about lighting / (ex light level of rgb LEDs)
Greetings,I am working on a project where I am updating hardware from the SPBTLE-RF module to the BlueNRG-M2SA module. I have upgraded the module and am now looking into what I have to update on the software. Effectively, I am upgrading from BLE 4.1 to BLE 5.0. I just want to know if anyone has done this and how difficult the task is to change the library to the latest BlueNRG-2 library.
Hi,Bought the STM32 Nucleo kit w. USI Lora shield.Disappointed when I found out that the documentation wasn't that great.When using AT_Master or the End_Node example I dont find any options for retrieving the debug data.... Is the only option I have to spy on the TX/RX on the shield itself?Or is it possible to retrieve the debug messages that is already in the examples?BR,Sindre
Dear Team,I use stusb4500 and desgin this circuit,I connected type C with this circuit and measured VBus got 20V, then a few seconds later stusb4500 broke down.Anything i have lost in this circuit then made it broke down? How to fix this circuit to get 15V in VBus? Thanks in advance.
Hi everyone, I 'm on a project and sould developp a SPI communication between x-nucleo_idb05a1 and stm32F0 MCU and connect with a phone.The samples given on CubeMX are a bit complexes for what I have to do. I just want to send commands over SPI to initialize and put the ble into peripheral profile (virtual com port actually). Then after the connection with the phone, catch every single character (sent by the phone) through interruptions (like uart transmission). Once ending character is received, store the entire array in a buffer and then inform the mcu to come reading them in a non-blocking way.Do you have an easy way to do so or a simple document to read ?As for now, I appoximately understood how the sample app runs but that's not the same for virtual com port sample.Thanks.
I'm using a BlueNRG-2 Evaluation Board in network coprocessor mode with the GUI. Firmware is DTM v3.1. When trying to set up a secure paired connection, I sometimes get an event ACI_GAP_PAIRING_COMPLETE_EVENT with a Status code of 0x03. Status codes of 0,1, and 2 are valid. So what does code 3 mean? And the reason code is always zero.From experimentation, one cause is an invalid authentication configuration. But another cause appears to be an uncommon situation where the remote phone is bonded but the BlueNRG-2 does not have Bonding_Mode turned on with the ACI_GAP_SET_AUTHENTICATION_REQUIREMENTS command. So the phone thinks the device has a key from a previous connection when it really doesn't.
As far as I have understood, CS2 can be used for BlueNRG-2 acting as master and the another chip in salve mode, I can also see CS1 pin is also used for JTAG operation, does this mean CS1 can place BlueNRG-2 in slave mode for SPI communications? What about SPI_CS3?And finally how to use them?Thanks!
Hello, I want to add the wifi module to my Nucleo-F446ZE board, and for that I'm using X-Nucleo-IDW01M1.I know that the connection between the Nucleo BOARD and the WIFI module goes through UART. So, we must configure UART1 for the connection between the Nucleo board and the wifi module and then uart 2 for the connection with the PC. I looked for examples of TUTO, documentation, project carried out on other nucleo cards to get an idea on the configuration on STM32Cube and the AT commands used but I can't find anything. Is it possible to create a project and develop the wif module on STM32CUBEIDE with idw01M1? Should I use another module like ESP8266? Would someone have a track for this type of configuration, an example with another Nucleo board or anything that could help me with this problem? Thinks :)
Dear STM Team,169MHz RF channels as N2 mode cannot be used in our domestic market. So we have to move to new RF channels around 200 MHz instead of 169MHz as N2 mode. I'd like to know if it is possible to move RF channel (around 200 MHz) as N2 mode using the stack. Could you share how to move to new RF channel as N2 mode with the stack if it is possible ?ThanksSB
1) Having issue communicating with the board. After some googling, some post suggested that the firmware needs to be updated.2A) Attempted to update firmware -- From reading the document, below command was used, but it failed due to the error in red below: $ dfu-util -a 0 -D /Users/chalinlee/Downloads/MEMS_Demonstration_Kit_SW_package_v9_8_MACOSX/FIRMWARE/ProfiMEMSTool\ board/ProfiMEMSToolV3.6.36.dfu -d 0483:df11dfu-util 0.9Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Copyright 2010-2016 Tormod Volden and Stefan SchmidtThis program is Free Software and has ABSOLUTELY NO WARRANTYPlease report bugs to http://sourceforge.net/p/dfu-util/tickets/Opening DFU capable USB device...ID 0483:df11Run-time device DFU version 011aClaiming USB DFU Interface...Setting Alternate Setting #0 ...Determining device status: state = dfuERROR, status = 10dfuERROR, clearing statusDetermining device status: state = dfuIDLE, status = 0dfuIDLE, continuingDFU mode device DFU version
I want to use BlueNRG in network processor mode. I am using a custom board STM32f103, the board has a two seperate UART connection, one to BlueNRG-1 and other to PC com port.
I read 0xE8 at the MC_STATE0 register from the S2-LP. The associated state 0x74 (0xE8>>1), doesn't match with any of the possible states:typedef enum { MC_STATE_READY =0x00, /*!< READY */ MC_STATE_SLEEP_NOFIFO =0x01, /*!< SLEEP NO FIFO RETENTION */ MC_STATE_STANDBY =0x02, /*!< STANDBY */ MC_STATE_SLEEP =0x03, /*!< SLEEP */ MC_STATE_LOCKON =0x0C, /*!< LOCKON */ MC_STATE_RX =0x30, /*!< RX */ MC_STATE_LOCK_ST =0x14, /*!< LOCK_ST */ MC_STATE_TX =0x5C, /*!< TX */ MC_STATE_SYNTH_SETUP =0x50 /*!< SYNTH_SETUP */} S2LPState;
The guide says that the band plan can be changed using the Lora_SetDeviceBand() function for the AT-Master example. /************************************************************** * @brief Do a request to set the country band code for LoRaWAN * @brief Need to write to DCT and Reset module to enable this setting * @param BAND in value 0(EU-868 Band) / 1(US-Band) * @retval LoRa return code **************************************************************/ ATEerror_t Lora_SetDeviceBand(uint8_t DeviceBand);It only shows the values for EU and US bands. What value do I use to change to using AS923? The symbol USE_BAND_868 is defined in the symbols. Does changing it to USE_BAND_923 change the band plan? I cannot find use of this symbol anywhere in the AT-Master code.
Hi.I have just received my X-NUCLEO-IDB05A1, blue tooth evaluation board. I have downloaded X-CUBE-BLE1, and following ST APP note AN4642, I have downloaded the BLE Profiles application for Android, and have loaded the “SensorDemo_L476RG.bin�? and the “ProfPerip_HeartRate_L476RG.bin�? binaries for testing with my Samsung mobile. When I run the BLE Profiles app and scan for devices the app finds a BlueNTG device, and on connecting to this device, its identified as BlueNRG, and I sometimes get a message that profiles are not yet supported, but in all cases I don’t receive any data from the device. Pressing the user button on the Nucleo board has no effect. Has anyone else had the same issues? How do I get data to my phone?Thanks.
I am testing a custom board trying to use BLUENRG-1 as a coprocessor, but when I flash the chip (using Keil, Atollic or BlueNRG-1 ST-Link Utility) with ST-Link/V2 tool, with the SWD port, the chip locks and I am unable to access the chip again, regardless of the application I use.I tried flashing the DTM example project, in BlueNRG-1_2 development kit, but that is the result. Any ideas about what could be causing this issue?
In theory the Basic protocol allows sending packets up to 64kB long. But the TX FIFO has only 96 bytes. How can I send and receive bigger packets? I was looking at the P2P demo but it doesn't handle more than 96 bytes.
..
I am advertising and receive an incoming connection from an iOS App. This all works great. In my disconnect_complete call back I enable advertising again with a call to ret = aci_gap_set_advertising_enable(ENABLE, 1, Advertising_Set_Parameters); However advertising does not restart. Also found that if I do a DISABLE and ENABLE again using the above call then advertising doesnt restart
Which stack release do I need to pull this in, I am currently using V1.0.0.The issue I see, seems similar, where in I don't see the paring complete ever being called (rarely called or not returned at all).My Initiator parameters are (BLE112D)Io capability 7 (Display with Keyboard), mitm enabled, encryption key min size 7, bonding enabled.The peripheral is a bluenrg, with authentication details.ret = aci_gap_set_authentication_requirement( BONDING, MITM_PROTECTION_REQUIRED, SC_IS_SUPPORTED,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.