How can we do the simple UART for the STM32H745I-DISCOVERY board using the MDK-ARM?
I am using stm32h745i-discovry board as my development in the arm keil. Here I need the uart communication . could you please send me the example code for this.
Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using stm32h745i-discovry board as my development in the arm keil. Here I need the uart communication . could you please send me the example code for this.
Hello,I know that it is possible for mcu which has several ram areas such as RAM_D1, RAM_D2 like STM32H7. STM32l1 has only one RAM. Because I can not divide RAM for some important data. But I saw an STM32L1 example created on KEIL and divided some ad...
I use HSI16 as my clock base which goes through a PLL and then into the HRTIM.Let's say that I adjust HSI16 periodically (every ~10 milliseconds) to track an external high precision clock.Is enabling the DLL calibration (HRTIM_DLLCR:CALEN, CALTRE) en...
Hi, Guys...So I got the H757I Eval Board as a gift and am trying to learn MCU Programming with it. I guess STM thinks that: if you have such a high end board, then you should already know what you are doing, because the documentation is poor and they...
The problem that I'm facing is that I have configured Timer 2 of channel 1 as output compare and channel 2 as input capture. Let me give you a brief idea about the logic that i'm using. The on board led's GPIO is configured as output compare and i'm ...
Hello,I am trying to synchronize 2 STM32 microcontroller's using UART and DMA. System clock is 80MHz. Timer1 is set to interrupt at 1ms with 1us resolution. Synchronization logic is executed every 1ms, Serial Transmission at master/slave side is ever...
1. ADC setting hadc.Instance = ADC1; hadc.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4; hadc.Init.Resolution = ADC_RESOLUTION_12B; hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; hadc.Init.ScanConvMode = ADC_SCAN_DIRECTION_FORWARD; hadc.Init.EOC...
the problem is when the master micro wants to tell the slave to send some data, after a random time the i2c connection disrupts and i will get HAL_ERROR Message. i wrote the below codes for master and slave:Master code: while (1) { /* USER CODE END...
Hi,I am using four inputs on ADC1: /**ADC1 GPIO Configuration PA4 ------> ADC1_INP18 PA0_C ------> ADC1_INP0 PB0 ------> ADC1_INP9 PA1_C ------> ADC1_INP1and six on ADC2: /**ADC2 GPIO Configuration - Set in stm32h7xx...