2018-06-18 10:41 PM
I am trying to include UART into a sample program without using cubeMX. To my knowledge I have added everything it needs, but when I get to the transmit command, it checks the statement:
huart->gState == HAL_UART_STATE_READY
which is always false. It then goes into the else part of the execution, which returns that HAL is busy. What must I include for it to be in the ready state?
2018-06-18 10:51 PM
Rather than play these guess what's wrong games, show the code and it might be more apparent.
Make sure not to miss MSP code, or IRQ handlers
2018-06-19 12:55 AM