Posted on May 10, 2016 at 12:47
I am having an issue with a slow supply ramp, so I have been trying to set theSTM32F042 to do a software reset if the supply is under say 2.5Volts. I've been playing around with the PVD settings, and interrupts to...
Posted on May 10, 2016 at 17:50I assume you have also got the obvious 120 Ohm resistor at either end...? That will definitely cause issues in the real world if you haven't got them. The Sample point should also be around 75-90%.
Posted on May 10, 2016 at 12:58
I have a bit of code which does something very similar on the same uC.
Could you try these CAN Bit timing settings for 1MBit/s...?
/* CAN Baudrate = 1MBps*/
CAN_InitStructure.CAN_SJW = CAN_SJW_...