I often complained about documentation...until I had to write the technical manual. I discovered it isn't nearly as easy as it seems. Writing a manual after the fact means you have to recall all the design criteria that was never written down and l...
Within the IDLE IRQ completion routine you have several conditions to check. For your question, check the UART receive data flag to see if there is any data still pending in the UART. If not, the DMA controller has completed the last cycle with ple...
Being retired I have quite a bit of free time. My H/W design experience goes back to 1975 and the Intel 8080, STM from STR750 (ARM7) on through F1/F2/F4/L0/L4 series. Software experience dates back to Algol and Fortran, a myriad of assembly language...
The easiest error to simulate is to disconnect from the CAN bus. You'll get a flood of errors which will quickly disconnect the transmitter. You can test how your code recovers from the disconnect in a graceful way, and if your application waits fo...