STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Ram Function hard fault on return.

I have a STM32L476RG Nucleo-64, and I am trying to run code from ram, but whenever I do it, it makes it to the function but does not execute the code, and on return it hard faults. I am not trying to put all code in ram just one function. /* USER COD...

Resolved! ADC Read Maximizing Precision and Accuracy

Hello community,I'm looking for some feedback on how to optimize the ADC peripheral when using a handful of single-ended channels.I have an STM32H735G-DK and have 4 NTC3950 type thermistors connected to 4 of the Analog pins from the Arduino headers, ...

taylors by Associate II
  • 2427 Views
  • 5 replies
  • 0 kudos

USB VCP Get_SerialNum

Hello Everybody, I use STM32CubeIDE1.15.0 Build: 20695_20240315_1429 and a custom board with a STM32303RE inside.I use the IOC interface to set the virtual port com. Everything work fine, just a detail: when i connect, then disconnect and reconnect t...

legalguillaume_0-1711471641088.png legalguillaume_0-1711473139330.png

Bootloading from SD card STM32F4

I'm facing difficulties bootloading or upgrading firmware on an STM32F405 MCU from an SD card.Could anyone recommend a library or resource for achieving this? I've already tried a few methods but haven't had any success. Any help would be greatly app...

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
  • 4266 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
  • 1792 Views
  • 2 replies
  • 0 kudos