STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use timer1 for pwm input

I use STM32F103c6 timer1 for pwm input . after right config in cubemx, and in simulink enable timer1 ch1 interrupt. Then auto code gen, but code in Keil the ch1 interrupt not enable, its callback not registered, the timer also not started. Want to kn...

PYong.2 by Associate II
  • 1040 Views
  • 5 replies
  • 0 kudos

L031K6 : ADC value is not similar as real value

I get 12bit ADC data from DMA multi channel.and when I get it , I use this formula to get ADC measure.​adc input (0-4095) * 3300 / 4095 ​but This result usually have different from real measurement, about 100-200mV.In that case, Is there better way t...

DU2 by Associate II
  • 418 Views
  • 1 replies
  • 0 kudos

Resolved! MQTT using STM32L0

Posted on December 29, 2017 at 13:54Hello everyone, I am trying to use MQTT protocol on my STM32 board with SIM7000 as slave. if anyone had worked in such fashion, please can you share code snippets or library file used?? Is there any generalized li...

How to send data via WiFi through a softAP?

Hello,I am struggling to send data via a softAP over WiFi. Setting up the softAP and connecting to it from another device works well. Now, I would need to bind the newly created socket to the desired port and that's where it fails for me. I don't kno...

BBecs.1 by Associate II
  • 1697 Views
  • 5 replies
  • 0 kudos

Hardfault and NMI interrupts issue

Softwares Details:µVision IDE : version 5.31.0.0STM32CubeMx : version 5.4.0Hardware Details:Mcu: STM32G030K6T6Programmer : STLink-V3MiniWork Description:I configured 3 pins of mcu as external interrupts triggering on both rising and falling edges fro...

usama.s by Associate
  • 474 Views
  • 2 replies
  • 0 kudos

How to change system clock during run time?

Hello, for decreasing the power coonsumption I want to change HSI to LSI. This is the HSI clock configurations for 72 Mhz:void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_P...

GunkutA by Senior
  • 1652 Views
  • 4 replies
  • 0 kudos