Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using USART2 (with IRQ) of STM32F4 for MIDI Receive (31250 bd, 8 Bit, 1Start/Stop Bit). A MIDI Message has normally 3 Bytes following directly on each other, which gives each Byte a duration of ca. 320us. In 1 of 10-30 events one Byte (always B...
i want to convert (0mv - 1000mv AC)signal in to precise dc voltage for input to ADC of STM32 micro-controller for measure ac mains voltage suggest me any ic (single power supply +5V dc) or circuit diagram
This is my interrupt handler...void USART1_IRQHandler(void) { uint8_t data; HAL_UART_IRQHandler(&huart1); __HAL_UART_CLEAR_FLAG(&huart1, UART_FLAG_RXNE); data = (uint8_t)(huart1.Instance->DR & (uint16_t)0x00FFU); HAL_UART_Transmit(&hua...
Hi, I want to use the STM32H743 ADC in differential mode. At first, I tried the the example STM32Cube\Repository\STM32Cube_FW_H7_V1.3.2\Projects\STM32H743ZI-Nucleo\Examples\ADC\ADC_DifferentialMode and there is something wrong in testing zero vo...
Dear Members,How can I save FIFO ?I have a psedo code :for (i = 0; i < NUM_SAMPLES_TO_READ; i++) {Read FIFO_DATA;Save IR[15:8];Read FIFO_DATA;Save IR[7:0];Read FIFO_DATA;Save R[15:8];Read FIFO_DATA;Save R[7:0];}STOP;my code : for(i=0;i<=number_samp...
I am using STM32L476.In it I am using MSI as a clock source, I want to switch to HSE as Clock Source, I want to know the best oscillator to use (4-48Hz) so that the power consumption is minimum, also I want to know if there would be any change in the...
Hello,My questions are as follows:1. Can I use DDR-SDRAM with FMC or should i use SDRAM only?2. Can I use two SDRAMs and control them with "Chip Select" pin? I want to use this SDRAM. This SDRAM is similar to used on the STM32F779EVAL board, but 512M...
Posted on November 02, 2017 at 09:19Hi all, In a STM32F0 I have configured the IWDG and every time that in debug mode I stop the MCU, then the watchtdog active and the reset is on.I read the user Manual and some post seen in this community . I use ...
#include "stm32f10x.h"void usartSetup (void);int SendChar ();int main(){ while(1) { usartSetup(); SendChar(); }}void usartSetup (void) {RCC->APB1ENR = 0x00040000; RCC->APB2ENR = 0x0000000C; GPIOB->CRH = 0x00000900; USART3->BRR = 0x340; USART3->CR1 ...