02-04-2020, 11:09 AM
(02-04-2020, 04:11 AM)BlueWave Wrote: Yes, we confirm provided pinout. Could you please send us a picture via private message how your wiring looks on the controller side?Okay, I will PM you an image of the connections.
Dmesg also looks fine.
Regarding MCP2515 datasheet, INT pin should be connected to any GPIO pin of Raspberry PI (later you set GPIO number in interrupt= entry of config.txt) and CE0 pin should be connected to PIN 24 (SPI0_CE0_N). Also please note a difference between PIN number and GPIO number (regarding INT pin wiring).
https://www.jameco.com/Jameco/workshop/c...e_fig2.jpg
What MCP2515 module do you use?
Yes, I have INT connected to pin 22, i.e GPIO25.
I have CS connected to pin 24, i.e SPI0_CE0
I am using the following module:
https://www.amazon.co.uk/gp/product/B06XCMJNQH/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
Modified such that the MCP2512 is running from 3v3, and the can transceiver is running from 5v, as per this tutorial:
https://www.raspberrypi.org/forums/viewtopic.php?t=141052
And I have J1 shorted.
Thanks for all your help on this