Check free memory (STM32L0)
Hello,During code execution I would like to monitor the available memory. Is there a default function available to check the available RAM memory? Thanks
Hello,During code execution I would like to monitor the available memory. Is there a default function available to check the available RAM memory? Thanks
Hey!I have been with a problem with the stm32l452 comparator for a few days now and I can't figure it out. The interrupt of COMP1 triggers on both edges rather than rising edge.I tried differents configurations but main is the following:hcomp1.Init.I...
If I understand STM32H7xx datasheet, I2C peripherals support up to 1 MHz (FM, FM+), 'officially'.I would need an I2C with 5 MHz SCL clock.I tried and have 'overclocked' I2C with 2 MHz which works fine.Based on the clock configuration (e.g. a 50 MHz P...
HelloI need to interface a STM32H743 with a STUSB1602. I want to port STM32F072_MB1303_DRP_SRCING_DEVICE example to my STM32H743 and use it to control 5x STUSB1602. It seem like this example uses RTOS- Has anyone successful done this or can they reco...
I'm struggling to get DMA working on a PWM Timer. I've read just about everything i can, but not having any luck get it working.Running this code.. produces a PWM signal as expected on the output.TIM1->CCR1 = 50; HAL_TIM_PWM_Start(&htim1, TIM_CHANN...
HelloI have a const variable located in the internal flash memory. When I directly access this variable in flash, the read operation returns always 0 (even when the content of that location in flash is not 0). When I change the code to first copy the...
I would like to trigger ADC conversions using a timer so that I can get the time associated with each sample. This is so that I can plot voltage vs time like an oscilloscope.According to the datasheet, it seems like the maximum external ADC trigger i...
I am using SPI1 as a Master full duplex , and checking in the Nucleo 429 zi PA5 ------> SPI1_SCKThere is no clock , I using a scope and testing PA5 pin on the Nucleo 429 zi I attach the code , its very short code Here is the link to the pin descr...
Hello everyone,I am currently trying to get the ADC on the STM32H745ZIQ to work like it should according to the AN *Getting started with the STM32H7 Series MCU 16-bit ADC - Application note.On page 3 the spectrum is shown along with the measurement s...
#include <stdint.h>#include <stdio.h>#include "stm32f302x8.h"void delay1(void);volatile uint32_t value;int main(void){ RCC->AHBENR = 1U<<28; RCC->AHBENR |= 1U<<17; GPIOA->MODER |= (1U<<8); //ADC1_IN5 GPIOA->MODER |= (1U<<9); ADC1_COMMON->CC...