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

CANBUS nmea 2000 phrase protocol packet on STM32

I have STM32 microcontroller F4 I want to configure the GPS sensor for getting data, I used CANBUS cable and the protocol is nmea 2000, and communicate with HAL_CAN interrupt. my question is, how can I phrase the data from the sensor (on nmea 2000). ...

TBen .1 by Associate
  • 1190 Views
  • 0 replies
  • 0 kudos

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
  • 25152 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
  • 3457 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
  • 1251 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
  • 1734 Views
  • 6 replies
  • 0 kudos