uno32 with MCP2515

Post Reply
gromgsxr
Posts: 16
Joined: Tue Nov 24, 2015 12:22 am

uno32 with MCP2515

Post by gromgsxr » Fri Apr 01, 2016 8:29 pm

i am using a cheap can module: http://www.ebay.co.uk/itm/Arduino-MCP25 ... SwKIpV~w8n just like this one on a uno32 using the seeedstudio library that can be found here: https://github.com/Seeed-Studio/CAN_BUS_Shield , and all is working well i'm using an interrupt on pin2 (int1) "attachInterrupt(1, MCP2515_ISR, FALLING);"

it all works fairly well the uno can send and receive data over the can bus from the car ecu, and display data on a screen, but there is one annoying problem the uno has to be powered up first before the ecu otherwise it will just sit there doing nothing its like the interrupt is not firing. but if the uno is powered up first and then the ecu it all works as expected.

im looking for ideas as to what may be the problem?

guymc
Posts: 98
Joined: Mon Sep 24, 2012 3:24 pm

Re: uno32 with MCP2515

Post by guymc » Tue Apr 05, 2016 6:10 pm

Hi, I'm very interested in this project and will try to help. Contacting you offline now...

gromgsxr
Posts: 16
Joined: Tue Nov 24, 2015 12:22 am

Re: uno32 with MCP2515

Post by gromgsxr » Thu Apr 07, 2016 1:59 am

well it appears its possibly an issue with the library as i got the exact same behaviour when i tested with an arduino uno and a arduino mega, so its not just a chipkit thing.

Post Reply