STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

TRGO and Repetition counter? STM32L476

I have a prescaler (20), an ARR of (65535) and a Repetition Counter of 3 on a 20MHz clock ....On the scope it all looks good...Question if I set a timer up to be triggered by the Update Event, will the timer being triggered update on the output I see...

SWenn.1 by Senior III
  • 1195 Views
  • 2 replies
  • 0 kudos

Resolved! In RM0394 Rev 4 page 873/1600 field OCM1 is bits 6:4 which I count as 3 bits. But the description shows the settings as 4 bits with 16 choices.

For example: 1000: is Combined PWM Mode, 1111: is Asymmetric PWM Mode 2. How do you fit 4 bits into 3 bit spaces? Bit 7 is used for OC1CE, and Bit 3 is used for OC1PE so there is no space on either end for the extra bit.

Resolved! The Build Analyzer says my processor STM32L443CC has 64K RAM and 16K RAM2. And I am not using any RAM2. What is RAM2 and how do I use it?

On other processors sometimes there are keywords when defining variables to specify which memory area the variable should be stored in. Or there is a #pragma statement. I have not seen either in the STM32 or the IDE. I am guessing RAM2 might be a goo...

KiptonM by Lead
  • 2258 Views
  • 16 replies
  • 1 kudos

Resolved! Precise delay function on STM32F401CE

I have tried a lot of different things but I can never seem to get it, I am trying to make a semblance of a precise delay function for my controller, I am not using HAL or anything, just writing to registers directly. I tried timers, timer interrupts...

MArdm.1 by Associate II
  • 3126 Views
  • 8 replies
  • 0 kudos

Detecting available UARTs at compile time

Hi,using CubeIDE with CubeMX, is is possible to "check" or "detect", for conditional compiling, which UART ports that are enabled? In the MX-generated USART.C you will find all the handles for the available UARTs but AFAIK, you can't conditional comp...

GoEk by Associate III
  • 1488 Views
  • 8 replies
  • 0 kudos

Resolved! ???ARPE (auto reload preload) STM32L476

Been looking closely at RM figures 342 AND 343.....I cannot see the value of the ARPE bit....when 1 it looks like the shadow register updates on UEV / or Interrupt and when 0 what?? 342 disregards showing the shadow register and on top of this who ca...

SWenn.1 by Senior III
  • 780 Views
  • 2 replies
  • 0 kudos

STM32h745 SPI DMA not receiving the data

Hello,I am working on STM32h745 controller. I am using the DMA for SPI configuration. I declare the buffer in the RAM2 , transmission is done properly but I did not receiving the data on MISO why?/* MODIFICATION STARTS HERE */ .buffer(NOLOAD) : {  . ...

MDeva.1 by Associate II
  • 723 Views
  • 1 replies
  • 0 kudos