Page 1 of 1

MIAC CAN Interrupt

Posted: Thu Jan 14, 2021 9:29 am
by QMESAR
Hi Team.

Can you please help me ,is there anyway that I can link the MCP2515 CAN controller INT pin to one of the IOC pins on the Micro ,
in a busy application polling the CAN bus results in a loss of messages,

I am prepared to do the HW change myself but with out a schematic it is Risky affair

P1.jpg
P1.jpg (20.42 KiB) Viewed 9871 times

Re: MIAC CAN Interrupt

Posted: Thu Jan 14, 2021 11:37 am
by LeighM
Which version of MIAC are you using?

Re: MIAC CAN Interrupt

Posted: Thu Jan 14, 2021 1:02 pm
by QMESAR
Hi Leigh,

Sorry it is MIAC dsPIC V3 or something

Re: MIAC CAN Interrupt

Posted: Thu Jan 14, 2021 3:42 pm
by LeighM
There are no spare inputs.
But you could link across to either (UART0 RX) Port E1, or (UART1 RX) Port E3
Assuming you don't require both UARTs
These are available if you remove the UART selection header link ...

MCP2515.jpg
MCP2515.jpg (73.54 KiB) Viewed 9844 times

Re: MIAC CAN Interrupt

Posted: Fri Jan 15, 2021 7:29 am
by QMESAR
Leigh

Thank you that helps a lot ,I do not need both UARTS only 1 for the RS485 ,

Thanks again