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

I am using the microcontroller in the Nucleo L031K6 model. Our lecturer wants to control LEDs that change according to voltage using ADC and HAL library.

A potentiometer is connected to the breadboard, the middle leg of the potentiometer is connected to the adc pin and the other legs are connected to gnd and 5v.Led (Led Voltage <1V) - Led will be offLed (1V<Led Voltage <2V) - Led will blinkLed (2V < L...

0693W00000WJdF1QAL.png

Resolved! I2C not working with STM32F103C6 and STM32F103C8

we have been trying to get the I2C up on both the controller and no responses from anyone the cubeMx issue if I2C is really a problem..Kindly respond as we are trying to get I2C up ..requesting the experience forum experts to respond.Thanks Ravi

RShiv.1 by Senior
  • 25230 Views
  • 63 replies
  • 0 kudos

Why UART sometimes print twice the message?

/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body *****************************************************************...

0693W00000WJgJGQA1.png
ATeli.1 by Associate III
  • 3515 Views
  • 9 replies
  • 0 kudos

Resolved! 2 channels of DMA won't work

Hello, I'm trying to use 2channels of DMA , one for PWM in timer1 and one for reading adc1 using timer3 .dma c2 should give ccr the amount from a uint string[1000](which i deleted from this code for simplifiing to be easier to read) and dma c1 for r...

ap.1 by Associate II
  • 1278 Views
  • 6 replies
  • 0 kudos

Wanting to use external interrupt to turn on internal led.

I am not wanting to use the HAL interface because I want to try and gain experience with the ARM bare metal programming. I have examples online and seem to be following them exactly but the led will not light up when a pin is pulled to ground. I meas...

SRees.2 by Associate II
  • 1763 Views
  • 6 replies
  • 0 kudos

STM32L151CCT6 Freezes when enabling HSI

I have an application where we have the mentioned MCU using the HSI passing through the PLL to achieve 32 MHz on the main clock. But we noticed that the MCU freezes after executing the instruction for enabling the HSI, and as this is an internal circ...

VLe R.1 by Associate II
  • 847 Views
  • 3 replies
  • 0 kudos