STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I'm having trouble storing variable values ​​in FLASH memory. I am currently using the STU32F765VI MCU, I would like to know what address range I can use to store. What are the functions of the HAL library?

I am currently trying as follows:HAL_FLASH_Unlock();HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD,0x40023BFD,10);HAL_FLASH_Lock();However, no data is recorded.

ALara.1 by Associate
  • 1350 Views
  • 4 replies
  • 0 kudos

Resolved! FreeRTOs stuck at vsprintf

Hi,I have used STM32l562-edk evk hardware and stm32cubeide for software. I have enable freertos in the project. For debug print message purpose I have created one function named as logPrint. char g_msg_buf[100];void logPrint(const char *format, ...){...

Neel by Associate III
  • 2539 Views
  • 8 replies
  • 0 kudos

Resolved! Bug found and solved inside HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk), why is this happening?. Additional bugs found too

Hi all, how are you?. Yesterday I was unable to make the RTC work on my STM32F103C6, miraculously I've noted that the program was giving an error condition (until that moment I wasn't using the error handler function, now I'm using it) then I found t...

VRami.1 by Associate III
  • 1146 Views
  • 5 replies
  • 1 kudos

How to read multiple bytes in SPI with HAL

Hi everybody,I've been trying for a while to read multiple bytes from an LIS3MDL accelerometer. I know how to read and write registers but one at a time. I can't figure it out the multiple part... So, if I want to read from reg 0x27 to 0x2D, I unders...

JMart.5 by Associate II
  • 1540 Views
  • 2 replies
  • 0 kudos