STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Interrupt driven ADC conversion (LL) (STM32F103)

I want to gather 4 ADC values from peripheral potentiometers using an STM32F103C8T6 (blue pill). I've setup ADC1 using MX Cube. Enabled ADC1_2 NVIC global interrupt.​Now I'm a bit clueless how to proceed.My idea is to start the ADC to do conversions....

Resolved! I am having an issue with my STM32F446 where I am experiencing a hardfault right after calling HAL_FLASH_Program to write data to internal flash, when I check the CFSR registerI see that the UNDEFINSTR flag is set to high.

I am using the following code to write data to flash memory:#include "stm32f4xx_hal.h"#include "stm32f4xx_hal_flash.h"#define DATA_SIZE 4int main(void){   uint32_t data[DATA_SIZE] = {0x12345678, 0x90ABCDEF, 0xDEADBEEF, 0xCAFEBABE};   uint32_t address...

I have written a simple application that takes characters from one UART and relays them to another. main is empty. Only two callbacks of HAL Rx and Tx are used.

Why, when transmitting at 115200 baud, after transmitting the Tx stop bit, the callback occurs after 8.5us? Does HAL add more delay? When using GPIO I measure the time on the scope from stop bit to stop bit I get 100us instead of 87us. Configuration ...

MPoll.1 by Associate
  • 382 Views
  • 2 replies
  • 0 kudos

FW Memory limitations.

Let's say that i am programming a FW that should read data from peripherals.How could I know what are my stack and heap and in general, my memory limitations?I am working with STM32U585 and searched in the reference manual, but could not find the ans...

bmn by Associate II
  • 1036 Views
  • 5 replies
  • 0 kudos

The way to disable ADC completely?

I am using STM32G070 with CubeMX HAL code.  The system runs into STOP mode from time to time. I need turn off the ADC before it entering the STOP.  Here is my testing:If running the MCU without ADC by commenting out MX_ADC1_Init(), the system shows 3...

STM32H7 SPI CS Question

I have been having a bit of trouble getting an SPI CS line to behave as I expect it should. I have attached a snippet from the technical reference manual below that describes the operation modes of the CS line:I am currently trying to send packets of...

0693W00000aJmNZQA0.png 0693W00000aJmOXQA0.png
AMerc.8 by Associate II
  • 1066 Views
  • 5 replies
  • 0 kudos