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
So coincidental enough all the projects I have done before required a RTC /w LSE. I am now working on a project that does not need a LSE, and I am finding that TF-A keeps throwing a panic because of this. The protos we had fortunately had the circuit DNL, so adding an LSE clock fixed the problem. Is there a way to disable this? or at least use the LSI? I tried configuring it to use the LSI but still same panic. //Error MessageNOTICE: Early console setupPANIC at PC : 0x2ffe6b5bException mode=0x00000016 at: 0x2ffe6b5bThank you for any help.
We have designed a product using the MP257, and based the board layout of the EVK and we are now taking the combined product through RED & FCC testing.Generally the board is very quiet, but we are experiencing problems with the Ethernet clocks and we are seeing strong 125MHz & harmonics emissions.We are using the RTL8211F and haven't changed the traces associated with the EVK, we loaded the design into Altium, and made a few changes.My question is about Clock sources, what is the best way to run the 125MHz, by default CubeMX seems to generate clock, and the RTL8211 also seems to generate a clock, is this correct?I can see 4 125Mhz on the spectrum analyser, 3 very close together, I believe from the RTL8211 crystal and 1 approx 40 KHz apart which I assume is from the MP257, does this seem to make sense?The switch functionality is working
Hi Community Members,We are using a MYB-LD25X development board and are able to boot Linux successfully on the A-core. However, we are facing issues when debugging Cortex-M33 code generated by STM32CubeMX. Although we assign the required peripherals exclusively to the M33 core, the initialization code generated by CubeMX does not work as expected. When the M33 firmware starts, it consistently enters a HardFault. Has anyone experienced a similar issue with the MYB-LD25X / STM32MP2 platform? Any guidance on correct peripheral assignment, resource management (RIF/ResMgr), or CubeMX configuration for M33 debugging would be greatly appreciated.Thank you in advance.
My hardware design has finalized STM32H563 MCU (from ST Microelectronics) to interface 5-port managed Ethernet Switch (KSZ8795 from Microchip). I'm tried to use orix board library code but unable to make it run.I have following questions,1. Is KSZ8795 intended to work with Microcontrollers as opposed to microprocessor which used Linux/Windows as a de-facto OS.2. Is KSZ8795 compatible with STM32H563 MCU?3. Is KSZ8795 driver port available for FreeRTOS?
I made a mistake and set PC2 as an ADC input and PC3 as an GPIO_EXT. The IDE does not warn you when setting the pin to GPIO_EXT, it only shows the warning in the ADC, so I missed it since the ADC was already set.The question is, is there anyway to make this work. The issue I am seeing is the ADC is reading incorrectly. The GPIO_EXT works fine. Thanks.
Original title: MOSI is not responding in SPI interface TI C2000 MCU & L9026 Edited for clarity. Hi All, We are having SPI interface between TI C2000 MCU (TMS320F28P659DK8-Q1) and High Side Driver(L9026) the Our Target Board. Here are some observations regarding SPI communication. MISO(L9026) is not responding, not giving We are able to send data in L9026 & MISO is responding. Supply voltage of VDDIO=3.3V, VBATT=12V, IDLE (HIGH)=3.3V, IN0(HIGH)=IN1(HIGH)=3.3V,(All voltages are within the limit as per L9026 datasheet). I have attached the logs for that. We Sent in MOSI CFG_1: 0x8900 (put device in active mode, frame counter = 0). We sent in MOSI STA_1:0x4403 , but the response is 0x2201, not able to read device status register. We also checked in Idle mode too Supply voltage of VDDIO=3.3V, VBATT=12V, IDLE (HIGH)=3.3V, IN0(LOW)=IN1(LOW)=0V, in all the cases response not able to read device status register. I have attached the logs for that.  
Hi everyone,I’m trying to control the backlight brightness of the display on my STM32N6570-DK using TIM8, channel 2 complementary (CH2N) in PWM mode (it's correct?).Current setup:TIM8 clock: 100 MHz (APB2 peripherals)Prescaler: 49Auto-reload (ARR): 99 → theoretically 100 brightness stepsPWM mode: PWMN (CH2N)Output: connected directly to the display BL pinTimer started with HAL_TIM_PWMN_Start(&htim8, TIM_CHANNEL_2)Problem:PWM only works when using very high PSC and ARR values (e.g., PSC=512, ARR=3126), but then the PWM frequency is very low (~60 Hz).With proper values for ~20 kHz PWM and 1000 brightness steps (PSC=4, ARR=999), the display is either fully on or fully off — no intermediate steps are visible.The display pin seems to accept only CH2N, not CH2 normal.Questions for the ST community:Is there an “official” way to drive the STM32N6570-DK backlight using PWMN with linear, visible steps?Are there any STM examples for backlight PWM on this DK board using TIM8_CH2N?Thanks in adv
Hello ST Support Team,While reviewing the current sensing configuration of the EVSPIN32G4-DUAL board, I noticed a mismatch between the schematic and the description shown in Motor Control Workbench.In Motor Control Workbench, the current sensing section explains the presence of resistors related to the current sensing configuration.However, when I check the EVSPIN32G4-DUAL schematic, it is difficult to identify where these resistors are located, or which components correspond to the description shown in the tool.Could you please help clarify the following points?Which specific resistors or components in the EVSPIN32G4-DUAL schematic correspond to the current sensing resistors described in Motor Control Workbench?Is the current sensing implemented as single-shunt or another configuration, and where is this reflected in the schematic?Is there any additional documentation or reference design note that explains the current sensing implementation more clearly?I would appreciate your c
Hello, I am making a new project by importing the .ioc file of example code "Ux_Device_CDC_ACM" of STM32U5G-DK2. All the .c files of USB_stack and Azure_RTOS are also copied from the example project. Both, example project and My project, look same. My project builds also successfully. But no COM/ACM port is being formed after loading the project to STM32U5G-DK1 whereas, COMM port is being formed with Example project. What can be the reason ? Please help. NOTE: USB Device mode Example project in repository is provided for STM32U5G-DK2 and not for DK1. So. we are trying to make a USB Device code by referring to this DK2 example. With regard, Sudarshan Chaudhary
Hi STM team, I would like to know if/how I can simply connect e.g. the ST67W611M1 or another WiFi module to a switch IC, e.g. the KSZ8795CLXIC, without needing a microcontroller. Or is there a switch IC that can be connected directly to the ST67W611M1, e.g. with SPI?If possible, do you have an application, a sample circuit or a development board for me? Thanks in advance! Best regards, Christos
Hello!I tried to generate the code for SDMMC using CMake, but was facing an error that did not let me finish building the project. The error was:".../FileX/Target/fx_stm32_sd_driver_glue.c:40:(.text.fx_stm32_sd_init+0xc): undefined reference to `MX_SDMMC1_SD_Init'".Also, using ThreadX and FileX. In FileX I enabled the setting "FX Driver Initializes the SD IP" (set to true).I saw that the MX_SDMMC1_SD_Init function is inside the main.c file, but it is declared with the "static". So, right now, to be able to build the project with CMake, I need to manually remove the "static" from the MX_SDMMC1_SD_Init function definition in main.c file.
Hi im working on stm32mp257f-ev1 and the "edt,etml0700z9ndha" display,Im unable to decode the logic why the back-light enable gpio only gets high when there is a display connected in the lvds port, what logic is used to detect the lvds display connection.Since i only see the display logs during boot only when there is a display connected, i need clarification regarding this from which driver this logic is implemented, and in the compatible string "edt,etml0700z9ndha" this is used but i found no driver with this compatible list.If in case i want to use the RVT101HVLNWCA0 what driver should i use and can i get a sample device tree for this display panel_lvds: panel-lvds { compatible = "edt,etml0700z9ndha", "panel-lvds"; enable-gpios = <&gpiog 15 GPIO_ACTIVE_HIGH>; backlight = <&panel_lvds_backlight>; power-supply = <&scmi_v3v3>; default-on; status = "okay"; width-mm = <156>; height-mm = <92>; data-mapping =
Hi,Can the VPS_TX pin be powered with a voltage different from VPS? Specifically, can you connect VPS_TX to 5 V while VPS is at 3.3 V?I think it should work, but I would like your confirmation as I couldn't find this information in the datasheet.Thank you for your support.Marco
Hello,I am trying to get the audio data from ADF1. Therefore I use the GPDMA as shown in this example: https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U575I-EV/Examples/MDF/ADF_AudioRecorder. I am developing on a B-U585I-IOT02A.My problem is, that I seem to receive only 0x7FFF. I am not sure I do not receive valid or realistic values. Unlike in the example I want to put the received data in a TX_Queue later and handle them in another task.Please find my code attached below. I would be very grateful for hints and suggestions.Thank You!K.S. MDF_HandleTypeDef AdfHandle0; MDF_FilterConfigTypeDef AdfFilterConfig0; DMA_HandleTypeDef handle_GPDMA1_Channel10; MDF_DmaConfigTypeDef DMAConfig; int16_t RecBuff[REC_BUFF_SIZE * 2U]; volatile uint32_t DmaRecHalfBuffCplt = 0; volatile uint32_t DmaRecBuffCplt = 0; extern DMA_QListTypeDef ADFQueue; void SystemClock_Config(void); static void SystemPower_Config(void); static void MX_GPIO_Init(void); static void MX_G
Is there a difference in firmware or other features between two batches (GQ20D 9U CHN2331E) and (GQ24G 9U CHN44811)? The 1st batch number is not booting everytime compared to the 2nd batch number, when pulling Pin26 high. The fault carries if I swap chips.
I'm using a STEVAL-MKI109D with the IR sensor STHS34PF80 and I need to fine tune it to detect objects with low IR emissivity, but everytime I want to load the log file into the IR Algorithm Tuning, the same error appears "Failed to parse log file". I've tried modifiying different things from the log, but everytime, I get the same error. Here is an example of a log file:# STEVAL-MKI231KA (STHS34PF80)time[us],t_object[LSB],t_object_comp[LSB],t_ambient[C],t_ambient_shock[LSB],t_ambient[LSB],t_ambient_shock_flag,motion[LSB],presence[LSB],presence_flag,int_1638,-614,-614,23.470,0,2347,0,0,0,0,0638,-671,-671,23.540,0,2354,0,0,0,0,0729188,-641,-641,23.490,5,2349,0,0,0,0,01736289,-659,-659,23.440,9,2344,0,15,15,0,02742002,-642,-642,23.450,7,2345,0,12,12,0,03748506,-626,-626,23.490,2,2349,0,19,19,0,04754121,-617,-617,23.510,0,2351,0,30,30,0,0Any idea on what could be happening?
Hello everyone, as part of a project, I would like to control a NEMA 17 or 23 stepper motor via UART. A TMC2209 driver is being used, and the software environment is STM32 CubeIDE. For reasons we cannot explain, we are unable to get the motor running. I am open to any tips that could help us get the motor working. The code can also be provided if needed. Thanks in advance for all feedback :)
Dear All, I just stat to evaluate the MC SDK. My platform: MC SDK v6.3.0, NUCLEO-H563ZI, X-NUCLEO-IHM08M1. Have anyone know what's the difference between "Dead Time" and "SW Dead Time" as follow figure?Per it's default configuration, (SW dead-time is 850ns, dead time is 1000ns), what is the exact value of dead-time to the power stage?Best Regards,
Hi Team,I am using the following method to enable password protection for both SSH and serial login.I added the below configuration in local.conf:INHERIT += "extrausers" EXTRA_USERS_PARAMS += "\ usermod -U root; \ usermod -p '\$6\$ao/KaHyZbsgvo2RD\$QUzqRGclDHxnOv8BiGImYO10QX0YwmLh6XVjvqcEVg6976kyhNarzpX4rjCimbGSuM2d.2GOehoCFzHCx6jcd0' root; \ "I also made the following changes:Serial login (serial-getty@.service):ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERMSSH configuration (sshd_config):PermitRootLogin yesAfter enabling password protection, scripts placed under /etc/profile.d no longer run automatically. These scripts only execute after I manually log in to the shell. Previously, they were used to start some required functionality automatically.Those scripts launch Python code using Qt (PySide6) and play video using Qt Multimedia. I attempted to move this logic into a systemd service, but when running from a service, I encounter hardware decoder issues while playing
According this article: https://wiki.st.com/stm32mpu/wiki/GPU_internal_peripheral. It is not supported configuration for OpenSTLinux BSP. Can I manually assign or enable GPU with the x-linux-qt image? If yes, how?
Question moved from this post. If I have two devices on the same PCB. say an F7 and an MP157, can the CAN_TX of one be connected to the CAN_RX or the other without a CAN transceiver? Similar to UARTs on the same PCB. Maybe series resistors would be required, or pull ups?
Hello, I have bought an ISM330BX | Product - STMicroelectronics and a STEVAL-MKI109D | Product - STMicroelectronics. I can get it to stream data by using: *setdb245ka *zoff *gw1009 *gw1109 *startOR*debug For debug this streams something like:AX = -7303 AY = -4734 AZ =-13823GX = -429 GY = +271 GZ = +358QVAR = +0 QVAR_FILTERED = +0 For start, it is binary and i can convert it. According to page 21 of this manual, STEVAL-MKI109D Professional MEMS Tool motherboard for MEMS adapter boards - User manual , this is the returned value of *start: UIstring: s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL G_ZH G_ZL QH QL Q_FH Q_FL A_Int1 A_Int2 FSMLC_INT FSM1 StpL StpH DT1 DT2 DT3 DT4 TL TH sw1|sw2 \r \n TDMstring: t d A_XH A_XL A_YH A_YL A_ZH A_ZL 'T' \r \n SFLPstring: s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL G_ZH G_ZL Q0_L Q0_H Q1_L Q1_H Q2_L Q2_H gbia
I try to get the HSE working on a Nucleo-U385RG-Q board by the standard settings in the STM32CubeIDE, but can't get it to work. I changed the default soldering connections per the UM3062 User manual to SB19 and SB21 Off, SB20 Off, SB3 and SB4 On. I monitored the HSE by redirecting it to the MCO pin (PA8 / D7). but got no signal. I monitored other clock signals, like the external LSE and the internal high speed oscillator via the MCO pin and had no problem to get a signal out.Though the Cube's settings should start up the HSE, it didn't, and even when I added a line of code (RCC->CR |= RCC_CR_HSEON;) to enable the HSE oscillator, I did not get anything.I have no problem to get this working on a Nucleo-C092RC board, so I wonder whether there is something wrong with the HSE oscillator on the Nucleo-U385RG-Q or with the soldering settings recommended in the manual.I would appreciate any feedback, because I purchased more than 100 of these boards to use in an experiment, and I
Hi,everyone.I measured the power consumption of LIS2MDLTR on the same board in power-down mode.and found that the LIS2MDL chip on STEVAL-MKI217V1(from mouser) consumes less power than the LIS2MDL purchased separately from mouser.We have some question and need your help. What is the power consumption LIS2MDL in power-down mode ? Why do the parameter differ between LIS2MDL chip on STEVAL-MKI217V1 and LIS2MDL purchased separately?
Hi,STM32G484 is running well with FreeRTOS.The only thing left is to transfer the USB communication into the RTOS-task.Is it possible to redirect the function pointer, which is used now, to another function?Greetings,ErX
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.