STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

No device found on target (SWD connection)

Hi Community,Prelude: I soldered my first PCB, added STM32H743ZIT6, decoupling capacitors, BOOT0 switch, NRST with resistor to ground, 5V->3.3V LDO, powered up by USB and 4-pins SWD for debug (PA13/DEBUG_JTMS-SWDIO and PA14/DEBUG_JTCK-SWCLK pins). Ch...

Ajaho by Associate III
  • 1385 Views
  • 8 replies
  • 2 kudos

RESOLVED: Changing TIM PWM pulse width on the fly

Posted on October 14, 2016 at 01:13Hello, I am using STM32F4 Discovery board (with STM32F407VGTx) with the latest HAL libraries. I am interested in varying PWM pulse width (duty ratio) in a while loop. Looking at MX_TIM3_Init function (also attached...

selmesal by Associate II
  • 3114 Views
  • 2 replies
  • 1 kudos

Getting continuous interrupts on USART

Hello Folks,I am working on STM32F1 series controller where we receive data on usart and perform actions accordingly. Few days back ,my system was getting rebooted due to watch dog timer. After debugging the issue,it was found that when i receive som...

bipin_g by Associate
  • 629 Views
  • 3 replies
  • 1 kudos

Resolved! HAL_UART_Transmit_DMA issues | STM32F3

Currently I am working on UART DMA and I encountered problems after transmitting data via DMA UART. After 1 successful data transmission, the state flag remains on BUSY. After a search, I ended up on this thread and this fixed the problem. Threadstat...

Ade J.2 by Associate II
  • 4416 Views
  • 3 replies
  • 0 kudos

STM32L431 bootloader Not switching to application

I am working on STM32L431RCT6 microcontroller. Similar changes tried on STM32L053C8T6 also.Using custom hardware for product development and hardware is validated. I facing issue, bootloader not jumping to application. Instead it's creating hardfault...

harshel by Associate
  • 467 Views
  • 2 replies
  • 0 kudos

Resolved! I believe there is a bug in HAL_ADC_ConfigChannel(). Using the STM32g071, with ADC_SCAN_SEQ_FIXED, ADC_EOC_SINGLE_CONV, and NbrOfConversion == 1, when HAL_ADC_ConfigChannel() is called, it OR's in the new channel number, which is incorrect.

   hadc1.Instance = ADC1;   hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2;   hadc1.Init.Resolution = ADC_RESOLUTION_12B;   hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;    hadc1.Init.ScanConvMode = ADC_SCAN_SEQ_FIXED;    hadc1.Init.EOCSelection ...

CSmit.4 by Associate II
  • 3015 Views
  • 6 replies
  • 0 kudos

Resolved! STM32C071 SVD File

Hello, I am in need of the SVD file for the newly released C071 model with USB. AFAICT they have not been posted or updated anywhere yet.I'm working in Rust which requires the SVD file for generating register accessors so I cannot do anything with th...

MBake.4 by Associate II
  • 892 Views
  • 4 replies
  • 1 kudos

How to work with GPIO

Please advise where I'm doing wrong, I need to create variables with GPIO output with variable assignment and I don't know how to make it work correctly. 'my_gpio_port' reports as undeclared, but the declaration is without errors. Thanx   GPIO_TypeDe...