STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

error HardFault_Handler in HAL_FLASH_Program STM32F303K8

I m a beginner with the FLash and I struggle to find a solution to write and read in FLASH.I wrote the following program but at the function HAL_FLASH_Program the program goes in HardFault_Handler . Looking inside the HAL_FLASH_Program it is possible...

FTrom by Associate II
  • 1224 Views
  • 4 replies
  • 0 kudos

Resolved! Package UFQFPN32 (5x5 mm) for STM32F302x6 STM32F302x8

Hi,The package UFQFPN32 (5x5 mm) have an exposed pad but where is the definition of this Exposed Pad in the datasheet for the STM32F302K8 K Must I connect to the GND or is it not connected or maybe another pin definition ? I can't see in the datashee...

ATrem.1 by Associate II
  • 3348 Views
  • 9 replies
  • 0 kudos

Resolved! STM32F373 can't set GPIOB->AFRL for PB3 to USART

I'm using USART2 on PB3 and PB4 which means setting the AFR bits for those GPIO pins to 7. The CubeMX wizard and HAL GPIO libraries agree with this, but the AFR bits for PB4 stubbornly revert to 0 and my USART wont transmit. What is going on? I've tr...

Resolved! STM32G474CE wont start on debug or after power on.

Hi,I have a new project with STM32G474CE and cant get it start. If I program it with STM32CubeProgrammer it runs the a simple code for led blinking. I checked all VDD,Vref,Vbat pins and all okay. But after powering it off and on again, code gets stuc...

ODemi.1 by Associate
  • 565 Views
  • 1 replies
  • 0 kudos

STM32L151RET6 is in halt state

Greetings,I have a board with STM32L151RET6. I can program the controller using st-link, but as soon as i try to enter debug mode it ide says cannot read memory. I am using keil and i am trying to enter debug modue using keil debugger and stlink.I ha...

Triggering the read timing of ADC when using DMA

I am using ADC DMA to read 100 sample from 1 cycle input sine wave whose frequency is 1KHz . When we using ADC to read DMA, the DMA reads ADC continuously until buffer is full. I want the DMA to read and store ADC data in buffer one at a time when it...

0693W00000Dm3YTQAZ.png 0693W00000Dm3YOQAZ.png
FLast.5 by Associate II
  • 452 Views
  • 1 replies
  • 0 kudos

32 bit limit on chained 16 bit timers

Working with a L4R5. I have chained TIM1 & TIM3 to create a 32 bit 1mS counter.Is it possible to reset both counters on an arbitrary 32 bit value?I would like to limit the count to 0x240c_8400; msec in one week.I understand how to reset a timer base...

RHerm.3 by Associate III
  • 609 Views
  • 5 replies
  • 0 kudos