STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

osKernelStart faults to HardFault handler

Hi All I working on a data logger code.   It is basic at the moment.  1, set a an ISRTimmer for 1sec. 2, When ISR triggered set a read bit in Datalogger register i set up. 3, Next loop thru main i test Datalogger register, if set go to a function and...

DaveBy2 by Associate
  • 426 Views
  • 1 replies
  • 0 kudos

HAL_GetUID functions do not seem to work

The HAL_GetUID functions return the same value on different chips of the same series. I am using an STM32L0 series chip. This is my code:uint32_t serialw0 = HAL_GetUIDw0(); uint32_t serialw1 = HAL_GetUIDw1(); uint32_t serialw2 = HAL_GetUIDw2();Whic...

TIM updated callback

I am using 4 TIMs for updated interrupts functions. in the main while loop, I will call start the timer. and if the timer reaches its full-period and call the callback function. A Flag will be setted in the callback function and print a timeout meass...

HAL_GET_ANSWER_4-1713101863062.png HAL_GET_ANSWER_0-1713101653047.png HAL_GET_ANSWER_3-1713101830921.png HAL_GET_ANSWER_1-1713101715552.png

BMPFileLoader not working for me

HiSo, I want to load images at runtime from the flash memory, I have just started testing this and I found the official post on how to load BMP files at runtime, I copy pasted the BMPFileLoader.hpp and .cpp files, and called them like this:It's like ...

I_ve_got_a_problem_0-1711468162041.png I_ve_got_a_problem_1-1711468327045.png

Resolved! problem porting SDMMC EMMC sleep/awake cmd to SDIO

HiI see sleep/awake cmd is implemeneted in HAL fpr STM32H7only.Now I ported it myself to Stm32f446 myself successfully. However instead of while loop below, i inserted a HAL_Delay(1);H7 has a SDMMC but Stm32f446 has a SDIO.In the H/ HAL bit SDMMC_FLA...

MK..1 by Associate III
  • 479 Views
  • 4 replies
  • 0 kudos