simavr
simavr copied to clipboard
CAN support on ATMega16m1
Hi there! I was wondering if the ATMega16m1 simulation has CAN support built in? So can we fake CAN messages and see how the chip will respond? I use a CAN transceiver on my physical board so I'm not sure, just thought I'd ask. Or any suggestions on how to do that? Thanks!
I haven't played with CAN myself, so it's unsuported, but it looks vaguely like a SPI or UART or something like that so shouldnt be very difficult to emulate. Not at a "pin level" necessarily but at a "register level" like we do for UART and SPI...
i2c is harder because of the state machine (rather braindead in fact)...