How to verify baudrate is configured correctly or not by implementing self test code for UART?
Hello guys!
we generally configures UART in the cube mx and generating the codes, and after by calling Transmit and Recieve functions we are checking the outs on serial terminals.. if we dont get desired outputs then we are trying to dubbug and testing the hardware and observing the frames on CROs.
For most of the software engineers operating CROs is a headache. thats why i was thinking to build Selt test code in that it should verify the UART initialization is configured properly or not as well as it should check the configured baudrate is generating correctly or not by getting feedback on some other GPIOs.
