Posted on March 09, 2018 at 13:19I have been trying to use the USART idle line detection flag to detect when an incoming transmission stream has ended. if((USART1->ISR & USART_ISR_RXNE) != RESET) { if ((1+RX_BUFFER_POS) < RX_BUFFER_SIZE) { ...
Posted on March 06, 2018 at 19:03I am using the STM32F042F6 with ARM Keil toolchain. I am trying to use UART interrupts to receive commands of different lengths. I have managed to get it some what working using the attached code. I have made a recei...
Posted on September 04, 2017 at 17:54
I am trying to interface with an ADS1015 using an STM32F I am having problems reading two bytes from the ADS1 The first byte is received perfectly, but the second byte is exactly the same as the first byte wh...
Posted on August 29, 2017 at 18:15
I am trying to implement a simple echo program using the HAL drivers. Here is my code
#include 'stm32f1xx.h'
#include 'stm32f1xx_hal.h'
#include 'stm32f1xx_hal_conf.h'
void Error_Handler(void);
void SystemClo...
Posted on September 04, 2017 at 17:46Thanks for the reply. I solved the problem by adding a 1ms character delay to characters sent to the STM32 to the PC.