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
Hi all,I would like some ideas/help with designing an interface for a large multi-level menu. I need the user to be able to get to specific information about a vehicle make, model and year. My first thought was to use a scroll list or wheel for the user to select the make. That would take the user to another screen with a scroll list/wheel with the list of models for that make. The user would select the model and that would take them to a screen with a scroll list/wheel for the different years for that model. when they selected the year, the information needed would be displayed.I had some success in doing this, but I am realizing that this method would require hundreds of screens. Is there a more elegant method of doing this? Like would having multiple layers of hidden lists and making the list visible for the models that the user selected in the make screen?To add another layer of complexity to this, the database will need to be updated every year or two. It would be good to be able
Posted on November 09, 2016 at 15:03Hello,as I understood, x-cube-cryptolib is a plugin for the cubemx software, isn't it?But when I run SRM32CubeMX, Version 4.17.0 and use Help->Install new libraries-> from local and select en.x-cube-cryptolib.zip, I get this error:This Package version is not managed on this version of STM32CubeMX.What's wrong? #cubemx
Hi All, I am choose the STM32U585VIT6 MPU to design our customized board. Firstly I design a simple basic connection to program it and only blink the LED for confirmation our initially circuit. Also I following the AN5373 document. When I flash the code getting the error below Error in initializing ST-LINK device. Reason : No device found on target. Find the attached schematic. Please guide me what is the issue and how to resolve it.
Hi everyone,I have a STM32H573I-DK and try to port FreeRTOS without TrustZone to this board by CubeMX but suffered from a problem.I installed the X-CUBE-FREERTOS, set TIM17 for HAL Tick and SysTick for FreeRTOS.It will block (or crash?) in vStartFirstTask() after called vTaskStartScheduler().I have no idea what happened...Is there problem of my setting ?Thanks a lot.
I think it doesn't have an impact and you just get extra pins (e.g. extra SPI controllers becoming accessible) if going say 100 to 176. But it's not clear...IOW, will existing code run exactly as before? Isn't the silicon identical and they merely bond out the extra pins on the bigger packages?
Hello,I am working on a Zigbee project for my school and i have never worked with any form of wireless communication. I managed to flash the Zigbee_OnOff_Server_Coord application on my nucleo board and the Zigbee_OnOff_Client_Router on my USB dongle. And when i click on the dongle button the led on the nucleo toggles, that alone works just fine. But for my project i need to connect an Aqara Door and Window Sensor to my P-NUCLEO-WB55. When i click on the "pairing" button on my sensor even tho i am able to connect it with the nucleo i have no idea on what to do after that, because when i toggle the door sensor state (manually open/close the sensor) nothing appears on the terminal.I have done some tests with the door sensor and the aqara HUB and the sensor works fine so we can get that out the way.Thanks in advance,Churin Mateo
I've an STM32U5A9J-DK-FreeRTOS and I was looking to a way to stream audio from the PC to the board and vice-versa using the USB-C on board port.I've seen that there's a CUBE extension X-CUBE-USB-AUDIO but it feels it is specifically for the STM32F7Also, on the CubeMX, opening the .ioc file, the only USB option I'm seeing is USB_OTG_HSSo, my question is, the USB-C port on the STM32U5A9J-DK board supports it?I'm also seeing the X-CUBE-AUDIO-KIT but again it feels compatible only for STM32H series
Hello,we thoroughly use STM32H750 DK systems on our faculty and install VSCode and STM32 plugins on all classroom computers each school year. We have noticed, that plugin is installed in home directory of each user, which is a big struggle for our situtation. Can we somehow create "per system" installations of CubeIDE and as alternative IDE VSCode + STM32 plugin to be installed in some common folders for all students that work on PCs?Thanks in advance,Robert.
OverviewAfter migrating a project from CubeMX v5 to v6 (DB 6.0.150), the pin assignment for I2C1_SCL (PB8) and I2C1_SDA (PB9) is automatically removed when SPI1 is enabled.This issue did not occur in CubeMX v5, and on real hardware both I2C1 and SPI1 can operate simultaneously. Steps to ReproduceOpen a project created in CubeMX v5 and migrate to CubeMX v6Assign PB8 → I2C1_SCL, PB9 → I2C1_SDAEnable SPI1 (Full-Duplex, Master or Slave)PB8/PB9 immediately lose their I2C1 assignmentsIn some cases, I2C1 disappears entirely from the .ioc, and MX_I2C1_Init is no longer generated EnvironmentMCU: STM32F103CBTxCubeMX: 6.15.0DB: 6.0.150Firmware Package: STM32CubeF1 v1.8.4 / v1.8.6Previous project created with: CubeMX 5.x (DB 5.x) RequestsPlease confirm whether this behavior is a known issueProvide any available workaround
Hello,when my rtc time goes to 23:59:59 to 00:00:00 then my program while loop is slow ex. some led toggle with 500ms toggle time is incress X2 so what is issue?
Split from STM32WB55 - Achieve lowest possible power mode.I am also not able to achieve Shutdown mode in Nucleo-WL55JC1.Instead, I tried with STOP2 mode https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Examples/PWR/PWR_STOP2_RTC , but it also gives 2mA. Kindly let me know, How can achieve STOP2/Shutdown mode ?. Thanks in advance!
Hello,We are using a custom board based on EVSPIN32G4 with HSO that has 2 extra ADC channels.When I try to register them with RCM the entire motor either shuts down or unable to start correctly.It appears like it interferes with the existing ADC channel operation.I tried registering it before interrupts are enabled, and after interrupts are enabled. It's all the same.Here is the code:static RegConv_t MotorSensorConv = { .regADC = ADC2, .channel = TEMP_ADC_CHANNEL_NUM, .samplingTime = LL_ADC_SAMPLINGTIME_2CYCLES_5, }; In the init function:RCM_RegisterRegConv(&MotorSensorConv);In the polling function:uint16_t value = RCM_GetRegularConv(&MotorSensorConv);LOG_DBG("Motor sensor adc val: %d", value);Does anyone know what could be wrong?Another question, I noticed that callback hooks from mc_app_hooks.c are not called from anywhere?Anybody knows why?As another riskier approach I was considering to modify the default ADC configuration to add extra injected channels, but I am afrai
I upgraded STM32Cube IDE to 1.12.0, and now when I double-click the IOC file, it just displays a text file, not the processor pin / configuration diagrams, etc. I tried closing and re-opening the project(s) and closing and re-opening CubeIDE. No change.
Title edited for clarity.I am trying to debug an application that is intended to run out of PSRAM on the STM32H7S78-DK. I have created a simple FSBL which initializes the PSRAM and puts it into Memory Mapped mode and then executes a software BKPT to halt the CPU. I then load an application image using the debugger (JLink) into PSRAM and start it. The application appears to run fine but I cannot get any interrupts to fire. The application running out of PSRAM establishes a new vector table in RAM and updates the VTOR register. I have tried both SysTick and an interval timer (TIM6) to generate interrupts but no success. Looking at the peripheral and NVIC registers everything appears to be correct.This is the MPU configuration for the PSRAM region: MPU_InitStruct.Number = MPU_REGION_NUMBER1; MPU_InitStruct.BaseAddress = 0x90000000; MPU_InitStruct.Size = MPU_REGION_SIZE_32MB; MPU_InitStruct.SubRegionDisable = 0x0; MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL1; MPU_InitStruct.AccessPerm
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code and a linker script content. Please read this post: How to insert source code. Hello Community, I am working on STM32F746G-Discovery and trying to send ADC sensor data to a cloud server using Ethernet.Cloud API details: URL: https://iot.hummingbirdtek.com/api/dataMethod: POSTContent-Type: application/json What I Have Done: Enabled Ethernet (RMII) in CubeMX Enabled LwIP, set static IP Enabled ADC1, UART6 for debug Generated code (AC6/GCC) Added code to format JSON and send to cloud using http_post Issues I am facing: 1) HardFault occurs after LwIP initialization The crash happens during: MX_LWIP_Init(); netif_set_up(); 2) DMA Descriptor Memory Configuration Errors Compiler shows errors like: DMARxDscrTab memory out of rangeoraggregate value used where integer expectedI suspect incorrect MPU/Alignment/Section placement for: ETH_DMAD
I’m currently working on an STM32 project with Ethernet connectivity and LwIP. I want to know the IP address of the STM32 while configuring the network settings in CubeIDE. Here’s my setup: STM32 is connected to a router via an Ethernet cable and my laptop is also connected to same router via wifi. LwIP is being used as the TCP/IP stack. In LwIP settings, there is an option to choose DHCP or Static IP. My questions are: If I enable DHCP, how can I find out the dynamically assigned IP of the STM32? If I use a Static IP, what are the correct parameters to set (IP, Subnet Mask, Gateway) to ensure the STM32 is reachable from my PC? Are there any tips or methods to quickly verify the STM32’s IP on the network, such as through serial print, ping, or a network scanner?
Hi, I am using STM32G474RE. I try to read out LTC2440 with the SPI interface. I have configured the LTC2440 as SPI master (In its datasheet the mode of operation is specified as Internal SCK, 2-Wire I/O, Continuous Conversion). The LTC2440 provides a BUSY signal which indicates the state of the conversion. LTC2440 does output 4 bytes of data on its own (Burst approx. 880 times / second).I have configured the SPI interface of my STM32G4 as Half-Duplex slave to read these bursts.static void MX_SPI3_Init(void) { hspi3.Instance = SPI3; hspi3.Init.Mode = SPI_MODE_SLAVE; hspi3.Init.Direction = SPI_DIRECTION_1LINE; hspi3.Init.DataSize = SPI_DATASIZE_8BIT; hspi3.Init.CLKPolarity = SPI_POLARITY_HIGH; hspi3.Init.CLKPhase = SPI_PHASE_1EDGE; hspi3.Init.NSS = SPI_NSS_SOFT; hspi3.Init.FirstBit = SPI_FIRSTBIT_MSB; hspi3.Init.TIMode = SPI_TIMODE_DISABLE; hspi3.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; hspi3.Init.CRCPolynomial = 7; hspi3.Init.CRCLength = SPI_CRC_LENGT
HiWe have a Custom Board based from MB1272 dev kit.Our system needs to connect the RGMII to a Marvell Switch Chip where that Switch is Managed MDIO from a different MPU.As such we need our STM32MP157 MPU to run in a fixed phy mode and use the RCC to be its 125Mhz clk.Please see simplified drawingI have looked at the https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RGMII_with_Crystal_on_PHY-2C_no_125Mhz_from_PHYbut still confused as to how to do thisWe have tried a few DT settings but no success, would really appreciate some help on this oneThanks
Hello ST Community,I'm encountering a persistent issue with the Secure Boot and Secure Firmware Update (SBSFU) implementation on the STM32WB55VGQ6. I am using a setup largely based on the official SBSFU examples, but modified for my specific application.The core problem is that the first successful firmware update via YModem works perfectly (signature verification and decryption pass), but all subsequent updates fail authentication, even with the same, correctly signed and encrypted .sfb file.Target and Configuration DetailsTarget MCU: STM32WB55VGQ6Bootloader: SBSFU (Close to standard example, running on Cortex-M4 only).Update Method: YModem over UART @ 115200 baud.Firmware Image: Custom .sfb file, encrypted and signed using the standard provided tools (prepareimage, etc.) with self-generated keys.Initial Programming:UserKey (for AES_CBC) pushed via CubeProgrammer.SECoreBin + SBSFU loaded at 0x08000000.CM0+ Core: Not used at all (disabled for historical reasons, as wireless connectivit
hi, I'm using stm32h745 dual core MCU, in this i want to know about the caches.these I cache and D cache are default enable are it will enable from IOC configuration of M7 core.if not enabled from IOC still these caches will work automatically?due to these caches, I can't be able to run the spi with DMA mode, this cache made the dma to halt in dma handler itself.so, my question is how to work with these with or without enabled cache. I tried of changing the dma buffer to a non-cacheable memory, but I couldn't I don't know why, the location change is also not happening correctly.can someone help to solve this how to work with caches with DMA enabled, is there any video or source available for caches. regards,Srinath
Issue Description:I am unable to ping my STM32F2 board from another computer on the same network. The Ethernet link shows as UP and the MAC/IP addresses appear correctly, but ping requests timeout. I have been debugging this for a week without success.What I’m trying to achieve:Set up basic Ethernet communication using LwIP on STM32F2, assign a static IP (174.16.10.101), and make the board respond to ping.Clock Configuration:HSE: 25 MHzPLLM: 25, PLLN: 200, PLLP: 2 → SYSCLK: 100 MHzAHB: 100 MHzAPB1: 25 MHzAPB2: 50 MHzETH Clock Source: HSE (25 MHz) → RMII Ref Clock: 50 MHzPHY: LAN8742A, Address: 0x01What I’ve already tried (without success):Hardware & Cabling: Verified RMII pin connections, tried multiple cables/switches.Network Config: Static IP set correctly, firewall disabled, host PC on same subnet.Software: No compilation errors, added etharp_gratuitous(), MAC set to&nbs
Hi,I want to save the data in microSD memory card(for e.g. 4GB) as a file using STM32H573 discovery kit. And gone through with internet search and got some information. But unable to get the exact idea to how to start with or done it. Found one connector CN5 on the board for SD card. In order to get the above said what are the prerequisties need to be done and what need to be selected in IOC file . Can anyone tell a step wise procedure for this or give an example code would be a great help. Thanks in advance.
Hello, in the datasheet for the STM32WLE5xx, specifically Table 28, there are power consumption statistics for the sub-GHz radio. In the table, there is a category for mode. I was wondering whether this category is referring to the mode of the chip or just the mode of the sub-GHz radio module. If it is referring to the mode of the chip, then is the full power consumption of the chip the sum of the power consumption of the sub-GHz radio and the power consumption of the core module?
Hello community,I am new to stm32, and I need to read the temperature from the internal sensor of a stm32g4vet6.I am at the point where I have read many things and have discovered that not all stm32's internal temperature sensors must be used the same way.Currently I have asked to connect vref and temperature sensor to ADC5, asked for calibration of ADC5, and configured high values for the sampling time, and I can read adc-measured values for vref and temperature.I can compute a temperature withtemperature = (130 - 30) * (Adc.Raw[0] * 33 / 30 - *TEMPSENSOR_CAL1_ADDR) / (*TEMPSENSOR_CAL2_ADDR - *TEMPSENSOR_CAL1_ADDR) + 30;and I get plausible but unstable values. (the nominal value of my Vref is 3.3 V)However I wonder if I should use the value of Vref measured by the ADC, and *VREFINT_CAL_ADDR, to get more stable values, and how ?
Hello, I am looking for guidance regarding the STM32H533 MCU, specifically in the area of secure and non-secure memory management.Could you please let me know if there is a dedicated application note that explains how to store and manage encrypted keys on the STM32H533?Additionally, is there an application note or reference that provides a step-by-step example demonstrating the use of secure flash, secure memory, or secure storage on this MCU? Thank you for your support.Best regards,Aymen
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.