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
I am trying to get 12V at the output of STKNX buck converter, but I am not getting it and the STKNX dead.The RFB1 that I am using is 33K Ohm and the RFB2 is 3k Ohm, with these resistors the Vout would be 1 + 33k/3k = 12V. The maximum value of this voltage, that I got, was 9.46V while I was using RFB2 as 3.9k Ohm and if I use 3.24K (Vout = 1 + 33k/3.24k = 11.18V) the STKNX dead.Does anyone know where the problem would be? I saw in the datasheet that the STKNX buck output could be up to 12V. Do the resistors have any limit value?
Background: I have implemented an IO-Link communication slave device using IO-Link PHY chips such as L6362. After multiple rounds of object-oriented code organization。The MCU resource driver, IO Link slave protocol stack, and PHY chip were abstracted into three independent modules. Afterwards, interface files will be used for function interface docking to achieve rapid deployment and application of IO-Link slave protocol stack on any MCU platform. Stage goal 1: After completing the functional planning of the slave protocol stack, I started writing the upper computer using. NET. At present, the upper computer has implemented functions such as IO-Link program download, IODD selection and parsing, menu parsing, ISDU interaction item parsing and control automatic generation, IODD to C language translation interface file generation, IO Link multi platform slave station protocol stack code download, etc. (You can view
Hello, I am a beginner trying to make a project with stm32 nucleo l452re and s2lp on steval fki868v2. I downloaded the s2lp library which has a drivers folder (with subfolders BSP,S2LP Library, MCU, S2LP_Middleware,Utils). When I add this to the stm32cube Ide project under drivers and give include paths in project properties and then try to use some functions of the library, or replicate basicgeneric.c example, I get a cascade of compiler errors.Pls help me out. A sample project link as to how all the folders are to be included without errors in compilation and what paths to give to compiler would be extremely helpful.
I'm trying to follow the test procedure for BlueNRG-MS (SPI) indicated in the Bringing up the BlueNRG and BlueNRG-MS devices - Application note (AN4494).I am using custom board (Microchip dsPIC33F) to talk to BlueNR-M0A.SPI Setting: 625K baud rate, SPII mode 0.Following the Test procedure on Page 5, I got correct packet from BlueNRG-M0A:Step 4: I received [02,7F,00,00,00]Step 6: I received [02,7F,00,06,00]However, on Step 7, I always received [FF, FF, FF, FF, FF, FF]. Note: I sent CTRL byte 0x0B, followed by 4 dummy byte 0x00. I have checked codes again and again, have no idea where to look at.Please help with this issue, and point out a direction.Thanks.Leo
Hello, I am experiencing issues with my STEVAL-IDP004V2 evaluation board. When I connect the device to my computer, it is not recognized properly. Attempted to update the USB drivers through device manager, used different USB ports and cables. Where can I download teh drivers? If there are any firmware updates or specific procedures for the STEVAL-IDP004V2 that I might have missed, please let me know. Thank you for your help
Hello to STM community, I am sharing my problem with you regarding STEVAL-IHP005V1 evaluation kit. My setup: I am using STEVAL-IHP005V1 power line communication evaluation kit. There is a windows based GUI software provided from ST's side to communicate with this kit via RS-232 protocol. For powering this device there are two option 12V and 3.3V. I am powering up this device by providing 3.3V from USB-TTL module. Till now GUI and kit are successfully communicating with each other. I am able to set/get various parameters to a kit. Both kit's are connected to 220V to 240V AC with 50Hz frequency power lines, via their Neutral and Live terminals. Actual problem: My problem here is that i want to send data from one module to another module through power lines. I have connected kit's Live and Neutral terminals to power lines. Broadcasting data using GUI and expecting another module to receive it and printed in GUI.I have kept open two windows and both are separately co
Posted on June 19, 2017 at 15:42Hi all,I have 2 different boards for an application i'm developing, i managed to make bluenrg-ms work on one ! but in the other board i send the header and i receive the response 0x02 SPI ready and the size of write buffer and read buffer, but after that all data answered by the module is 0xFF.So i tried to get the module that was working to the board that was not working, and the result is that now the 2 modules are doing the same behaviour, responding correctly to the header but always sending 0xFF as response, so application never gets the command complete, my question is if it can be a hardware problem maybe i crash the 2 modules. If anyone on ST knows this behaviour would be nice to have an answer!
I am reading the "dm00294449-bluenrg-1-bluenrg-2-ble-stack-v2-x-programming-guidelines-stmicroelectronics.pdf " and created the coding accordingly. The recommended coding void bluenrg_process(void){ tBleStatus ret; //uint8_t local_name[] = {AD_TYPE_COMPLETE_LOCAL_NAME,'B','L','E','-','G','U','P'};//const char local_name[] = {AD_TYPE_COMPLETE_LOCAL_NAME,'B','L','E','-','G','-','U','P'};const char local_name[]={AD_TYPE_COMPLETE_LOCAL_NAME,'B','l','u','e','N','R','G','1','T','e','s',' t'}; /* Set device in General discovereable mode *//** tBleStatus aci_gap_set_discoverable(uint8_t Advertising_Type, uint16_t Advertising_Interval_Min, uint16_t Advertising_Interval_Max, &nbs
Hi,I am testing the STEVAL-BFA001V2B development kit to evaluate the use of the IOLink protocol. Using the native project provided in the software package for the STide development environment, the device connects to the master and works correctly. The example firmware has a PDIN_DATA = 32byte and PDOUT_DATA = 0byte. This parameters are passed to the "iold_api_create_dpp1" function which takes care of writing them to Page1 of the DirectParams. In particulare, using 32bytes in PDIN_DATA write the number 159(dec) in the DirectParams with index 5 (see Figure B.5 – ProcessDataIn) We would need to try the case with PDIN_DATA= 16byte and PDOUT_DATA = 0byte. To do this, I changed #define PDIN_LEN to 16 but this doesn't work because in the parameter with index 5 I should find 143(dec), but instead I continue to read 159(dec). It seems that the "iold_api_create_dpp1" function uses default data (PDIN_DATA=32) ignoring the parameter supplied to it as input. I also tried to write and then rea
Hi, Im interfacing STW81200 with SPI without no success. I do have the following questions:What the SPI mode? Its not clear on the datasheet. It seems that CPOL = 1, and CPHA = 1.In either way, I have tested the communication with several modes and none of them works.On the MCU side, which is the one that will act as a master on spi, whats the configuration for the GPIO pin? Im using STM32L412 and I have set the MISO as an alternate function with push pull open drain and this does not work either.I can confirm that the SPI signal for SCLK and MOSI its working because the data is being pushed out of the pins. Please see the logic analyzer graphs, but MOSI line is not responding.Im following the datasheet section Example of register programming, its required when programming in SPI to have enabled a reference clock or this can be absent? Also, when the MCU is configuring for spi, it clear HW_PD, PD_RF_1 pins.
ST BLE Sensor 5.2.4 is closed once "Blue Voice Full Duplex" is selected. Below error message shown.
The IO-Link Master (multiport-hub) M12 port on the STEVAL-IDP004V2, has threads on the outside and is female on the inside.The M12 on the STEVAL-IDP003V1 has threads on the outside, and pins on the inside. Both are 4 or 5 pin compatible. I need cable with a collar on the outside at both ends to go around the threads, and on the inside, male at one end and female at the other to connect the kits. I can't find an assembled cable to connect the two because cables labelled M12-male have threads on the outside and pins on the inside and the M12-female has a collar on the outside and holes on the inside.What part number is needed to connect the two boards together? A 1 metre length cable would suffice.Thank you,-James
Hi,I'm beginner in USB-C and USB_PD some things are not clear for me.We developing a device which is a USB SLAVE Device - not HOST (Virtual comport device - datalogging to a notebook)This device has a large battery, so we want to charge the notebook from this device. We want to keep things simple and use the STUSB4700 to enable up to 100W charging power.Can the device supply charge power and still work as USB slave device?Can the attached circuit work?RegardsFalko PS Forum Software:> The following labels are not available here: USB-PDWhy can't i use label "USB-PD" ? Othe people was using it?
Hi, We try to use STPM34 to measure DC power besides measuring AC power. We had to disable the HPFs of V1,V2/C1,C2 on the EVALSTPM34 board by sending {0x00, 0x01, 0x18, 0x04, 0x88} and {0x02, 0x03, 0x18, 0x24, 0x92} to STPM34 through SPI. When we read Row 0 and Row 1 back, we have {0x04, 0x18, 0x00, 0xA0} and {0x24, 0x18, 0x00, 0xA0} respectively as expected. Without inputting any voltage/current, we sent {0x30, 0xFF, 0xFF, 0xFF} and {0xFF, 0xFf, 0xFF, 0xFF} to STPM34 through SPI to read ROW 24 (0x30) (Similarly to read ROW 25- 31 - 0x32 - 0x3E). We expect the non-zero DC offsets read out according to your data sheets. However, all zero's were read out in each ROW. Could you explain why and advise us the problem and how to fix? We should read out the non-zero numbers. Please see the read outputs below. Othe
Hi, We try to use STPM34 to measure DC V and I inputs besides measuring AC. The HPFs of V1,V2/C1,C2 on the EVALSTPM34 board were disabled by sending {0x00, 0x01, 0x18, 0x04, 0x88} and {0x02, 0x03, 0x18, 0x24, 0x92} to STPM34 through SPI. When we read Row 0 and Row 1 back, we have {0x04, 0x18, 0x00, 0xA0} and {0x24, 0x18, 0x00, 0xA0} respectively as expected. Without inputting any voltage/current, we sent {0x30, 0xFF, 0xFF, 0xFF} and {0xFF, 0xFf, 0xFF, 0xFF} to o STPM34 through SPI to read ROW 24 (Similarly to read ROW 25- 31). However, all zero's were read out in each ROW. We expect the non-zero DC offsets read out according to your data sheets. Could you explain why and advise us what the problem is and how to fix? We should read out the non-zero numbers. Other question: How stable the DC offset of each channel is in real time? What is th
Background:Our project utilized ST's IMU sensor LIS3DH, and according to business requirements, we used click interrupt and initial interrupt respectivelyThe sampling frequency is 10HzWe set the duration of the Initial interrupt to 120 to generate an interrupt every 12 secondsWe have also enabled internal high pass filter modeProblem:Through the above configuration, both interrupts can be responded to separately.But when the click interrupt occurs, we want to read the acceleration of the XYZ axis of the IMU sensor. Once I do this, the Inertial interrupt will no longer occur, giving me the feeling that the internal counter is reset every time when the acceleration value is read. Can this problem be avoided? The configuration of the sensor is as follows: (address : 0x00- 0x0F) 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 33 |........ .......3 (address : 0x10- 0x1F) 0f 86 6f 21 a0 22 20 27 1b a8 70 73 c0 00 90 00 |..o!." ' ..ps.... (address : 0x20- 0x2F) 27 05 40 00 0a 82
Posted on May 14, 2014 at 19:25Hi, My Interesting is the next, how can I use Spirit1 Auto retransmission and auto ack abilities in half duplex communication. My coordinator is supplied with main power, but nodes are powered by alkaline batteries. They are mostly in sleep, but when they waked up, they wanted to exchange datas with their coordinator. I wanted aknowledged communication in both directions. I can do it, but I'd like to use STack features, it it possible. St's application example is focused on single transmitter paired with a receiver. would You attach an sample code for half duplex communication? I'm interested in a half duplex peer to peer communication. Thanks in advance Laszlo #steval-ikr002v3 #spirit1 #radioinit
Hi everyone,I've recently using the BLUENRG-LPS chip for transmitting and receiving data, and I need to store the data from the chip directly into the SD card. Does the BLUENRG-LPS have the SD card driver?I found the STML4xx SD card driver in the BlueNRG-LP_LPS DK, which means the BLUENRG chip needs to work in coprocessor mode, but I haven't found the driver directly for BLUNRG-LPS. Is there a way that I can write the data into the SD card from the BLUENRG-LPS chip directly?Thanks very much!
I currently have a BLUENRG-M2SP connected via SWD to my STLink-V3PWR.The issue is while my flasher can connect to the device it then cannot read the bootloader sector or flash the address memory.Here is the log:16:34:35.247: Waiting device to read bootloader (device connected by ST-Link) ->Device Connected16:34:35.437: Device Identification -> BlueNRG-216:34:35.620: Read Bootloader Sector -> FAILED16:34:36.038: Device Disconnection -> SUCCESSMy set up is:PSU supplying the board with 3V9.STLink-V3PWRBLUENRG-M2SPFour wires connected from the board to the programmerSWDIOSWCLKVinGndIn addition to this, I also have the boot pin connected to another PSU that would supply it with 3V6. I heard/read via the datasheet that at times it is neccessary to force the boot pin high. This forces the chip to go into the bootloader and ensuring that the SWD debug pins are open for connection.So I have three questions.Any insight as to why I would be able to establish a connection but not
Have a nice day! I use the Bluenrg-2 chip. As the base project, the Power Consumption Test example is used. The example works fine. But when I use these sources with my bootloader project, a connection problem occurs with BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) error. Although advertising is working.
Hello,I am an engineering student currently working on optimizing the throughput of a firmware using BlueNRG-M2 with a Bluenrg-2 chip in Bluetooth 5.2 (https://www.st.com/en/wireless-connectivity/bluenrg-m2.html#st_description_sec-nav-tab).My question is as follows:Can we modify the value of ATT_MTU (Attribute Protocol Maximum Transmission Unit) for this chip? My previous chip was a Bluenrg-M0 in Bluetooth 4.2, and it couldn't have its ATT_MTU value set higher than 23, even though it was Bluetooth 4.2. It seems that some chips, like the MS series, couldn't change the ATT_MTU.So, I decided to switch to Bluetooth 5.2 with the Bluenrg-M2 chip, which has Bluenrg-2, but I'm wondering if it's possible to increase the ATT_MTU value for this chip and, if so, by how much?If it is possible, how can I do it once I receive the chip?I don't find these information in the datasheet I am sorry :(.NB: I saw that DLE is possible with this ship but i am not sure it is the same as modifying the ATT_MTU.Be
I work with a network in which several participants can transmit simultaneously. Each participant can hear the transmission of another. I want to avoid collisions as much as possible. My idea is to use the PL_RX_ON pin of the ST7580 for this purpose. The payload of my packets is always only a few bytes.When exactly does this pin become active and for how long?I would like to prevent packets from being sent when this pin becomes active.
i've wrote a simple code according to the datasheet but never worked also tried fsmc interface !
I am evaluating Keil MDK5 for programming my BlueNRG-2 device. I have found that I cannot create a project from scratch with any RTOS support because the CMSIS driver seems to be lacking the Device.Startup section. Looking in the SDK examples for the device, there is a single project BLE_BEACON_FREERTOS. It looks like a port of pieces of the FreeRTOS code to this device that I can use as a starting point, but it's not a very satisfactory answer to not be able to generate a project from scratch but instead to have to rely on a questionable and undocumented port. It also does not contain an Atollic project, so I assume that I cannot use any of the ST toolchain to develop with this model. Is this my only option? This device isn't supported by STCube, it doesn't appear to be fully supported by Keil, and there is no RTOS support in Atollic even though that environment nominally supports it. Is ST actually serious about this device, or am I stuck programming against the ugly step child of th
Hello;My Name is FATIHI am using Wireless MBUS water meter scanning using S2LP and STM32L073. While making the PCB design, we applied the reference design value in the x-nucleo-s2868a2_schematic.pdf file exactly. However, although we see VDD voltage on Pin 1 on S2LP, SMPS voltage does not occur on Pin 2.1. The SDN pin is grounded2. We observed the 50 MHz oscillator output from the oscillator.3. Main voltage supplies are okbut we still cannot get analogue voltage output on pin 2 (SMPS1 Analog Output). therefore S2LP is not working.But our circuit works if we make an external supply of 1.5VDC from pin 3. Data sending and receiving operations WMBUS telegrams are transmitted successfully.Also; When we connected the x-nucleo-s2868a2 board with External SPI Cables through our microprocessor of our PCB, we observed that we saw the smps1 voltage on the board and observed that it worked smoothly. What could be the reason for the SMPS 1 Voltage not workingI would be grateful if you could help me
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.