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

Resolved! Issues with ADC Calibration STM32L031F4

I'm working with an STM32L031F4 and I'm trying to calibrate the ADC to no avail. I'm wondering what it is that I'm missing here. With the code snippet below, I never get out of the while loop and the CALFACT stays at 0 (if I understand correctly, C...

RArch by Associate II
  • 929 Views
  • 4 replies
  • 0 kudos

H7 cant write a FMC 16bit word once

if someone can tell me how to write a byte to a FMC memory ?Reading a 16bit word looks correct and I can read the status correctlybut using A0 as register select, this is writing one 16bit word, it seems to write 4 times, A0 is jumping up and down, I...

No wake up possibility after a discontinuity power supplies

Hi,Someone could help me, please?When I remove battery on my system (NO VDD and NO Vbat on the MCU), and I connect it back, the system do not start!!!!The only way to start the system is a NRST signal.ORSwitch OFF and ON only the VDD power supply (VB...

srain by Associate II
  • 1711 Views
  • 10 replies
  • 0 kudos

I am working on usart and I need to know the configuration for the code. Can someone check this and let me know if this config is correct or not. 9600 baud rate with 1 stop bit and no parity. I am working on usart1 which is connected to pb6 ( TX )

void sendchar(char c) { USART1->TDR = c; while(!(USART1->ISR & USART_ISR_TC)); }int main(void){ HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART1_UART_Init(); while (1) { sendchar('a'); }}// gpio config for pb6 (tx) /*Transmission Pin ...

VSrin by Associate II
  • 391 Views
  • 1 replies
  • 0 kudos

Resolved! Problem with clock configuration of STM32F401VCT6 MCU - works fine on 42MHz clock, but crashes when set to 84 MHz

I'm programming a custom board built around the STM32F401 MCU and I'm having a hard time configuring the system clock.I'm using a 8MHz external crystal and I'm trying to set up the PLL to get the maximum frequency given by the datasheet, i.e. 84MHz. ...

MKola by Associate II
  • 3104 Views
  • 15 replies
  • 0 kudos

STM32H743 : Reading UART7 while writing on UART4

Hello, I have issues with STM32H743 UART. I use Nucleo 144 and I need to get GPS frames on UART7 (at 9600 baud) and display them on UART4 (at 115200 baud). If nothing is sent on UART4, reception of frames on UART7 is good but I want to display some v...

LDess by Associate
  • 782 Views
  • 3 replies
  • 0 kudos

What state are GPIOs in if they are set to Alternative Function, but the controlling peripheral is disabled?

For example, if two pins are set, via the Alternative Function registers, to be the rx and tx for a UART, but that UART is disabled, what state are the pins left in if the various GPIO registers are not changed?Does the rx pin remain an input, and th...

Truoble with i2c using nucleo-g071rb

Hello, I am new to the whole stm32 environment. I've always used arduino in the past and I wanted to try something new for this project.I am having a really hard time setting up an i2c connection between a nucleo board (MASTER) and an arduino(SLAVE)....

MMocc by Associate
  • 428 Views
  • 0 replies
  • 0 kudos