Posted on December 11, 2017 at 10:25The original post was too long to process during our migration. Please click on the attachment to read the original post.
Have you tested both sides of the link with a terminal program on a PC before trying to put them together?
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Indeed, I would double check the port level initialization which CubeMX obfuscates into other files/functions.
Scope the pins and test sending from a terminal app, checking if the receive function reports errors, or the USART has status issue with respect to framing or other errors.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..