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! STM32U5xxx UART communication problems

I am using the STM32U5A9J-DK for a UART communication test, and I expect to display the content sent from the computer's Serial port on the screen (textArea).I'm using UART1, 115200 Baud rate, 8 data bits, 1 stop bits, and I've turned on the UART int...

Assembly code to launch an application

I got this assembly code (see below) in an ST example code on secure boot and  and I don't understand some lines :why do we have to push R1 five times in a row?why is LR set to 0xFFFFFFF9? That is causing a hard fault at runDoes anyone have better un...

HABIJ.1 by Associate III
  • 2252 Views
  • 2 replies
  • 0 kudos

Resolved! EEPROM emulation problem on STM32H563

Hi,I'm facing problem in reading data from EEPROM, which was written before power cycle.EE_Init() always causes formatting of EEPROM irrespective of EE_CONDITIONAL_ERASE or EE_FORCED_ERASE parameter passed, resulting in erasing the previous dataConfi...

Resolved! I2C using the HAL library in the IT mode.

I have implemented a basic I2C between STM32H7 (Main) and STM32F4 (Secondary) processor. I am using an array of size 6 to transmit from the Main CPU to Secondary CPU using I2C in IT mode.The HAL API for I2C requires the data_buffers to be of size uin...

Sahilsb7 by Associate II
  • 2816 Views
  • 4 replies
  • 1 kudos

Resolved! Custom initialization of peripherals

Hello,I am working with timers in a stm32 project. In the generic INIT function that is generated using the .ioc file important functions like HAL_PWM_Init(),  HAL_TIMEx_MasterConfigSynchronization() etc are understandably called outside the user cod...

Avi_8 by Associate II
  • 1308 Views
  • 2 replies
  • 4 kudos

Resolved! SFR view, wrong address of registers bit field?

I am working with STM32G474RET6U MCU and I would like to check the values of bit filed EXTSEL (ADCx->CFGR.EXTSEL) the problem is that according to SFR view this bit field starts on 6th bit of CFR register, but according to the reference manual it sho...

0693W00000WJYL9QAP.png 0693W00000WJYKuQAP.png
GHrib.1 by Associate III
  • 1427 Views
  • 4 replies
  • 0 kudos