STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32 with small flash + HAL + DEBUG + no Optimization...

... leads to "funny" results:STM32L011 with 16 kB of flash, HAL inits and LED toggle in main, DEBUG, no optimization:93% of flash usedI had not expected it to be that bad! Okay, I will probably not use too much HAL, will use Release version with opti...

STM32L011_HAL_DEBUG_noOpt.png
LCE by Principal
  • 1323 Views
  • 24 replies
  • 8 kudos

Resolved! Struggling with I2C and the MCP79410 real time clock protocol

Hi, I need to use the MCP79410 rtc (or alikes: DS1307, PCF8583, etc) but the STM32CubeIDE I2C seems that can't handle the read/write protocol for these devices. For example, as the below image shows, one needs to send the control byte (writing) follo...

Captura de pantalla de 2024-09-12 00-57-52.png
XR.1 by Associate III
  • 149 Views
  • 3 replies
  • 1 kudos

STM32L010K4TE x ST-Link-V2

I'm trying to use st-link v2 to program an STM32L010K4, but the stm32cube programmer doesn't identify this microcontroller (Error: No STM32 target found). The st-link is working, because I can program another STM32 without any problems. I appreciate ...

Issue with uart2 in STM32L073RZ nucleo board

I am using stm32l073rz neucleo board for my project.when i am trying to use uart 2 for my application, its not working as desired . That is when i connect A TTL module with the pins PA2 & PA3 on nucleo board i didn't get any output . But the same cod...

vijil by Associate
  • 227 Views
  • 1 replies
  • 0 kudos

Resolved! TIM3 periodElapsedCallback never called

In my code, after setting an on-board LED, the timer is started like this. __HAL_TIM_SET_COUNTER(&htim3, 0); while(HAL_TIM_Base_Start_IT(&htim3) != HAL_BUSY);In debugging mode, I saw that the CNT register was in fact incrementing, however in would al...

Resolved! HAL_UART_Transmit USART_CR1_RE error

Hello everyone,I'm configuring a STM32L0 core board to connect to a module using AT commandAll the commands work fine but when I get to a given command (AT+MSG="123456"\r\n), they work only the first time and the second time it only sends ATfor examp...

husq by Associate
  • 548 Views
  • 2 replies
  • 3 kudos

Odd Issue With STM32L071CB When Initialising Watchdog

I'm having an issue with initialising my watchdog, when I include the call to HAL_WWDG_INIT(&hwwdg2) in my code, it is causing any debug attempt to run into the hardfault handler due to some values in SystemClock_Config() being set to 0: __weak HAL_S...

MClarke by Associate II
  • 235 Views
  • 4 replies
  • 0 kudos

Resolved! External Loader in SPI mode

Hi I am using Stm32L0 series board to create a custom external loader. I am using cubeIDE (version: 1.16.0)I am using winboard W25Q64 chip. I wrote a driver for this chip and interfaced it to my mcu using standard SPI2. I can read /write data on this...

zain_stm32_0-1725837097637.png
Labels