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
Looking at the Ethernet PHY circuit of the STM32H735G-DK, the MCU and MAC are connected via the RMII interface, and a pin named "RMII_RX_ER" is connected to the MCU.However, if you configure it for RMII in CubeMX (version 6.18.1), this pin does not activate normally. If the user manually activates it with the mouse, the pin is marked in yellow, meaning the function is not properly enabled Therefore, I checked the official Demo FW located in STM32Cube\Repository\STM32Cube_FW_H7_V1.13.0\Projects\STM32H735G-DK\Applications\LwIP\LwIP_TCP_Echo_Server\STM32CubeIDE, and even there, the pin is configured as GPIO_AF11_ETH. I am curious why it was designed and developed this way when it only gets configured but doesn't actually function. Is it just missing from the ETH group in the CubeMX DB? Or is it originally an unsupported feature, but ended up like this because an existing circuit design was just recycled?
I noticed that stm32c5xx_hal_fdcan.c uses C language bitfields to access device registers. Since bitfields are compiler specific, every knowledgeable embedded software engineer knows that using bitfields to access device registers is non-standard and not to be used. I suggest that using bitfields to access device registers be changed. You can refer to STM32CubeH7 for correctly accessing device registers. BTW. I tried to open a support issue in the on-line support, but received the following error:Case_trigger: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0 with id 0033W00000YERuSQAX; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Please specify a valid Zip Code: [] Class.CaseUtility.addInfoToContactAndLead: line 231, column 1 Trigger.Case_trigger: line 38, column 1
so this is my data acquisition system, i want you to suggest some improvements in it. as the adc + dma ping pong buffer is working fine, but after that the conversion and its transmission via dma+uart ping-pong buffer is so much miserable. there is no synch between these buffers.here is my project:Vishwas1523/dataAcquisitionSystemPS: i am using stm32 nucleo f446re
Hello everyone,Actually I am making a data acquisition system in which my mcu takes analog data from a sensor and stores it in a buffer, and then into a 2nd buffer with the help of DMA in double buffer mode. Now i want to transfer this data via UART to my screen with the help of PuTTY with the same ping-pong architecture. For this i need to convert 12 bit adc value to data suitable for uart (8 bit). which i do with the help of a function without any issue and then store them in different two buffers. now the thing is that i want a system in which when buffer 1 is being filled by adc, buffer two will be transferred by uart and vice versa, now the main problem is that there is no sync between the buffers and the ownership. and it is mostly due to the conversion and size of buffers (uart buffers are twice the size of adc buffers) as i am using double buffer transmission mode in DMA controllers of both adc and uart.So do you think i should use single buffer transmission with circular buffe
Hi ST Community, I’ve connected a MP23DB01HPTR MEM MIC to the STM32N6 Nucleo’s MDF1_SDI3 and MDF1_CCK0 and here is my connection. I am using“ Projects/STM32N6570-DK/Examples/MDF/MDF_AudioRecorder” as a reference and according to the information on Github, the CCK0 should be 2.048 MHz Which I am measuring almost the same frequency on the CCK0 pin of my board : 2.03393 MHz In my project, instead of sending the data to SAI, I am sending the data to USART 1, which I’ve set the BaudRate to 921600. My code has three callback functions:void HAL_MDF_AcqHalfCpltCallback(MDF_HandleTypeDef *hmdf)void HAL_MDF_AcqCpltCallback(MDF_HandleTypeDef *hmdf)void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) The USART 1 is sending the first half of the MDF buffer when the AcqHalfCpltCallback is triggered, and then the second half when the AcqCpltCallback is triggered. on my computer I wrote a python script where it is receiving the audio raw data via serial port and save it into a WAV file. However
Hello all,I can't download the STM32CubeIDE even as I am registered. There seems to be somthing broken with the Web page. I have tried several browsers. This is what I get, so there is no download button and the table is garbled:Any help appreciated.Johannes
Hello,We are designing an EVSE for a North American 120/240-V split-phase supply. The EVSE is connected to L1 and L2, with a nominal voltage of 240 V RMS between them. Neutral is not available at the EVSE.We would like to use the STPM34 to measure the L1-to-L2 voltage and calculate the load power and energy. Current sensing is implemented separately using current transformers and is not shown in the attached schematic.Our proposed voltage-sensing circuit uses the primary differential voltage channel as follows:L1 is connected to VIP1 through three series 560-kΩ resistors. L2 is connected to VIN1 through an identical resistor chain. Each input has a 1-kΩ resistor and filter capacitor connected to the local analog ground, iGND_A. iGND_A is the local ground of the isolated STPM34 metrology domain. It is not connected to neutral or protective earth.The intention is to create a symmetrical differential divider so that the voltage between VIP1 and VIN1 is proportional to the L1-to-L2 voltage
Hi All,Where can I find the pin map xml file for the SPC584B-DISP demo board ?
Body:I would like to replace the AI model in the STM32N6570-DK sample project "STM32N6-GettingStarted-ImageClassification" and run it in standalone mode.Purpose:My goal is simply to try running different AI models, not for development purposes. I would like to confirm operation by powering the board ON/OFF without using a debugger.Environment:Board: STM32N6570-DK IDE: STM32CubeIDE 2.2.0 STM32CubeAI StudioWhat I want to do:I am currently trying to generate C code using STM32CubeAI Studio from the following AI model provided by STMicroelectronics, and replace the files in the sample project:https://github.com/STMicroelectronics/stm32ai-modelzoo/blob/main/image_classification/mobilenetv2/Public_pretrainedmodel_public_dataset/ImageNet/mobilenetv2_a035_128/mobilenetv2_a035_128_int8.tfliteI am also interested in whether it is possible to run third-party AI models in the same way, such as models from the following repository:https://github.com/PINTO0309/PINTO_model_zooQuestions:What is the co
Can anyone please pint me out to a BSDL file useful for STM32H7A3VIH6Q ? Thank youGabriele
The STM32MP2 supports gstreamer. There is a version of Gstreamer for streaming through the WebRTC protocol.Another library for streaming though the WebRTC protocol would be LibWebRTC.My question is if the STM32MP2 have support for LibWebRTC as well? Thank you for your reply
Hello Everyone,I have a two arduino boards communicating with each other on a CAN Bus. Arduino is connected to CAN Bus via MCP2515 .Both arduino are communicating correctly with each other. Here is an example of my transmitter on arduino:/*************************************************/#include <SPI.h>#include <mcp2515.h>/*******************MESSAGES DEFINITIONS*****************/#include <SPI.h>#include <mcp2515.h>struct can_frame canMsg1;struct can_frame canMsg2;MCP2515 mcp2515(10);void setup() { canMsg1.can_id = 0x0F6; canMsg1.can_dlc = 8; canMsg1.data[0] = 0x8E; canMsg1.data[1] = 0x87; canMsg1.data[2] = 0x32; canMsg1.data[3] = 0xFA; canMsg1.data[4] = 0x26; canMsg1.data[5] = 0x8E; canMsg1.data[6] = 0xBE; canMsg1.data[7] = 0x86; canMsg2.can_id = 0x036; canMsg2.can_dlc = 8; canMsg2.data[0] = 0x0E; canMsg2.data[1] = 0x00; canMsg2.data[2] = 0x00; canMsg2.data[3] = 0x08;
I have two boards, one with STM32F303 with CAN 2.0 and a new board (same electronic, only MCU is different) with STM32G474. Software is identical too, except for the CAN/FDCAN. So I had to migrate the software from CAN 2.0 to FDCAN Classic in order to communicate with the other system boards. In the treatment of the received frames, I noticed that the CAN 2.0 is faster in managing the communication than the FDCAN Classic. Can anyone confirm that ? and if so why does it take so long to the FDCAN classic ? As I send frames to both board, the STM32F303 program timing isn't affected, for the STM32G474 I measured a delay of some ms. Clocks are as follow:STM32F303 : CPU: 72 Mhz CAN baudrate: 500Kb/sSTM32G474 : CPU: 170 Mhz FDCAN classic baudrate: 500kb/s
i am using cube mx version 6.18.0and cube ide v2.2.0my question is is there a way to create a new project from an already existing ioc filei don’t want to do all the ioc setting all over again, it will take like hours to do all the settings.
hi there.I'm trying to CAN transmit on my target board.my board is not to send CAN message on stm32cubeide . but I confirmed that my board send CAN message on mbed.Can I how to send CAN message on stm32cubeide?? I intended CAN baudrate 500kbps, sampling point 75% and my apb1 clock is 18Mhz, HSE is 8Mhz, and my crystal is 8Mhz.below is printf() debug message when my board running and stop.Always debug message show me the message such as below..<Can Send Success: 1<Can Send Success: 2<Can Send Success: 3<Can Send Success: 4<Can Send Success: 5<Can Send Success: 6<Can Send Success: 7<Can Send Success: 8<Can Send Success: 9<Can Send Success: 10<Can Send Success: 11<Can Send Success: 12<Can Send Success: 13<Can Send Success: 14<Can Send Success: 15<Can Send Success: 16<Can Send Success: 17<Can Send Success: 18<Can Send Success: 19<Can Send Failmy source code attached .please check my error...regards..
Hi all,I have a CAN 2.0 network up and running with a F407 and some F103. I added a board with a G0B (fdcan). I couldn't get my hands on a FDCAN-tranceiver. I tried to get it working in classic mode (from repository example) with a CAN2.0 tranceiver. I cannot receive any message.So my question is:Is it even possible to configure the G0B to work with a classic CAN2.0 tranceiver?If yes, what would the FDCAN config look likeThank you in advance!Best regards,Philipp
I've been working on getting the STM32f7-EVAL operational to later on migrate it to STM32F767II. For this we decided to split up functionality into 3 sections, there is a forward facing application that has the main and specific business logic. Currently the main issue is that the CAN bus transmit (polling) is working flawlessly yet the receive (interrupt) seems to be non-functional. RF0R.FMP0 remains at 0x0, while FMPIE0 is set (1). it seems as if CAN_RF0R is disabled for some reason. Even though CAN_RX0_IRQn is enabled. /* CAN1 interrupt Init */ HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 0, 0); HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn);also the notification is enabled:HAL_CAN_ActivateNotification(&canDef, CAN_IT_RX_FIFO0_MSG_PENDING); after the NVIC and CAN are initialized.void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan)is the callback that i'm using.I also verified using messages coming into the MCU by scope and logic analyser. There is an additional device attached to the CA
Hello,I'm trying to set up an interrupt when my FDCAN controller received a CAN message. MCU is an STM32G0B1I went into STCubeMX and I enabled these interrupts:This generated some new functions instm32g0xx_it.c:void TIM16_FDCAN_IT0_IRQHandler(void){ /* USER CODE BEGIN TIM16_FDCAN_IT0_IRQn 0 */ /* USER CODE END TIM16_FDCAN_IT0_IRQn 0 */ HAL_FDCAN_IRQHandler(&hfdcan1); /* USER CODE BEGIN TIM16_FDCAN_IT0_IRQn 1 */ /* USER CODE END TIM16_FDCAN_IT0_IRQn 1 */} /** * @brief This function handles TIM17, FDCAN1_IT1 and FDCAN2_IT1 Interrupt. */void TIM17_FDCAN_IT1_IRQHandler(void){ /* USER CODE BEGIN TIM17_FDCAN_IT1_IRQn 0 */ /* USER CODE END TIM17_FDCAN_IT1_IRQn 0 */ HAL_FDCAN_IRQHandler(&hfdcan1); /* USER CODE BEGIN TIM17_FDCAN_IT1_IRQn 1 */ /* USER CODE END TIM17_FDCAN_IT1_IRQn 1 */}This appears to call this function for RX FIFO on 0 and 1 /* Rx FIFO 0 interrupts management ******************************************/ if (RxFifo0ITs != 0U) { /* Clear the Rx FIFO 0 flags */ __HAL_FD
Hello ST Community,I am working with the STM32H7RS-DK (STM32H7S78-DK) board and trying to program/activate the Open Bootloader using STM32CubeProgrammer.The Open Bootloader .bin file downloads successfully to RAM, but the Init Open Bootloader operation fails with an acknowledgement timeout.Provisionning logs========== Provisioning of OEMiROT boot path===== Application selected through env.bat: ..\..\..\Applications\ROT\OEMiROT_Appli===== Product state must be Open. Execute \ROT_Provisioning\DA\regression.bat if not the case.===== DTCM/ITCM_AXI_SHARE is going to be forced to 0 for the provisioning steps===== (if needed uncomment DTCM/ITCM_AXI_SHARE lines with the wished value in the ob_flash_programming script).=====Step 0: Preliminary stage * Define product state value (* default choice)OPEN [ OPEN | CLOSED* | LOCKED ]: CLOSED * Define Debug Authentication method (* default choice) [ CERTIFICATE* | PASSWORD ]: PASSWORDStep 1: Configuration management * OEMiROT_Config
Hello Dear Community:I am facing the following issue. I generated the project from Cube32MX for STM32C542RCT6.I modified the following lines seems that a bug is present in the AF aka alternate functions. * @file : mx_i2c1.c* @brief : I2C1 Peripheral initializationHAL_I2C_EnableAnalogFilter(&hI2C1); /* ### I2C1 GPIO Configuration ########################### *//* GPIO Clocks activation */HAL_RCC_GPIOB_EnableClock(); hal_gpio_config_t gpio_config; /**[GPIO Pin] ------> [Signal Name] PB8 ------> I2C1_SCLPB9 ------> I2C1_SDA**/gpio_config.mode = HAL_GPIO_MODE_ALTERNATE;gpio_config.output_type = HAL_GPIO_OUTPUT_OPENDRAIN;gpio_config.pull = HAL_GPIO_PULL_NO;gpio_config.speed = HAL_GPIO_SPEED_FREQ_LOW;gpio_config.alternate = HAL_GPIO_AF4_I2C1; => HERE IS THE MODIFICATIONHAL_GPIO_Init(HAL_GPIOB, HAL_GPIO_PIN_8 | HAL_GPIO_PIN_9, &gpio_config);In the main:/** You can start your application code here*/for (uint8_t addr = 0x08; addr < 0x78; addr++) {if (HAL_I2C_MASTER_Transmi
Hello,I apologize for any obvious questions, but I am new to CAN and STM32 programming. I have written a code that successfully sends CAN messages to a CANalyzer for data interpretation, so I believe I have enabled the CAN portion correctly. My next objective is to send a message from a CANalyzer to the MCU and have it turn an LED on when it properly received the message. I am using an evaluation board (STM32H7B3I-EVAL).I attached a copy of my main.c file.What I would like to know is how to enable an RX interrupt handler so that I can receive CAN data.What do I have to add to the main.c to make that happen?
Need India FAE contact details for supporting development issues for ST64UWB
HiI have a question about the current limitation embedded in the RHFL4913, as there is an inconsistency between two information in the last datasheet (Rev22).in the Table 5 (§4), we can find the “Iolim” (overcurrent protection limitation) range defined as 0.8A minimum and 2A maximum. In the §5 (Figures 42 and 43) we can see that the minimum recommended value for “Ish” is about 0.75A. If we divide this value by 1.6 to get the corresponding “Iolim” value, we obtain 0.47A. This is not consistent with the 0.8A value found in the table 5.Can anybody help me with this problem ? Maybe the Figures 42 and 43 are considering “Iolim” instead of “Ishadj” ? Or there is a mistake in the Table 5 ?Thanks for your helpregardsPhilippe PELEGRI
Updated to the latest version and found that VSCode starts very slowly. It was discovered that the problem lies with the STM32Cube.I have exported the startup time of VSCode.The time taken by STMicroelectronics.stm32cube-ide-build-cmake is 335054ms,~6minSTMicroelectronics.stm32cube-ide-core is 23993ms
Hello,We are using two ST67W611M1U modules (no on-module antenna; external 2 dBi dipole on MHF4) with an STM32H563ZG host, bare-metal, SPI host interface at 10 MHz (the same behaviour was reproduced at 20 and 40 MHz). AT firmware reports AT version:1.0.0.1 (Sep 4 2025 11:32:47), macsw 1.6.44; we are working from the Web AT Documentation v2.0.106.Topology: one module runs as SoftAP (AT+CWMODE=2, AT+CWSAP="…","…",1,3,4,0, AT+CIPMUX=1, AT+CIPSERVERMAXCONN=3, AT+CIPSERVER=1,5000,"TCP", AT+CIPRECVMODE=1), with two stations attached: a second ST67 module and a Windows PC. Steady-state traffic is about 36 kB/s outbound from the AP to the PC (AT+CIPSEND=<link>,1024, ~40 per second) plus about 10 kB/s inbound from the second module (passive receive, one AT+CIPRECVDATA of ~1 kB per 100 ms).We have collected several hundred boot/join cycles with full host-side logs and would appreciate answers or pointers on the following points.1. Static station IP is never applied to the interface. On the
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.