I am looking for a simple CAN Receive example for the STM32F042. The example I usually see cited (STM32072B_EVAL\Examples\CAN\CAN_Networking) is really all about sending a message when a button is pressed.
I'm using STM32CubeMX v4.25.0 along with the STM32CubeF0 Firmware Package V1.9.0.
What I need is a better understanding of how I can perform a non-blocking receive operation in my main loop.
I don't think I need interrupts or DMA - but if they're required, I'm OK with that.
My project is to listen to the CAN bus and when a specific message comes in, respond with a different specific message. This should be quite simple - but the documentation I've found so far is not clicking for me.