STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F7 to STM32H7 - FMC DMA/MDMA confusion & warning

Hi,I'm migrating a project from STM32F7 to STM32H7, and I'm hitting some roadblocks wrt DMA and the FMC.When I was using an F7, I was doing this to initialise the FMC, and it worked perfectly:/** * @brief Initializes SDRAM MSP. * @param hsdram:...

TGeof.2 by Associate II
  • 1315 Views
  • 2 replies
  • 0 kudos

STM32F030 ADC external resistor

I need to measure a signal that arrives on the board through a 100K resistor. I am trying to avoid having to add an operational amplifier to buffer it before the ADC input. I could use a bit of help understanding what the data sheet says about the ...

martincho by Associate II
  • 3065 Views
  • 10 replies
  • 0 kudos

I am trying to read in serial data using scanf through USART. The serial data is being sent by MATLAB. Here's the code that I have so far. printf works just fine. Scanning is the problem. Any suggestions are greatly appreciated!

int USART2_Write(int ch){ //wait for TX buffer empty while (!(USART2->SR & USART_SR_TXE)) {} USART2->DR = ch; return 0; }   int USART2_Read(void) { while (!(USART2->SR & USART_SR_RXNE)) {} return USART2->DR; }   #ifdef __GNUC__ #define PUTCHAR...

JWolf.3 by Associate II
  • 923 Views
  • 3 replies
  • 0 kudos