my second attempt on atmega328p-au based pcb (first one had some issues that @LarryD & @johnwasser pointed out and following their points and advice i made changes to my "v2" pcb)
** Still my PCB designing skill is below zero and im learning
This board does communicate with arduino ide and i can upload sketches, do analog/digital in/out with no issues at all so far however to get close to what my aim is in this board i added MCP2515 and TJA1050T chip so i could get CANBUS data as well.
As mentioned above atmega328 and usb comms work really well but no matter what i cannot get the canbus to work (not able to send or receive anything on canbus)
I tried @autow autowp's library as well as @coryjfowler 's library GitHub - coryjfowler/MCP_CAN_lib: MCP_CAN Library but reached nowhere.
(using same libraries, arduino uno and a chinese made mpc2515 board i can read and send CAN data but not on my pcb)
So i thought i would post my schematic and pcb here and maybe someone can see an obvious error that i made and can help me pinpoint and fix my issue.
Running autowp's library CAN_Receive example sketch:
while serial monitor running if i touch mcp2515 chip (specifically around pin 12-15) i get some gibberish reading in serial monitor