STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

trigger ADC every "X" IRQs from TIM

Hi, I'm building an LLC converter using STM32F301C8. The converter consists of MOSFET half-bridge. The output voltage is controlled by changing the switching frequency with a constant duty cycle of 50%. I use TIM2 for PWM and adjust the frequency usi...

PJano.1 by Associate II
  • 603 Views
  • 2 replies
  • 0 kudos

Resolved! automatic status polling example

HelloI use STM32U575 to run some tests for my company, I have used S26KL512S in automatic status polling mode but it seems that it does not work with the hyperflash octal memories.Is there any example on this mode with other memories with the same MC...

AAree.1 by Associate II
  • 552 Views
  • 1 replies
  • 0 kudos

Resolved! STM32U575 and Hyperbus memory

HelloI use STM32U575 to run some tests for my company I have used some octal memories before but I have an issue with the Infineon S26KL512S memory it is not working, unfortunately I am not even able to read or write on the memory is there any exampl...

AAree.1 by Associate II
  • 1099 Views
  • 5 replies
  • 0 kudos

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