STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to find where RXNEIE is reset to 0

Hello,I'm debuging some legacy code for an STM32L476RG MCU. USART2 is enabled, and used as an UART, with DMA for TX, and one interrupt per received character. I'm using STM32CubeIDE 1.8.0.Each time a character is received, the HAL_UART_RxCpltCallback...

wake up logic on stm32l4

I want to wake up from standby for each transition on a wkup pin. For example, on waking, read the wakup pin and set/reset the bit in pwr_cr4.  (pin high -> bit high, pin low -> bit low).  Is there a race condition ?  The reference manual is vague on...

Geoffrey1 by Associate III
  • 364 Views
  • 0 replies
  • 0 kudos

I2C Master Sequential function

Dear,I currently use a STM32G070 with external touch sensor component usuing I2C interface.This component aloow me to communicate with it only during a ready window and this window is automatically closed after a delay without communication or a I2C ...

0693W00000JPpzuQAD.png
YDann.7 by Associate III
  • 4150 Views
  • 5 replies
  • 0 kudos

Can sdio f_mount affect UART port?

Hi!I have a problem with the simultaneous use of an SD card (with SDIO) and the uart port with GSM module connected. The SD card works flawlessly all the time. Communication with the GSM module is very unstable when I use the SD card - using the f_mo...

STM32G031xx: Mistake/Bug in device specific header file???

Hiso I am trying to get the UART2 on my STM32G031K8Tx up and running. RefManual shows in Chapter 5.4.21 a CCIPR register (Peripherals independent clock configuration register), where bits 2-3 relate to the USART2.When looking at the device specific h...

AAnth.1 by Senior
  • 1009 Views
  • 4 replies
  • 0 kudos

Hi. I boot with stm32L010C6Tx. I am in standby mode. While waiting in standby mode, it shows between 3.1 micro amps and 50 micro amps 50 microamps is too high, I can't use it like this. . I turned off all peripherals. What else should I turn off? Why coul

void SystemClock_Config(void);static void MX_GPIO_Init(void);static void MX_LPUART1_UART_Init(void);static void MX_I2C1_Init(void);static void MX_ADC_Init(void);static void MX_RTC_Init(void);if (__HAL_PWR_GET_FLAG(PWR_FLAG_SB) != RESET) { __HAL_PWR_...

ZKURT.1 by Senior
  • 770 Views
  • 2 replies
  • 0 kudos

Trigger SPI Read using Timer Update Event

Hello,I am trying to trigger each DMA read of my SPI to happen on update event Trigger output of my Timer but I don't think I have it setup correctly.I've seen this done using the internal ADC, where you can set the external conversion trigger source...

kcire L. by Associate III
  • 1614 Views
  • 3 replies
  • 0 kudos