Developer support experience survey - We value your feedback
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Dear sirs. I'm connecting an ISM330DHCX with an IIS2MDC and I need to know if the connections scheme is okay to operate in MODE 2Then I need to know if pullups are needed for i2c bus coming from SCx and SDx, and if pulldowns are required for INT lines as in the provided schematic.I'm based on the ISM330DHCX and IIS2MDC datasheets and X-NUCLEO-IKS02A1 board manualThe routing jumpers are there just in case we need to route one magnetometer to tha main I2C bus Thanks in advanceIgnacio
Moved from STM32 MCU products forum board to MCU embedded software as the main question is about how to run the demo vs LCD versions. I got STM32U5G9J-DK2 and this Discovery is still assembled with LCD board MB1860A version. But the documentation suggesting this DK have LCD board MB1860B version and share only B version scheme. I taked damage of my LCD board MB1860A and replaced it to MB1860B LCD board version from my next Discovery Kit STM32H7S78-DK. And here arising some problems: For example the BSP demo from example pack working flawlesly, but the main demo embedded from factory doesn't work with STM32U5G9J-DK2 and MB1860B version of LCD board. The LCD is dark and look as dead. So my questions which could be provide the answer about incorrectly work of LCD sounds like: 1. Why doesn't the main demo work, despite of the docimentation suggestion that this kit is assembled with the MB1860B LCD version board? 2. How I can obtain the scheme for M
Hello.I'm working on setting up a brand new Nucleo STM32U5A5Z development board and have some issues.My project is a completely bare-bones default with no security or BSP enabled. The application fails in SystemClock_Config() and enters the error handler. The issue seems to be related to the HSE as SystemClock_Config returns HAL_TIMEOUT here: /* Check the HSE State */ if (pRCC_OscInitStruct->HSEState != RCC_HSE_OFF) { tickstart = HAL_GetTick(); /* Wait till HSE is ready */ while (READ_BIT(RCC->CR, RCC_CR_HSERDY) == 0U) { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) { return HAL_TIMEOUT; } } }Thanks!
Hi, I'm trying to implement USBPD EPR Source with DisplayPort Alt Mode on a STM32G071. I use the latest https://github.com/STMicroelectronics/stm32-mw-usbpd-core, which seems to support EPR, but I couldn't find any complete examples with a working EPR source. Now I successfully enter EPR mode, and Sink receives EPR PDOs, but can't negotiate any PDO except the 1st. Even SPR PDOs The stack sends REJECT after PE_SRC_NEGOTIATE_CAPABILITY. It works perfectly in SPR mode and can switch between PDOs, but fails the same PDO in EPR mode 1st PDO in EPR mode ACCEPT: 2nd PDO REJECT: How can I debug these things inside the stack? What am I missing? Spoiler (Highlight to read)uint32_t PORT0_PDO_ListSRC[USBPD_MAX_NB_PDO] = { /* PDO 1 */ ( USBPD_PDO_TYPE_FIXED | /* Fixed supply PDO */ USBPD_PDO_SRC_FIXED_SET_VOLTAGE(5000U) | /* Voltage in mV */ USBPD_PDO_SRC_FIXED_SET_MAX_CURRENT(1000U) | /* Max current in mA */ USBPD_PDO_SRC_FIXED_PEAKCURRENT_EQUAL | /* Peak Current info */
Hello,We have procured a STM32U5G9J-DK1 discovery kit. We are in need of the default pre-loaded program that comes with the kit as this will help us to understand how to use Touch display and its other features. We see that this pre-loaded program is not available in the repository downloaded for STM32U5G. Therefore, request you to kindly share it here.With regard,Sudarshan Chaudhary
DearsWe used STM32G431CBT3 in 5000W Three-phase Permanent Magnet Synchronous Motor Driver projects, now facing some issues below, could you help check and advise this, thanks!1. There are some issues encountered in the project of driving with a three-phase permanent magnet synchronous motor. Please assist in resolving them. The attached file contains the design materials. If any other materials are needed, please inform us promptly. Thank you!1. Driver parameters:Rated power: 5000W (continuous operation with approximately 100A)Peak power: 13500W (300A current flow for about 3 seconds)Carrier frequency: 16kHzWorking voltage: 18 series lithium batteries (54V - 78V)Operating environment temperature: -10℃ to 50℃Motor slot-pole number: 36N, 42PTest topology:2. Problem Description: During the pulse experiment, the following issues were encountered. The double pulse parameters were (pulse current 400A, bus voltage 80V, auxiliary test inductance 5.6uH). Regarding the following severa
Hi , I have designed one product with STM32WB55 for BLE and Zigbee concurrency. The schematic design I have followed is the with out SMPS design (LDO mode). VFBSMPS, VLXSMPS, VDDSMPS pins are connected to VDD. Our firmware will scan for BLE devices and it works in Nucleo development board. But not functional in our custom board. With our board it is able to connect upto 4 devices only, but the same firmware can handle up to 18 devices in development board. What will be the reasons for this ?
Hi,I’m working on STM32MP257F-DK (A35 + M33) using OpenAMP + RPMsg over IPCC and facing an issue with RPMsg endpoint creation on the M33 side.GoalSimple use case:Linux (A35) sends "START" / "STOP"M33 receives the message via RPMsgM33 toggles an LEDWhat is workingM33 firmware builds and boots correctly using remoteprocResource table is detectedVirtio RPMsg is created on Linux From Linux dmesg:virtio_rpmsg_bus virtio0: rpmsg host is online remoteproc remoteproc0: remote processor m33 is now upSo remoteproc and OpenAMP transport are working.ProblemWith the following M33 code, RPMsg endpoint is not getting created on Linux side:int rpmsg_recv_callback(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv) { if (len >= 5 && strncmp((char *)data, "START", 5) == 0) { led_run = 1; } else if (len >= 4 && strncmp((char *)data, "STOP", 4) == 0) { led_run = 0; HAL_GPIO_WritePin(GPIOZ, GPIO_PIN_0, GPIO_PIN_RESET); } return 0; } stru
Hello,I am working with an STM32MP151 and I would like to start the Cortex-M4 core as early as possible during the boot sequence.The main requirement is to run a real-time task on the M4 that reads an analog input (ANA0 – ADC channel) with minimal startup latency.In my current setup, the ADC channel is first owned by the Cortex-A7 Linux kernel and is explicitly released and reassigned to the Cortex-M4 via the Linux device tree (by disabling the ADC node for A7 and assigning it to the M4).Additionally, if I stop the system in boot mode and manually start the Cortex-M4, I am able to successfully debug the M4 firmware and correctly read the ADC value.My goal is to have the M4 firmware start automatically in the same early boot conditions, without requiring a manual boot/debug sequence.I would like to understand:At which earliest boot stage the Cortex-M4 can be releasedWhether the Cortex-M4 can be started independently from the Linux boot on the Cortex-A7Thank you in advance for your suppo
Hi,I'm using the NUCLEO-U083RC board.I wish to use the TOUCHSENSE library on STM32U083 (or STM32U073) that has the TSC, but STM32CUBEMX 6.16.1 doesn't allow me to enable it.Why ?
I'm running example 03_ECDH from https://github.com/STMicroelectronics/STSAFE-A120_examples/tree/main/Applications/Projects/03_ECDHI modified the example to use ED25519 / Curve25519. I pasted the public key of some key I generated on my PC into the C source. After a power-cycle the asymmetric key info of the A120 looks like this: ----------------------------------------------------------------------------------------- Global usage limit : 65535 ------+---------------------------------------------------------------------------------- | ASYMMETRIC KEY INFO ------+----------+------------+---------------+------------+---------+------------------- SLOT | PRESENCE | TYPE | EdDSA Variant | Gen Key AC | Sig Gen | Key establishment ------+----------+------------+---------------+------------+---------+------------------- 0x00 | x | NIST_P_256 | None | Forbidden | x | . 0x01 | x | ED25519 | Pure | Free | x | . 0x02 | . | . | None | Free | x | . 0x03 | . | . | None | Free | x
I am using STM32CubeMX 6.16.1 to generate project with external Flash loader for STM32N6. When I generate for STM32CubeIDE and build the extmemloader then STM32CubeProgrammer can parse it (the .elf renamed to .stldr). But when I generate CMake project and build with vscode (with STM32 extensions) then STM32CubeProgrammer fails to parse. Compiler/linker removes the StorageInfo structure from output completely. I fooled it to keep it. Now it doesn't fail immediately, but still can't parse any info either.Here's the CubeProgrammer EL list view. First is vscode built loader, second is Eclipse built:I compared the ELF files, Map files, compiler and linker flags. There are plenty of differences and I haven't figured out what exactly causes it. I changed the flags but nothing helped. I noticed vscode uses GCC 14 and STM32CubeIDE uses GCC 13 but tricking vscode to use GCC 13 didn't solve it either.
Hi,Today I have downloaded STM32IDE. I am trying to develop some projects with my NUCLEO F401RE. I have tried that create a new file from this way but program does not create any .ioc file. Can you help me?Thank you.
Hello,My goal is to test the IBI functionality of my custom I3C master driver using the LSM6DSOX sensor. For this test, I need the Linux I3C slave driver for LSM6DSOX with IBI support. The file linux/driver/iio/imu/st_lsm6dx/st_lsm6dsx_core.c does not contain any IBI-related code, such as i3c_device_request_ibi. If anyone has an example or code for using IBI with I3C in a Linux environment, could you please share it?.
Hello ST Community Team,I am facing a TouchGFX project generation issue related to path mismatch while working on an STM32H745 dual-core device – unable to locate .ioc / .cproject ?I am sharing my setup and issue details below. Environment Details:STM32CubeIDE: 1.17.0TouchGFX: 4.25.0X-CUBE-TOUCHGFX: 4.25.0Controller: STM32H745XIH3Core Used: CM7Toolchain: STM32CubeIDEOS: Windows Issue Description:I have written application code for Core-M7, and when I try to generate images / assets using TouchGFX, the generation fails during Post Generate Target.Error observed:Post Generatetouchgfx update_project --project-file=simulator/msvs/Application.vcxprojDonePost Generate Targettouchgfx update_projectUnable to locate D:/WORKSPACE_APPLICATION/LPOCIP_090126_1430_PM/LPOCIP_SCRATH_jumper_QSPI_APIS_SWETHA_UPDATED_QSPI_SDRAM_CAN_PWM/.cprojectFailedFailedHowever, the actual .ioc file exists at:D:/WORKSPACE_APPLICATION/LPOCIP_090126_1430_PM/LPOCIP_SCRATH_jumper_QSPI_APIS_SWETHA_UPDATED_Q
Hello,Currently I'm working on a project that requires a synchronized clock signal between multiple devices connected through Ethernet.The logic solution for this is PTP, and using linuxptp I was able to archive synchronous PPS on PG8 pin between devices with a jitter smaller than 1us for 1Hz. Now the problem is that the requirement for PPS frequency is not 1Hz but a OR between a 100Hz and 1.25Hz (see attached image). From documentation, flexible PPS output may be the solution and started testing it by generating the 100Hz signal. Here is were I found the issue, after program PPSCMD[3:0] with start I notice that the 100Hz signal starts to drift slowly (around 20us/s).Now strange part is if I use fixed PPS (bit PPSEN0 of MACPPSCR cleared) with any frequency (1Hz to 16kHz with digital rollover) there is no drift. From my understanding the reference clock for pps is the same as system time thus adjusted by ptp protocol for maintaining synchronization.Is my assumption corre
I have connected and an external HS PHY to STM32F427VGT6 through ULPI pins.Configured USB_OTG_HS in Host Only mode for external Phy with parameter Settings asSpeed: High Speed 480MBits/s Enable internal IP DMA: DisabledPhysical Interface: External PhyUse External VBUS: EnabledSignal Start of Frame: DisabledIn NVIC settings for USB_OTG_HS all three available interrupts are enabled. USB On The Go HS End Point 1 Out global interrupt true 0 0 USB On The Go HS End Point 1 In global interrupt true 0 0 USB On The Go HS global interrupt true 0 0 In Middleware Packages USB_ Host, FATFS is configured according to attached image.MCU schematic and USB-PHY schematic is also attached.The problem i am facing is STM32 is not detecting USB and gstate of USB always remain to HOST_IDLE, even if i connect or disconnect pendrive.
Split from RF Communication with Nucleo-WL55JC Boards - Seeking Guidance This is a different question. Hiii,I need to receive the time from the network server. How to fix this issue.Give me the clear steps to fix .
I want to create a new expansion pack. During adding the bundles and components I've got a problem to leave the "Subgroup" empty.Using a dash "-" will be able to apply the component but it raises an validation error during "save and pack". Editing an old expansion package ( I had made a few years ago) , the Subgroup is still optional. What kind of "switch" makes the Subgroup as mandatory?
Hi,I have been trying to communicate with an SPI peripheral (NOR Flash). I want to use SPI in half duplex mode. The problem is that as soon as enable the SPI peripheral I see SPI constantly sending OxFF over MOSI even though I have not written anything on the SPI DR register.Pasting the screenshot of the Salea LABelow is the simple SPI TX code void SPI_SendData(uint8_t* Txdata, uint32_t len) { if((spi_dev->SR & TXE_FLAG)) { spi_dev->DR = *(uint8_t*)Txdata; Txdata++; len--; } if(!(spi_dev->CR1 & SPI_EN)) { spi_dev->CR1 |= SPI_EN; } while(len > 0) { // Wait for TXE FLAG if((spi_dev->SR & TXE_FLAG)) { spi_dev->DR = *(uint8_t*)Txdata; Txdata++; len--; } } }Edited to apply source code formatting - please see How to insert source code for future reference.
I have ordered NUCLEO-G491R to test STANDBY mode power consumption. The power consumption measurements are taken via the PPK2 from Nordic.https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2The steps:1. Take STM32CubeMX example project PWR_SHUTDOWN that is available for the Nucleo board.2. Program the board (ensure the JP5 jumper is at the 5V_STLK position)3. Remove the JP5 jumper because we will be powering the board via the external 3V3 (PPK2) 4. Connect the PPK2 to 3V3 and GND on the board. 5. Start samplingSee the results below:When the device enters STANDBY, the current consumption is measured at about 1.5mA which is way above what is declared on the datasheet.What could be the reason that I cant achieve the declared current consumption for the STANDBY mode via the official example project? I am convinced that measurements of the PPK2 are valid as I have used this board in the past to measure very low currents and it was showing reasona
Dear ST Support Team,We are using the STM32N657X0H3Q1 microcontroller with the XSPI1 interface and have connected two external memory devices, each with an 8-bit data bus.As described in the STM32N6 reference manual (XSPI dual-octal configuration), the two 8-bit memories are connected in parallel and together form a 16-bit wide external memory interface, sharing a single NCS signal.In STM32CubeMX, what we have configured the XSPI peripheral as attached below.And XSPI clock we set as 140mhz.Could you please confirm whether this STM32CubeMX configuration is correct? If there are any additional settings or recommended , kindly let us know.Thank you for your support.Best regards,siddu marka.
Hello everyone,I am facing severe stability issues with a Nucleo-WB55RG project generated via STM32CubeMX (FW Package V1.24.0).The Core Problem: The device advertises and connects, but suffers from random "Silent" Disconnections (no event generated) - connection loops and eventually complete silent (advertisement doesnt start after disconnection). This happens in multiple scenarios, including simple idle connections and bonding attempts.Detailed Scenarios:1. Scenario A: Idle Connection (Without Bonding)I connect using the ST BLE Toolbox app and leave it idle.Behavior: After a random period (non-uniform time), the device automatically disconnects, reconnects, and enters a loop.Observation: Even without initiating bonding, the link is unstable.2. Scenario B: Pairing via Android Bluetooth SettingsI go to Android Settings > Bluetooth and tap the device to Pair.Behavior: The phone displays "Pairing..." indefinitely.Observation: The UART logs show "BLE Connected", but the handshake never
Hello!I am in the progress of setting up a Yocto based build for a custom board based on a STM32MP157C. I am using "vanilla" Yocto scarthgap with the respective ST meta layer: https://github.com/STMicroelectronics/meta-st-stm32mp meaning I created a custom machine and am patching my own device trees into the meta-st-stm32mp layer.Currently I am trying to port my device trees for TF-A , OPTEE, U-Bboot and Linux, that were originally created for an SDK based build, to the new environment. I am using the regular "optee" bootscheme in my custom maschine.conf with EMMC as boot device.The build already succeeds but when I try to program the contents of my .tsv via Cube32Programmer I get a "iwdg1" reset when the bootfs is downloaded:UPLOAD ... done Ctrl+C to exit ... #DOWNLOAD ... OK Ctrl+C to exit ... # UPLOAD ... done Ctrl+C to exit ... # UPLOAD ... done Ctrl+C to exit ... ###D/TC:0 gic_native_itr_handler:678 Special interrupt 1023 D/TC:0 gic_native_itr_handler:678 Special interru
Hello Sir,I urgently want to have an idea whether due to the change of LCD from HT043C KunJjian to RK043FN48H-CT672B Rocktech in 32F746GDISCOVERY Board, is there any changes in the firmware due to this?I would like to request for early response from your team, thanks for your support in advance.Note: From the post only I got a point that RK043FN48H-CT672B Rocktech changed from HT043C KunJjian, 32F746GDISCOVERY B02 and C01 - what's the differen... - STMicroelectronics CommunityBest RegardsSushant Verma
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.