User Activity

/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_adc.h"   /* Private variables ----------------------------------------------...
/******* Please check code snippet ************/int flag = 0;void EXTI_CONFIG(void){ //Enable clocks for GPIO and Sysconfig RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE); GPIO_InitTypeDef ...
char recv_string[10];char data;int count = -1,i,data_check = -1;void USART3_IRQHandler(void) //my interrupt handler{ if(USART_GetITStatus(USART3,USART_IT_TXE)) { data = USART_GetChar(); if(data == 0x0D || data == 0x08) data_check = 1; e...
Hi,I am working on USART3 in STM32F407VG Discovery board using stm pheripheral libraries. I am sending a character 'a' but in serial port i am getting data as 3. Please check my main function and kindly help.