STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Flash Read not working

I am using the SBSFU example in stm32l562edk devkit.I have modified flash_layout.h and I have added a 4 KB user data section in which I am trying to store user data from the application. I have ported a flash driver(read, write, erase) from the bootl...

PYada.1 by Associate III
  • 1720 Views
  • 4 replies
  • 0 kudos

Resolved! About CAN filter

HiMany CAN messages are flowing on the CAN bus.I would like to receive only ID 0x5C0 among these.Please let me know the suitable settings to receive only 0x5C0 as a hardware filter without any software intervention, without any load on the MCU.I wrot...

Ukazu by Associate III
  • 1548 Views
  • 5 replies
  • 0 kudos

STM32L4 ADC reading temperature stability

Our product uses a STM32L452 to measure the 4-20mA loop current of an external sensor. The product has an operating temperature range of 0-40°C.The STM32L452 datasheet (Tables 78 to 82) lays out the accuracy specs for the internal ADC but aside from ...

jminack by Associate
  • 1044 Views
  • 0 replies
  • 0 kudos

My laptop doesn't recognize STM32

Hi. I'm using STM32F446RET6 and F401RE, and I enjoy coding with those. I majorly use my desktop PC to develop. But for a long time, my laptop PC can't recognize my ST micro computer. So I can't develop with my laptop. Then I tried to upgrade ST-link....

Screenshot 2023-10-31 011454.png Screenshot 2023-10-30 231233.png Screenshot 2023-10-31 015643.png Screenshot 2023-10-30 231259.png
MED2972 by Associate III
  • 3179 Views
  • 9 replies
  • 0 kudos

Resolved! How DMA works in UART

Hello ! I've been wondering how DMA works in UART. I've checked some codes for example HAL_UART_Transmit_DMA(). I know it is set to sned 8 bit to peripheral. But I wondered when DMA knows that UART sent 8 bit when it is TX DMA or recevied 8 bit when ...

Xenon02_1-1700343951013.png Xenon02_2-1700343959811.png Xenon02_0-1700343925953.png
Xenon02 by Senior
  • 19679 Views
  • 13 replies
  • 3 kudos

Speaker audio distorted even though it is quiet

I'm doing a project where I want to have a toy say audio clips when a button is pressed. Right now I'm trying to accomplish this with an STM32F407G-DISC1. I have a small speaker (16 ohms, 0.25 W) connected to my breadboard with the DAC OUT1 of the MC...

Resolved! Proper way to use scanf with uint8_t

What is the best way to use sscanf with uint8_t?When I use: uint8_t x ; char* y = "23" ; sscanf ( y , "%hhu" , &x ) ;I stuck at: void HardFault_Handler(void) I found following workaround that works: uint16_t x1 ; uint8_t x2 ; const char* y ...