STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F401RE ADC conversion when Vin > Vref+

On a NUCLEO-F401RE, I am observing strange conversion values when I apply higher voltage than Vref to an ADC pin and carry out conversion on it. I would have expected the converted value to be 4095 (0fff) but in reality it is more like 3233 (0ca1) fo...

Bensi by Associate II
  • 1549 Views
  • 5 replies
  • 1 kudos

STM32G431RB Two PWMs with 180 degree phase shift

I have configured the TIM1 with PWM CH1 and CH1N, with 62.KHz frequency .I am getting the 180 degree phase shift for 50 % duty cycle .If i vary duty cycle to 30 % then CH1 =30% and CH1N will be 70 % and it is inverted .I need same duty cycle with 180...

sshan.2 by Associate III
  • 2839 Views
  • 13 replies
  • 0 kudos

STM32G4, CDC and RS232 signals

Hello all,I have a RS232 device (diagnose interface) that I want to replace with a Nucleo-G431KB board. To make it work I would like to use CDC (virtual port), but I need the RS232 specific signals, especially DTR/DSR, CTS/RTS... I looked in the exam...

Heinrich by Associate III
  • 758 Views
  • 2 replies
  • 0 kudos

Boot from Bank 2: nSWAP_BANK vs. BFB2

I am trying to implement a "dual bank field upgrade" with a STM32G0B1CEU6 as described in AN4767, chapter 2.4 (for a STM32L0). As far as I know the STM32G4 also has this functionality, not 100% identically implemented but with the same intention. See...

CRusc.1 by Associate
  • 1954 Views
  • 3 replies
  • 0 kudos

Doubt regarding multiple button press on STM32.

Hello,I had a doubt regarding multiple button presses. Im trying to code a program so that every time I press a button the brightness of the LED decreases and once it reaches the minimum (5th button press), it increases back again after every button ...

External input voltage supply for Nucleo-64 board

As per the user manual, we can power up a Nucleo-64 board by applying an external +5V to E5V and setting the jumpers accordingly. I have connected a TFT display with the uC board through SPI and the display is working fine. But what I am surprised ab...

Resolved! STM32F401xB/C output a PWM signal on pin B14

So, the issue is as follows, according to datasheet the timer for pin B14 AF1, which is the PWM signal I believe, is the TIM1_CH2N. I have gone out of my way to try and output something, I just can't seem to understand what the problem is#define AF01...

MArdm.1 by Associate II
  • 516 Views
  • 1 replies
  • 0 kudos