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, I'm SaeedRecently I designed my own PCB for Bluenrg IC for my project. It's OK when I want to connect to it and send data in small length i.e. 10 Bytes per second.But when i want to send data in 48Kbps, it disconnects from my cell phone when only about 100 of datas are sent.Any idea why it happens?
What is the use of TEST pin on BlueNRG-1? STEVAL-IDB007 has a 100K pull-down connected to it, with a jumper that allows a connection to VDD. BlueNRG-MS has it connected directly to GND.Datasheet states that it should be connected to GND, so I expect that pull-down resistor is there only to be able to use that jumper while not creating a short circuit. What happens if connected to VDD?
Dear members, reading iO-Link transceiver datasheets like for the L6362A i wonder why the Q/C pin and the DI/DO pin are capable of driving loads, i.e. like inductive loads? As far as i understand these pins always are connected to the master, never to external loads? Any hints, appnotes showing different application are welcome. Best regards, Jens
I have two KSZ8851SNL connected to an STM32H7 board.In a certain operating mode, I would like to make a 'transparent' connection (on link level) between the two interfaces, so the board with the two interfaces acts like a simple hub.So if I receive a packet on interface 1, I send it to 2, and the other way around.This works, if I connect two devices that talk to each other (talking modbus-TCP slave and master).It works partially when I connect a PC (windows 10) and a HMI device.I can use ftp and see the disk contents on the device in a windows file explorer.Then I can drag and drop files, but only if they are small, like up to 2kB, sometimes up to 7kB. Then the connection just times out.One problem with this KSZ8851 chip is that I need to flush the queue after I received (and read) data, otherwise it stops working, it's state machine locks up.But it may flush new received data, which may be the culprit here.So basically, I'm trying to make a 'transparent' connection like this:while (1)
Hello everyone. I'm working with the S2LP transceiver and the 802.15.4g packet format. I'm using the SDK coming with the x-cube-subg1 (https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-subg1.html) but I noticed that it supports only the basic and STack packet formats. Is there any example or library ready to use similar to the one existing at this expansion package? I guess I can follow the datasheet guide alongside the basic packet format config as a guideline but it would be safer/easier to use a pre-existing one.If there is an argument about using the basic (or STack) packet format instead of using the 802.15.4g, I would be happy to discuss it and consider following this road. For example, after reading the packet handler engine section I understood that 802.15.4g format mainly offers the automatic construction of the PHR and CRC (if configured to do so) fields. If that's the only ben
Hello There,This a question for those who know Firmware and Hardware well.Currently I am working IAR 7.80.2 1 months trial version.I need some help.Currently I am trying to download firmare of WIFI module through a USB serial COM port.I have SDK firmware for this wifi module.This module wifi module has...1. On-chip PA, LNA, and RF Switch2. Connection Manager for Autonomous and Fast Wi-Fi Connections3. Built-in Hardware Crypto Engines for Advanced Security4 . 16-bit Sigma-Delta ADC : Differential 2 Channels 12-bit SAR ADC : Single-Ended 4 Channels5. Supports Various Interfaces– eMMC/SD Expanded Memory– SDIO Host/Slave Function– Quad-lane SPI for External Flash Control– 2 Universal Asynchronous Receivers and Transmitters(UARTs)– Serial Peripheral Interface(SPI) Master/Slave Interface– Inter-Integrated Circuit(I2C) Master/Slave Interface– I2S for Digital Audio Streaming– Pulse-Width Modulation(PWM)– Individually Programmable, Multiplexed GPIO Pins– JTAGRight at
Hi,I run the "LwIP_HTTP_Server_Netconn_RTOS" example well on STM32746G-Discovery board. I can see webpage after type "192.168.11.1" in browser.I modified the gpio configuration in "HAL_ETH_MspInit"I modified the HSE_VALUE from 25M to 8M (my board use 8M osc)I try to burn the modified code to our board, but it cannot work and no webpage i can see in browser... i am sure my board has no hardware problem.Can someone tell any other consideration on the modification to make my board run the example?Thanks!Kevin
Dear communityWith interest I read the following thread on the topic:https://community.st.com/s/question/0D50X00009XkffySAB/spirit1-missing-irqI probably have a similar issue. My application seems to "lose" RX data sporadically. There may be a relation to the RX FIFO overflow interrupt which sporadically occurs. In the above thread, somebody explains what will happen if in the receive packet the length field is different from what actually is received. My question is, what will happen if the length field is > 96 Bytes (which is more than the RX FIFO can hold). Does the SPIRIT handle this correctly (e.g. by discarding it or generating a FIFO full interrupt), OR is there a chance that it will stay in RX mode and wait for the impossible number of Bytes to be received, and never generate a RX data ready interrupt?Thanks for your help.Lukas
hello,i work with the IDS014A4 SPIRIT1 WMbus board,i like to send a frame with the C1 mode(unidirectionel Sent).my first question is : why the Tx frame preparation is limited with12 bytes ?my programme can not sendall the data only when i replace :SpiritSpiWriteLinearFifo(12, PhyTxFrame.DataBuff);with SpiritSpiWriteLinearFifo(PhyTxFrame.length, PhyTxFrame.DataBuff);did I make the right change ?if not what is the proper solution?if not, my code does not pass by this condition: else if (irqStatus.IRQ_TX_FIFO_ALMOST_EMPTY)Best Regards.
I want to use an S2-LP based nucleo shield to communicate in FSK with a 433MHz device.I bought the X-NUCLEO-S2868A1 and then noticed that the shield seems tunes only for 868MHz.I do not seem to find on the ST website a reference for a corresponding board tuned for 433MHz. Is there a reason ?I can see the eval kit STEVAL-FKI433V2 that seems to contain a shield tuned for 433MHz but the shield itself does not seem to be available anywhere (no actual reference)
We are running up to 10 temperature sensors which are connected to PC with RS-485 via daisy chain topology. These sensors are placed across the line of sight.Now I am planning to replace RS-485 connection with wireless one while increasing the operating distance up to 2-3 km between the PC and the last sensor in the chain. The PC should collect results in real time every 1-2 seconds (the sensor's result consists of 3 bytes). Measurement results should be available in real time, i.e. received directly.Is it possible to use LoRaWAN for this application? Can you help with a starter kit and sample code, e.g. for longest connection: PC < 2-3km distance > sensor node (the last one in a future chain)?NOTE: This question and answer originated from a customer support case which was handled by us. We regularly review support cases and add any helpful ones here for all to benefit from.
Hi,I have the following issue with the cubeMX code generator (v. 5.1.0) with X-CUBE-BLE1 (v. 4.3.0) middleware:Using the Nucleoboard (STM32F401RE) with the X-Nucleo-IDB05A1 , I can easily generate a working nucleo BLE application code. In the CubeMx I have the following setup for the BLE Middleware: Controller checkHCI_TL basicHCI_TL_INTERFACE UserBoardUtils checkApplication SensorDemo following the STMicroelectronics.X-CUBE-BLE1_GettingStarted.pdf availlable at the X-cube BLE pack install folder ...\X-CUBE-BLE1\4.3.0\Documentation.In this example code, I can nicely include my own header files in the app_x-cube-ble1.c file. Because it contains the /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ environment. This way I was able to easily modify the application to my needs.However, If I just use the setup without the application SensorDemo and now generate the code with the CubeMx, the app_x-cube-ble1.c does not contain the /* USER CODE BEGIN Includes */ /* USER CODE END Incl
Hi AllIm relatively new to smart cards. Im wondering what is the purpose of using a Smart card interface IC such as the st8024 other than voltage adjustments? Would it not be easier to interface direct if the the intended smart card is a class B? 3V?
I am adding the SPIRIT1 to legacy products that already have a specified MCU. I have the purchased the full STEVAL-IKR002V3 Eval Kit and two additional daughter boards. My MCU is able to read/write to the SPIRIT1 registers, but I cannot figure out how to get the device to actually transmit. I believe everything is configured correctly (by duplicating the register map from the GUI). When I watch the SPI communication from the eval MCU to the daughterboard, it appears that the mask registers are constantly being read and then written to.Can someone please provide a set of example commands for transmission? The datasheet is quite vague, and does not offer any examples. Can someone provide the code used in the eval kit? I do not want to purchase IAR or any other tool. I simply want to view the file and duplicate the portion I need in my IDE.Any help is appreciated.
I'm trying to understand how I can use a USB Type-C connector together with the STM32MP1 USB OTG peripheral.So obviously I want to use the port in dual role configuration. I want to use the STUSB1600 for that because it takes care of the power source/sink control for me. But I do wonder how should I connect the OTG_ID pin (if at all) in the STM32MP1, should it be to the ATTACH pin of the STUSB1600? The eval and DK only use the micro connectors for OTG.I have found AN4775 and figure 9 (attached) explains how to use Type-C with OTG, but I'm not sure if that applies with the STUSB1600 because it takes care of the CC pins for me.So if someone could please help with figuring out dual role with Type-C connector, please.
Hi,In the STW81200 it is written that the second VCO output can be set to work in-phase or in quadrature to the primary one. In the control registers I can not find a field that is responsible for that option. How should I configure the IC to have second VCO output working in quadrature in respect to primary one?Thank you in advance and best regards,Krzysztof
I want to rebuild the DTM application to run with a 16 MHz crystal. The DTM project used to be included in the 3.0 DK but it is not in the 3.1 DK. How do I get the project code?
Hello,I am looking to prototype a project. I will need I2C, SPI and UART. I2C for some ST sensors/gas gauge, SPI for sd card and UART for RS485. Is it possible to use SPBTLE-1S, to run both host applications and bluetooth. Thanks for your help
I'm trying to get the discovery board to play a wav file that I've converted to an array of 16b hex values. So far, I have only been able to output an obnoxious noise. I have tried keeping the registered in the CS43L22 all at default.I have tried configuring the beep to ensure that the uC is talking properly but the beep isn't working either. Does anyone have any experience getting this working with the new HAL libs and where I might have gone wrong?Sample command to enable the CS43L22. Do I have the address and data in the right order for the HAL_I2C_Master_Transmit function? audioControl [0] = 0x02; audioControl [1] = 0x9E; if(HAL_I2C_Master_Transmit(&hi2c1,0x94,audioControl,2,50) != HAL_OK) { HAL_GPIO_WritePin(GPIOD, LD5_Pin, GPIO_PIN_SET); }I2C Config hi2c1.Instance = I2C1; hi2c1.Init.ClockSpeed = 100000; hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2; hi2c1.Init.OwnAddress1 = 0; hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; hi2c1.Init.DualAddressMode = I2C_DUALADDRES
Dear I want to update the NVM memory on the STUSB4500. May I know the procedure of this, I download the STUSB003 SW lib. it not showing how to write NVM. My guessupdate the register call function void nvm_flash(uint8_t Port)reset Am I right?? also what is the meaning inside STUSB_NVM.h Vic
I need this in order to build an interface with this controller in my product.
FP-NET-6LPWIFI1 The wifi-bridge application is being changed to the S2LP Module. SubGHz_radio_driver.on (); Forever run..Any suggestions?
Hello,I am using the first generation STEVAL-STLKT01V1, I have complied and downloaded the BLE_SampleApp onto the board. I cannot connect to the board using the app.Below are the debug output from the consolSTMicroelectronics STLBLE1: Version 2.0.0 SensorTileOK Temperature Sensor2OK Pressure SensorEnabled Temperature Sensor2Enabled Pressure Sensor (HAL 1.8.2_0) Compiled Mar GATT_Init failed
Is there available older version of X-CUBE-SUBG1 package? Where can i download it?Last version (en.x-cube-subg1_firmware3.1.0 and en.x-cube-subg1_firmware3.0.0) have some problems. I want to read data from WM-Bus meter using T2 mode in "OTHER" mode.I run example using SPIRIT1 extension board and Nucleo L152RE and it don't work, after i slow down SPI (to 100kHz CLK) i can read data from some wireless meter, i got 3 meters from the same manufacturer and i can read data only from one. Also there is strong dependency of software optimalization on some cases it work on some cases not.There is version:binary 2.4.2: libSPIRIT1_wMBus_Library242_CM3_SW4.aother files 2.4.2 | 2.4.3 | 2.5In X-CUBE-SUBG1 firmware packet there is many types of library compiled binary files (IAR KEIL on different cortex core)When i use sample program (precompiled hex for nucleo) from :STSW-CONNECT009Wireless M-Bus collector work fine (with 4MHz CLK on SPI). Also when i compile included example in IAR. It work fine he
How and Why to migrate from any power plug or DC Barrel to USB type-C?Learn more by reading the below answers
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.