STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Push button is not turning on the LED

Simple program. Trying to make a push button turn on an LED. I have connected on pin of the push button to 5V and the other pin to the STM32F411E-Disco board directly without any resistors. The anode of the LED is connected to a 330 ohm resistor and ...

MRamy.1 by Associate II
  • 817 Views
  • 4 replies
  • 0 kudos

SPI send dummy data

Hello, I am using stm32f429i discovery boards for spi communication. I am using HAL libraries, trying to send dummy data, but my DR register is not getting updated, , I am using atollic truestudio, I kept the clock of both boards same can anyone help...

MGaja.1 by Associate
  • 658 Views
  • 1 replies
  • 0 kudos

Using STM32F413 bxCAN peripheral. Using MX HAL. From RM0430 I think I understand that the ERROR interrupts (Bus-off, Passive and warning) is generated when these flags are set. But it seems like interrupts happens more often than so.

I have enabled interrupt for BOFF, EPVF and EWGF.When e.g. sending with error the very fist time TEC becomes = 1, all flags remain 0. However I get an interrupt any way - every time I get a send error. Eventually i get flags set as REC/TEC gets large...

PÖste.1 by Associate II
  • 738 Views
  • 2 replies
  • 0 kudos

Sampling frequency on multichannel ADC with DMA

HIi have (hopefully) set up a three channel ADC with DMA and a Timer to get a sampling frequency of 100kHz. I am wondering if somebody could t Hake a quick peek on my code to verify that it is correct. The HLCK is maxed at 216MHz, and TIM6 has a peri...

AitchJee by Associate II
  • 350 Views
  • 0 replies
  • 0 kudos

I am planning to make a custom PCB using the STM32F777NI microcontroller. I need the symbol (schematic symbol) of the microcontroller.

I am planning to make a custom PCB using the STM32F777NI micro-controller for that, I have to make the schematic for the same to make the PCB. I can't find the symbol for the micro-controller for the schematic. Where I can find the symbol of the all ...

STM32F042F4P6 - Input current in trigger mode.

Help find the answer. I want to run TIM2 in trigger mode. If you connect ETR1 to Vdd, then the current at input ETR1 will be 45 mA. If you connect it to Vdd through a resistor, then the timer does not work. Where can I find a diagram of the correct c...

0690X00000BvpCQQAZ.png
MKhan.1 by Associate II
  • 1245 Views
  • 8 replies
  • 0 kudos

Resolved! Timer count of 1 ms

HelloI want to configure timer which increment count by every millisecondwhat are value of prescaller or other parameter should configure in it ?i am attaching you my clock configuration with this RCC->APB1ENR |= (1<<1); // Enable clock for TIM3 TIM3...

Resolved! STM32F103C8T6 PWM Generation

How to generate PWM so that the LED lights up for 5 seconds? Now, my LED is just blinking. I watched a lot of tutorials, but I don't know where I'm wrong. I need help...My code: #include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_r...