Doing some design validation on a board that uses Embassy I noticed some overshoot on the TX signal going to the CAN transceiver.
The GPIO speed is set to VeryHigh which has much faster edges than even an 8Mbit/s bus would require.
My suggestion is to change the default TX speed to Medium (which should be good for up to 10MHz even when running at 1.8V) and possibly even make it user configurable. Happy to do the work on this one and submit a PR if someone gives me the go ahead.
For reference, here's the I/O AC characteristics table for the STM32G474.
