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’m testing S2-LP sub-GHz transceivers in stack packet mode. I’m encountering an issue where the sequence number in ACK packets sent by the receiver doesn’t seem to be populated correctly. If I’m not mistaken, when automatic acknowledgment is requested by the transmitter, the receiver should send back an ACK packet with the same sequence number - that's how the transmitter knows which packet is being acknowledged. However, in my case, the receiver is using 'its own' sequence number, incremented with each transmitted acknowledgement, regardless of the sequence number it received from the transmitter. Effectively, transmitted and received sequence numbers on the transmitter side don't match and 'TX data sent' interrupt is not triggered.The table below shows the transmission and acknowledgment process between one transmitter and two receivers. Green indicates packets acknowledged correctly, red incorrectly. The 'Seq#' represents the 2-bit value in the STack packet.Now, for example If I se
Posted on March 22, 2018 at 05:25I have an interface product have some chips carry ST logo, but I can not find anything use the Chip ID. They are EZ026 and EZ030. Can anyone help to identify what is these chips? Here is the picture shows the chip.Thanks,Charles
Hi,I would like the DC/DC converter of STKNX to make 5V.Also, I want the Linear regulator to make 3.3VBecause of global efficiency, I wanted to power the linear regulator with the 5V output of DC/DC converter.I'm surprised that the datasheet specifies VDD_REGIN minimum voltage 6.8V, if VCC_SEL is shorted to ground (in order to make 3.3V linear regulator output).Same for VDD_REGIN minimum voltage specified 8.5V, if VCC_SEL is shorted to VCC_Core (in order to make 5V linear regulator output).This makes 3.5V voltage dropout, which seems pretty much to me. Question: Is there a typography error in Datasheet? Or is the dropout of internal regulator as much as 3.5V ? Many thanks, Alexandre
I am using this code to read the RMS Voltage and Current. I am also able to get output which I have attached as a .txt file. The expected voltage from the hardware which I am using STPM34 is up to range of 20 V. I am unable to understand where I am going wrong. #include <HardwareSerial.h> #include <math.h> #include <stdint.h> #include <string.h> #include <Arduino.h> #include "soc/uart_reg.h" const int STPM34_ENABLE_PIN = 4; //Enable pin for STPM3x //UART2 Pins of ESP32 connected to STPM32 const int PIN_16 = 16; //UART Rx pin of STPM3x const int PIN_17 = 17; //UART Tx pin of STPM3x HardwareSerial stpm3xSerial(2); hw_timer_t *timer; const int baud_rate = 9600; uint8_t CRC_u8Checksum = 0; #define BUFFER_SIZE 5 uint16_t STPM3x_RCV[BUFFER_SIZE]; volatile bool timer_call = false; volatile uint8_t u2_chk=0; uint16_t RawRms_volt; uint16_t RawRms_curr; float CalcRMS_volt; float RMS_Volt; float RMS_Curr; float CalcRMS_curr; float active_pwr; float Active_Pwr; fl
Hello there :)I'm trying to use a KSZ8863 Ethernet PHY with the STM32F767. I'm using the Nucleo F767ZI Board where i unsoldered the jumpers to the onbord PHY. The KSZ8863 is then connected via the Morpho connectors.I just used the Code generated by the CubeIDE with rtos and lwip.By now I can configure the PHY via MIIM (MDIO, MDC) with no issue.but I have no communikation with the Ethernet.Looking at the RMII interface via logic-analyzer i can see the 50MHz clock. And the data send from the Phy to the STM32 with corresponding frequency.But when i look at the Date send from the STM32 to the Phy it looks like the µC sends with a to low frequency. (if im right with 2.5MHz) . So it looks like the STM32 uses a wrong clock.So far the only thing I could find is thatSYSCFG->PMC |= (SYSCFG_PMC_MII_RMII_SEL);selects the used interface (and with that the clock?).(See STM32F767 datasheet page 1776 / 42.4.4) In the Figure 549 Clock Scheme, there is the Sync. divider. bit i cant find anything more
Hello,I hope you are well.I am using your bluetooth modules with chip antenna “BLUENRG-M2SA” and PCB antenna “BLUENRG-M2SP”.I'm going to put the 2 modules in the potting ? is there an influence of potting on the characteristics (range, transmission, power ...) of the chip and PCB antennas ?What is the best antenna type and the least influenced by potting?Thanks in advance
Hi community,I have purchased the STEVAL-IDP004V2 master evaluation board and STEVAL-IDP003V1 ( with STEVAL-IDP003V1T temperature sensor ).I connected the STEVAL-IDP004V2 and the STEVAL-IDP003V1 and the USB cable (Not RS485) on my PC.I downloaded the STEVAL-IDP004V1_USB.hex file with STLInkV2 on STEVAL-IDP004V2 master board . I haven't uploaded anything to STEVAL-IDP003V1 sensor board.Now I had removed the STLink-V2 and powered on the board (24V) ...I see the 4 green leds (sensor1, sensor2, sensor3, sensor4) on STEVAL-IDP004V2 light up for 2-3 sec and the 4 leds on transceivers on STEVAL-IDP004V light up fixed . Then the 2 LEDs (red and green) of STEVAL-IDP003V1 (sensor) light up fixed also the 4 leds on transceivers on STEVAL-IDP004V . When I try to connect the STEVAL-IDP004V with my PC with teraterm (according to the AN5041 pag24 point 4.2) or with the STEVALIDP0005x-GUI, I have these errors, also if I change the baud rate.: Can you
Hello, Following AN4872 & UM2667 I did the following: - Connected J15(Force DIO7 High).- UART-Connection is like(Beside GND and Vdd): Nucleo-Board(F401RE) <-----------------------> X-NUCLEO-BNRG2A1 PA9(UART1_Tx) <-----------------------> PA2-DIO11(UART_Rx) PA10(UART1_Rx) <-----------------------> PA3-DIO8(UART_Tx)- UART1 Baudrate is 115200bps- The X-NUCLEO-BNRG2A1 was tested with the Sensor Demo Application to verify that the Preloaded firmware works and successfully initializes and runs the application.- The Preflashed Firmware is: DTM_SPI_M2SP_Eval_Kit.The following is a test code, USART2 is used with ST-Link for debugging. /* Private user code ---------------------------------------------------------*/ /* USER CODE BEGIN 0 */ // Assuming
I have developed code in arduino IDE , I am only getting the output receive from UART 04000A075 . I understand that this is the default value in register DSP_CR1. Could someone please tell me what does this mean.I hereby provide the code for receiving and transmission of signal from STPM34 to ESP32 using UART. #include <HardwareSerial.h> #include <math.h> #include <stdint.h> #include <string.h> #include <Arduino.h> const int STPM34_ENABLE_PIN = 4; //Enable pin for STPM3x //UART2 Pins of ESP32 connected to STPM32 const int PIN_16 = 16; //UART Rx pin of STPM3x const int PIN_17 = 17; //UART Tx pin of STPM3x HardwareSerial stpm3xSerial(2); hw_timer_t *timer; const int baud_rate = 9600; uint8_t CRC_u8Checksum = 0; #define BUFFER_SIZE 1024 char STPM3x_RCV[BUFFER_SIZE]; volatile bool timer_call = false; volatile uint8_t u2_chk=0; uint16_t RawRms_volt; uint16_t RawRms_curr; float CalcRMS_volt; float RMS_Volt; float RMS_Curr; float CalcRMS_curr; f
I have a circuit card that uses the M48T18-150PC1 Timekeeper SRAM, and the battery died. I replaced the part but the settings did not save once power was cycled. A second part was used with the same result. Looking at the date stamp, (412) tells me I'm possibly at the limit of the battery's life. I tried measuring the voltage (Vcc to Vss), but have no reading at all. The replacement units integrity are questionable, so I'm wondering if I'm measuring something wrong. Is there a latch I'm not aware of that prevents me from measuring this voltage? Any help would be appreciated. In the meantime, I have placed an order for new parts hoping this will solve my problem. Regards,Bob
My team is trying to design a radio board with the STM32WL and we plan to use the BALF-WL-00D3 in the RF Front End.Based on our requirements, we have decided to go with a 6-layer board and are trying to decide on a stackup (dimensions) for the same.But, the datasheet is unintelligible and super confusing in terms of the recommended stackup (it has no dimensional units, clarity is poor and dimensions are inconsistent)Could someone please provide accurate and clear instructions / dimensions for the same?
Can you use CubeMX to generate init code for the LP SoC?I am integrating an LP SoC into a custom PCB and not sure what all I need to init?
Back in May of 2022, I purchased a number of BlueNRG-LP-DK development boards (STEVAL-IDB011V2-C) for Bluetooth Low Energy development. Things went fine (in a manner of speaking of course) .Recently I tried to use these boards with its RTC (Real Time Clock) configured with the LSE (Low Speed external) / 32.768 KHz Oscillator and I simply could not get the RTC configured with the LSE Oscillator to work. What I mean whenever I tried to configure the LSE/ 32.768 KHz Oscillator as the source for the RTC, it was as though the RTC had nothing hooked up to it.Before anyone asks, I did use the Periph_Examples -> HAL -> RTC sample code provided by ST extensively and stepped through a lot of HAL code. Here are my two (simple) questions: 1) Was there anything peculiar about this particular batch/lot/vintage of BlueNRG-LP's regarding the RTC that anyone knows about? Given I previously had hardware problems with the PDM microphone on that board vintage, I was
Hi, I am evaluating to use the ST8500 module as alternative part of the ST7538Q.In our application we have a custom protocol over power line with FSK modulation.Looking all the documentation related to ST8500 I found that it is possible to configure the carrier frequency, the bandwidth and the modulation as the ST7538Q. The point that for me is not clear is about the RTE and PE images to be downloaded on the IC. All the documentation is related to the G3 protocol and also the images are related to this protocol. In case I would like to use only the PHY layer without the other layers of the stack, is it possible to create a light version of these images ? Or the images have to be provided by ST?Moreover should I use the G3-lib as host interface driver?
Hello all,I am working on creating a secure IoT device. The device is configured as MQTT client which will be sending sensors data to the sever over MQTT. I have implemented encryption using mbed-TLS where I confirm server's authenticity with server CA certificate. Now I wish to implement 2 way authentication where I need to send client certificate to the server for verifying client authenticity by server.I see it is possible with the help of mbed-TLS but we need to provide private key of the client to mbedTLS which is not possible since we cannot extract private key out of STSAFE. I have been searching on this from almost a month and I have not been able to find a direct example on implementing this.Also, the STSAFE examples are not clear about implementing this with mbedTLS.I am in search of something that links stsfae with mbedTLS for client authentication.Can anyone please guide me how to implement this?
Hello ST Community,I am working on a project that involves implementing the STUSB1602 to act as a USB Power Delivery (PD) source while maintaining USB 2.0 data passthrough functionality. I would like to know how to best approach this design and which documentation is available to support the implementation.Specifically, I am seeking:Detailed documentation or application notes on using the STUSB1602 as a PD source.Guidance on handling USB 2.0 data passthrough alongside the power delivery function.SPI protocol documentation for interfacing with the STUSB1602 for configuration and control.If there are example circuits, code snippets, or reference designs, they would be highly appreciated as well.Thank you in advance for your support!Kind regards,Ahmed
Hello,When I try to set advertisement delay more than 10000ms, the function aci_gap_set_advertising_configuration return an error 0x82 (BLE_STATUS_INVALID_PARAMS). According to the function declaration, it must be ok:/* .... * @param Primary_Advertising_Interval_Min Minimum advertising interval for * undirected and low duty cycle directed advertising. Time = N * 0.625 * msec. * Values: * - 0x00000020 (20.000 ms) ... 0x00FFFFFF (10485759.375 ms) * @param Primary_Advertising_Interval_Max Maximum advertising interval for * undirected and low duty cycle directed advertising. Time = N * 0.625 * msec. * Values: * - 0x00000020 (20.000 ms) ... 0x00FFFFFF (10485759.375 ms) ... */Here is my function:BLE_ConfigureDeviceAdvertising(uint32_t adv_interval) { ret = aci_gap_set_advertising_configuration(0, GAP_MODE_GENERAL_DISCOVERABLE, ADV_PROP_CONNECTABLE|ADV_PROP_SCANNABLE|ADV_PROP_LEGACY, (adv_interval*1000)/625,(adv_interval*1000)/625, ADV_CH_ALL,
Posted on August 14, 2015 at 19:20So if I want to hop to various frequencies I need to calibrate the VCO each time. That's fine and expected. The SPIRIT1 has a fantastic auto calibration time of only around 50us - one of the features that make it attractive relative to other contenders. EXCEPT you can't use auto calibrate because it fails every so often according to the errata sheet!!. So it may as well not be there. Instead you have to go through an onerous manual calibration process for each possible frequency you wish to use (store the values and then load them in from the MCU each time later on) and worse still you need to repeat this entire process if the temperature changes significantly (think outdoor devices) or at reasonably regular intervals in any case. Someone please tell me I am wrong... or better still when will the next revision of the SPIRIT1 become available?
Hello! The task is to implement a device with two-port Ethernet. To do this, I developed a circuit, connected the STM32F207 controller to the KSZ8863RLLI Ethernet transceiver via RMII. The controller and the transceiver are connected according to the MAC-MAC scheme. The STM used a standard library for working with Ethernet LwIP. Unfortunately, after long tests, it was not possible to get a ping from such a connection scheme. The transceiver was configured using SPI and MIIM. And therefore, I want to ask a few questions:1. What wiring diagram should be applied between the STM32F207 controller and KSZ8863RLLI? MAC-MAC or PHY-MAC? Does STM32F207 support such a connection? The datasheet does not say anything about such a connection.2. If the MAC-MAC connection supports, then what settings need to be changed for this principle to work?
Hi folksI am currently trying to communicate with the TLV493D-A1B6 3D hall sensor. As board, I'm using the NUCLEO-F103RB. To make sure I didn't mess up any connections or anything else, I verified my setup with an ADS1015 adc which I can read out over I2C. Unfortunately, I am not able to find a valid address whilst sweeping through all possible addresses. I always get "HAL_ERROR" after using the following routine. With my other I2C device, I get 3 valid addresses. for(i=1; i<255; i++) { ret = HAL_I2C_IsDeviceReady(&hi2c1, (uint16_t)(i<<1), 3, 5); if (ret != HAL_OK) /* No ACK Received At That Address */ { HAL_UART_Transmit(&huart1, Space, sizeof(Space), 10000); } else if(ret == HAL_OK) { sprintf(Buffer, "0x%X", i); HAL_UART_Transmit(&huart1, Buffer, sizeof(Buffer), 10000); } }For further information, any data sheets are available here: https://www.infineon.com/cms/en/product/sensor/magnetic-sensors/magnetic-position-sensors/3d-magnetics/tlv493d-a1b6/Than
Dear everyone,I'm trying to use a SX1280 for RF connectivity.My dev board is the official... the SEMTECH "SX1280ED1ZHP", it's included a nucleo + daughter board with SX1280.My diffculty is that a not able to read correctly a register with a know value after reset.Second thing, a see Something wrong at scope.So i'm here because a would like help. #IOC Spi configuration #Define #define SX1280_SPI &hspi1 #define SX1280_NSS_PIN GPIO_PIN_8 // Replace with your NSS pin #define SX1280_NSS_PORT GPIOA // Replace with your NSS GPIO port #define MANUAL_GAIN_REGISTER 0x0895 #Read Function #define MANUAL_GAIN_REGISTER 0x0895 uint8_t SX1280_ReadRegister(uint16_t regAddr) { uint8_t command = 0x03; // Read register command uint8_t addrHigh = (regAddr >> 8) & 0xFF; // High byte of the register address uint8_t addrLow = regAddr & 0xFF; // Low byte of the register address uint8_t dummy = 0x00; // Dum
Hi everyone,I'm currently using an STUSB1700 as a 5V 3A power source for one of the USB ports in my project. I'm able to draw up to 2.7A with Apple devices (iPhones and iPads) on that port. Using the STUSB GUI, I can connect to the STUSB1700 via I2C and read the messages. I've looked through the datasheet for the register in the NVM but can't seem to find any that would resolve this issue. If anyone has faced the same problem and found a solution, I would greatly appreciate hearing about it. I've attached a screenshot showing what the STUSB GUI dashboard looks like when I plug in the Samsung tablet (it is written that the device is a STUSB1600A but it is a STUSB1700). For the design I've followed the recommended schematic from the datasheet, for it to advertise 5V 3A capabilities when under negotiation (RP_HIGH/RP_DEF pulled up to 5V).Thanks in advance!Ivan.
Hello,I am currently reviewing the S2-LP transceiver for high-bitrate/long-range communication in the 915MHz band. To achieve that, I want to interface an S2-LP with a Skyworks SE2435L front-end, as shown in the FK915V1 Evaluation board. I would like to know if it is possible to use a Balun from ST like the BALF-SPI2-03D3 to match the impedance of the transceiver with the front end. I am asking this question because in the FK915V1 schematic, the RX and TX paths are distinct, whereas using the Balun implies connecting the PAIN and TR pins of the front end together.Can this approach yield good result or am I wrong?Also, what is the recommended balun for the S2-LP, BALF-SPI2-03D3 or BALF-SPI2-01D3 ?Thank you,Robin
Hello, I'm evaluating the use of the evaluation kit and the evaluation software for the S2-LP to generate the OOK signal, In the software I can't modify the Preamble to a custom pattern, another thing is to be able to place the ID address (I can not in the software) if i enable the option to add to the frame and the last thing is if it is possible to set up two different data rate for the preamble and the rest of the frame.Also, what is the "Length Field" in the software meant ? it is not explained, is it the length of the Address field ? I saw in the datasheet of the S2-LP the table 52 of the preamble field selection but can someone elaborate how is that selecting the PREAMBLE_SEL for OOK the preamble would looks like? Best regards,
Posted on July 06, 2017 at 01:27The BlueNRG-MS library for BLE v4.1 sets ATT_MTU to 23 bytes. Is it possible to increase this limit as long as it's less than the 255 character value length limit?I am working with the SensorTile eval board with an STM32L4xx MCU, and I working with a modified version of the BlueMicrosystem2 example.I've done the following: Set ATT_MTU to 46 bytes (or any number that's less than 255).I pair with the SensorTile using the ST BlueMS iPhone app.Immediately after receiving a EVT_LE_CONN_COMPLETE event that tells me that connection was successful, I call aci_gatt_exchange_configuration() to exchange ATT_MTU configurations.I then get back a EVT_BLUE_ATT_EXCHANGE_MTU_RESP event telling me that exchanging configurations was successful. The event also comes with a data packet that tells me what the new server_rx_mtu is. However, this is still set to 23 bytes.Am I missing anything? Or is it not possible to increase the ATT_MTU?#bluenrg-ms #stm32l4 #sensor-tile #ble
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.