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

Hi, I am trying to use the external SD Ram(8MB) of STM32f746 DISCOVERY board but the programme crashes after writing 16kB of data .

Hi, I am trying to use the external SD Ram(8MB) of STM32F746 DISCOVERY board but the program crashes after writing 16kB of data . I am new to STM32 platform, I first generated the initial code with CubeMX ide and configured the ram as per the exampl...

BChan.1 by Associate
  • 475 Views
  • 0 replies
  • 0 kudos

Resolved! Can I use a single timer for encoder counting on channels 1 & 2 and PWM generation on channels 3 & 4?

Hello,I have received conflicting answers to this question so I want to try asking it in a different way. Hopefully you understand my situation but please let me know if I should clarify anything.I want to use an STM32G431RB. I need to be able to rea...

Ricardo1 by Associate II
  • 1838 Views
  • 2 replies
  • 1 kudos

STM32H7 STM32F4 spi

Hello, I am trying to use an ADC (AD7124) which is communicating through SPI with the MCU.Previously, I managed to run the ADC with STM32F4. For this I used the libraries provided by the ADC manufacturer. While the ADC is running prefectly with STM32...

VYoun by Associate III
  • 601 Views
  • 2 replies
  • 0 kudos

Clock multiplexer of USART2 in STM32F051R8?

Dear all,The MCU : STM32F051R8T on Discovery BoardIssue : USART1 and USART2 are required. The clock of USART1 can be configured by CubeMX. However, it is not possible for that of USART2DetailsThe clock source of USART1 ...

0690X00000DA19zQAD.png 0690X00000DA1A4QAL.png 0690X00000DA1AEQA1.png
ihartavi by Associate II
  • 705 Views
  • 2 replies
  • 0 kudos

STM32F030 SPI Problem

Hi, I'm using stm32f030cct6 and control the sx1276.​I configured SPI1 like that​void SPI1_Init(void){ SPI_InitTypeDef SPI_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;​ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA | RCC_AHBPeriph_GPIOB, ENABLE); R...

SPark.2 by Associate
  • 430 Views
  • 0 replies
  • 0 kudos

HSERDY flag doesn't set - NUCLEO-STM32L4R5ZI

Hello,I am trying to config my board using HSE as SYSCLK (my board has MCO from ST-LINK as external clock supply by default - 8MHZ)The goal is set SYSCLK = 8Mhz, HCLK =4Mhz , PCLK1/2 = 2MhzProblem: HSERDY was never set within the TIME OUTPlease lets ...

KHuyn by Associate II
  • 462 Views
  • 0 replies
  • 0 kudos

Why does the DMA gets out of sync when doing a sequence of regular AD conversions on stm32f103C8TX? This only happens with DMA_NORMAL.

It works with DMA_CIRCULAR (but I do not want or need continuous DMA transfers.)You see by the terminal output below that reading 2 analog inputs works OK. However, after a while (< 1 minute) the 2 analog values are exchanged now. Apparently the DMA ...

Jwork.1 by Associate II
  • 2438 Views
  • 11 replies
  • 0 kudos