STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Array for GPIO pins

Hello,   I am new to STM world. I am trying to make an array of GPIO pin in this format {{PIN1_GPIO_PORT, PIN1_PIN}..... This would then be used in custom function so I can dynamically access this pins. How should I declare such array and how would i...

Huzo by Associate III
  • 3313 Views
  • 16 replies
  • 4 kudos

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
  • 632 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
  • 1249 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
  • 534 Views
  • 2 replies
  • 4 kudos