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
I have ST win BX1 development board and I am using Zephyr RTOS for my development. I am not sure, How can I use the WiFi module on this board.First, the module is connected over SPI and I have tried to send some AT commands but I did not get any response.So, do I need to update firmware first? my answer is no because it comes already with the firmware installed.I tried SPI with CS pin low and WiFi-EN pin High.
Hi we need a clarification on this controller STM32L4Q5RGT6 here it is mentioned as voltage range V1 and voltage range V2. can you clarify what voltage exactly refers to Voltage v1 and v2 and in which IO volt does this OCTOSPI works.
Hi everyone.I'm using the STM32U073Mx / LQFP-80 pin.While designing a schematic, I ran out of ports, so I'm curious to see if I can use the VDD (battery voltage) to VBAT pin trick to measure the battery voltage. I'm looking at the datasheet and reference manual(RM0503).For reference, I'm using VREF+ as an Internal voltage reference mode to measure the temperature sensor (will use thermistor's power source), so I can no longer use the VREF+ pin as an input.So, I'm trying to configure it as needed.When measuring the thermistor temperature sensor, I use VREFBUFF(Internal voltage reference mode) to power the thermistor. And for normal ADC operation, VREFBUFF(maybe Hold mode) is connected as the ADC reference voltage.Anyway, I found the following sentence in the RM documentation, and I'd like to know its exact meaning.[Temperature sensor, DAC output, VREFINT and VBAT internal channelsThe temperature sensor is connected to channel ADC VIN[11].The internal voltage reference VREFINT is co
Hi,after updating STM32CubeMX, I was no longer able to start the program without admin rights.In the past, I always used STM32CubeMX integrated with STM32CubeIDE and was able to update everything without any admin rights. Starting with version 2.0.0 of STM32CubeIDE, STM32CubeMX was removed, so I installed it separately (STM32CubeMX 6.16.0). For the installation, my company's IT department selected the installation for all users, and until now I have been able to use the program without any problems.I needed to update STM32CubeMX to the new version 6.16.1, and that's where I ran into my first problem: I couldn't update to the new version without admin rights, so I had to contact the IT department to do the update. The big problem is that after the update, I was no longer able to start the program without admin rights, and the quickest solution was to uninstall STM32CubeMX and then install version 6.16.1 directly. Now I can use the application again without any problems, but I would like
Hello Forum,I’m working with a custom display that uses an ST7789V controller (GRAM) connected via FMC and MDMA.The single framebuffer is located in .RAM2.The microcontroller is an STM32H750.The application (the .text section) runs from QSPI flash, while the internal flash contains only the bootloader.Some widgets (such as TextArea) are rendered correctly, but others (like ToggleButton) appear corrupted.Additionally, the background image shows horizontal line artifacts.Please compare the two pictures:The first image is the expected reference.The second image shows the artifacts — the button is distorted, and the horizontal lines in the background image should not be there.Has anyone experienced similar issues or has suggestions on what might be causing this behavior?
Hi,we are planning to use STM32H742xI/G controller in our design, we have reviewed the datasheet and need a clarification on the IO logic for QSPI.Does this controller supports 1.2v IO logic for the QSPI.
Hi, I tried to find a solution in the forum, but unfortunately without success.The problem is as follows: I need to generate a PWM signal that changes the period (not the duty cycle) with each iteration. (MCU: STM32F411)I'm setting up the timer to use a PWM output on channel 1:Global interrupts are also active: Then the DMA will be configured to update the ARR register:In the code the DMA will be activated as following:for (int i = 0; i < 32; i++){u32FreqUpdate[i] = 2000 + i*100;}// Activate PWM channel 1:TIM_CCxChannelCmd(htim4.Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);// Activate PWM output:__HAL_TIM_MOE_ENABLE(&htim4);// Activate ARR Update:HAL_TIM_Base_Start_DMA(&htim4, u32FreqUpdate, sizeof(u32FreqUpdate)/sizeof(uint32_t));As a result:The Output updates 3 times (without to change the frequency (period)) and then PWM Stops...Could someone explain me, what I'm doing wrong?
I have a NUCLEO-071RB development board.Is there a ready to run example for this board somewhere?I tried to generate a bare bone example with CubeMX.The code loads and runs but hangs in here:MX_ThreadX_Init => tx_kernel_enter => tx_initiali ze_kernel_enter =>tx_application_defineThe code enters infinite loop here, with the status==255memory_ptr = (VOID *)&ux_device_app_byte_pool;status = MX_USBX_Device_Init(memory_ptr);if (status != UX_SUCCESS){/* USER CODE BEGIN MX_USBX_Device_Init_Error */while(1){}/* USER CODE END MX_USBX_Device_Init_Error */}I can of course debug that further but rather than going down that rabbit hole the first thing with this processors I would be prefer and example code that compiles, loads, runs, initialises and enumerates correctly as HID as a starting point.
Hello There i am using https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_FreeRTOS this example ,in that there is timer used for sent the data , i want RTC for send data for particular time and all how can i do ???
Hi Community,I am facing an issue with my custom bootloader not jumping to my main application after firmware upgrade. However, i am able to jump to application during a normal power cycle. The firmware transfer is done through USB CDC using a serial utility.exe and the data is stored in bank 2 of the flash. After this my application sets a value(flag) to a memory location for my bootloader to know firmware copy to be done. My application now jumps to bootloader to do the copy of firmware, clear the flag and jump to updated application. I am sending a response to serial utility before jump. I notice that sometimes the usb state is not ready and it doesn't send the response. But sometimes it is ready and send response, but bootloader sometimes fail to jump to application properly. Please help me out. Thankswhile (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ USBPoll(); if(upgradeStatusFlag == FLAG_SET) { if(copyFirmwareToAppAddress()!= SUCCESS) { Error_Handl
Hi,at this moment I have two projects (BootLoader and Application), but I have some shared files.What is the best solution to share those files? Is it possible to create an 'empty' project, with only those shared files, and make the two projects depending on it?Or is it possible to add a directory, which can be handled by both projects?Thanks in advance.Greetings,ErX
Hello ST Community,I am currently working on my Final Year Project (PFE) and would appreciate your guidance regarding hardware and system design choices.Project Context (PFE)Objective:Develop a portable Edge AI–based system to detect worker fatigue in an industrial maintenance environment.Planned Technical Stack:STM32MP1 (Cortex-A7 + Cortex-M4)OpenSTLinux / YoctoTensorFlow LitePhysiological sensors: ECG / PPG, IMU, skin temperatureSpecific Questions1. STM32MP1 Board SelectionBetween STM32MP157F-DK2 (~120€) and STM32MP157A-DK1 (~90€), which board would you recommend for this application?Is the price difference justified for the F-DK2 in the context of a student project?Do you have any feedback regarding the stability and reliability of the onboard Wi-Fi/BLE?2. ST-Recommended SensorsAre there STMicroelectronics sensors compatible with the following needs?Heart rate sensor (PPG – ST equivalent to MAX30102?)6-axis IMU (accelerometer + gyroscope)Accurate skin temperature sensorAvailability
I like my digits to be monospaced so they don't dance, but I want letters to be proportional. I want to use 1 font for this. There are fonts that support this. These are called tabular fonts. They have monospaced digits and support figure space (0x2007) for alignment.There are fonts that support this that are also available in TouchGFX Designer:Segoe UIcalibriTahomaThis works. I wrote some code that replaces leading spaces before digits with digit spaces if the font supports it. This works really well and numbers no longer dance. Alternatively you can right-align a text field. But then you cannot have any text before it or you have to split the text in parts (so printf is not possible anymore and you might as well use two different fonts).Another way is to modify a font (make digits same width and remove kerning for digits, and add figure space). I've done this, but this is a lot of work. And this is not allowed for many fonts (our customer allowed us to do this).There are other fonts
Moved from this post . Hi @mƎALLEm ,Is VREFINT and VREFBUF output same?In documents I have seen VREFBUF can be set as 2.048, 2.5, 2.9, is that same VREFINT?
Hi,I’m using the STM32G491RET6 MCU and currently working on the ADC.I have three analog inputs:Two connected to ADC1One connected to ADC2At the moment, the ADCs are configured to use an external VREF+.I would like to switch to the internal reference instead:How do I configure the ADC to use the internal reference?How do I enable and configure VREFBUF?Does changing the VREFBUF voltage scaling affect the VREFINT value used by the ADC?If I use the internal reference, can the external VREF+ pin be left unconnected or removed?Any guidance or example configuration would be appreciated.
If this is configured incorrectly, will it trigger overcurrent protection?
Hello!i'm developing a firmware that use an SD card connected to USBX MSC, and i have a couple of question i want to understand better the ULONG *media_status value returned in the function :UINT USBD_STORAGE_Status(VOID *storage_instance, ULONG lun, ULONG media_id,ULONG *media_status) UINT USBD_STORAGE_Flush(VOID *storage_instance, ULONG lun, ULONG number_blocks, ULONG lba, ULONG *media_status) UINT USBD_STORAGE_Write(VOID *storage_instance, ULONG lun, UCHAR *data_pointer, ULONG number_blocks, ULONG lba, ULONG *media_status) UINT USBD_STORAGE_Read(VOID *storage_instance, ULONG lun, UCHAR *data_pointer, ULONG number_blocks, ULONG lba, ULONG *media_status) i'm hoping that value is related to the SCSI code value that windows need from a USB MSCis it true? beyond UX_SUCCESS which value can i use? for example to indicate the media as changed or is readonly?how can the functions ULONG USBD_STORAGE_GetMediaLastLba(VOID) and ULONG USBD_STORAGE_GetMedi
Eclipse and hence CubeIDE has this problem described here (and in the title):https://github.com/eclipse-platform/eclipse.platform/issues/2244#issuecomment-3533012572For Eclipse there is a patched version out there.Is there a timetable to get this fix out for CubeMX?Or instructions how patch CubeMX?
Hi Team,i am working in the daisy chaining bmscctx and bmscc using a Pi MCU. I was able to get the values using only bmscctx.now i am having issue when i connect the bmscc also.the problem i find is in the user manual3185, the figure for daisy chain is given as:and it says to connect ISO Hp to ISO Lm of the next node (that is opposite polarity).but when i looked in the L9963E datasheet, it is given as :Here ISO HP is connected to ISO LP (that is same polarity)so my doutb is which among the above should i follow. And due to this i think my values after daisy chain is not displayed.My second node is not assigning as my daisy chain is not configured correctly.( i am using mcu as pi btw)Thank You.
Hi all, I'm trying to get some knowledge about the use of OEMiRoT using the NUCLEO-H563ZI board following the ST Tutorial How to start with OEMiRoT on STM32H573 and 563–Arm® TrustZone® enabled - stm32mcu. Once the certificate chain has been created, I'm facing some problems with the Debug Authentication procedure: indeed, after setting the root key and root certificate in the Debug Authentication page of STM32CubeProgrammer, and selecting "Level 3 Intrusive Debug" as stated in section 3.2.1 of the tutorial, I receive both a "Debug Authentication Success" and a "Error: ST-LINK error (DEV_CONNECT_ERR)"; after this, I'm not able to read any of the data stored in the chip flash, neither with STM32CubeProgrammer or STM32CubeIde.This problem adds to those already mentioned in topic STM32H563: CubeProgrammer UART connect fails in PRODUCT_STATE = iROTProvisionedAm I missing something? All other levels of authentication, either secure or non-secure, are returning me the same error wit
I am using a Nucelo-429zi board for development and my custom PCB schematic is based on this board. I am experiencing a problem where about 10% - 20% of the time after a hardware reset the PHY will fail auto-negotiation. The green led does not come on and the amber led blinks. This happens even when on the debugger and the MCU is not allowed to run. I only have one Nucleo board so I cannot try another to see if the problem is unique to this board.Is this a known problem? seen before?What could it be? Possibly the clock circuit?
Hello, I have a pair of these boards on my hand, there is no information regarding WM-SG-SM-42_Shield_v1.0 board its jumpers pinout etc. Could you please provide a schematic or more detailed guide whats available? I've seen on early posts some got the reference design via mail. Could you please provide for me also? Thanks!
I am using STM32U575 (MCLK = 160 MHz) with ADC1 in scan mode (4 channels).ADC conversions are triggered by TIM3 TRGO and results are transferred by DMA in circular mode.Continuous conversion is disabled.TIM3 is configured to trigger ADC every 100 us (10 samples per ms).ADC results are copied to a snapshot buffer in HAL_ADC_ConvCpltCallback().In the application task, ADC values are read from this snapshot buffer every 100 us.However, I observe repeated ADC values (e.g. A, A, B, B…) instead of updated data at each 100 us read.Reducing the application read rate decreases the number of repeated samples. Is this behavior expected when using ADC scan mode + DMA circular?What is the recommended way to ensure ADC data is updated strictly at 100 us intervals(1 ms / 10 samples) without repeated values?Should ADC data be processed only in the DMA transfer complete callback,or is there a better synchronization method? Related code: //task for (uint8_t i = 0; i < POINTS_PER_MS
Do you consider this as aDo you consider this a crack?
Hi there,I'm attempting to use an STM32 U5 device to interface with another device over SPI, and am trying to do it using 48 bit SPI frames supported by this device.An illustration of what I'm trying to accomplish is below, the key is to be able to transmit and receive 48 bits of SPI data, and then cycle the CS (aka NSS) line between frames. I've successfully accomplished this by putting the SPI driver into 16 bit mode, and using the HAL to send 3 16 bit frames at a time, but this is proving to be pretty slow in terms of how fast the U5 can execute the 10 or so frames required. I do know the content of all the MOSI data at compile time, so I was wondering if there's a good way to use DMA (possibly with the linked list setup) to do this and move some of the load off the CPU, but so far I can't find a solution that allows the transmission of the 10 48-bit frames while also cycling the CS line between frames.Does anyone have any recommendations?
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.