gary123
Newbie level 3
Hi,
FPGA is connected to a stand alone CAN controller (MCP2515) on board.
Iam able to talk to MCP2515 and set up different modes like loopback mode and tested my FPGA to MCP2515 communication everthing looks fine.
But when i cinfigure the MCP2515 as normal mode,MCP2515 is not responding to any of the messages from CAN bus master.
Below are the config. details of MCP2515:
CAN CLK provided by FPGA is 12Mhz & communication rate is 500kbps.
So i set up the Masks & filter registers with my identifier. ( iam using extended identifier) (iam using only RXB0 & TXB0 buffers)
CNF1- 00h
CNF2-A1h
CNF3-03h
TXRTSCTRL- 00h
CANINTE- 00h
RXB0CTRL- 40h
CANCTRL- 0Fh
Do i need to programm any other registers otherthan the registers mentioned above for CAN communcation?
As per the CNF1/2/3 my
SyncSeg-1
PropSeg-2
PhaseSeg1-5
PhaseSeg2-4
Any help is appreciated.
Thx..
FPGA is connected to a stand alone CAN controller (MCP2515) on board.
Iam able to talk to MCP2515 and set up different modes like loopback mode and tested my FPGA to MCP2515 communication everthing looks fine.
But when i cinfigure the MCP2515 as normal mode,MCP2515 is not responding to any of the messages from CAN bus master.
Below are the config. details of MCP2515:
CAN CLK provided by FPGA is 12Mhz & communication rate is 500kbps.
So i set up the Masks & filter registers with my identifier. ( iam using extended identifier) (iam using only RXB0 & TXB0 buffers)
CNF1- 00h
CNF2-A1h
CNF3-03h
TXRTSCTRL- 00h
CANINTE- 00h
RXB0CTRL- 40h
CANCTRL- 0Fh
Do i need to programm any other registers otherthan the registers mentioned above for CAN communcation?
As per the CNF1/2/3 my
SyncSeg-1
PropSeg-2
PhaseSeg1-5
PhaseSeg2-4
Any help is appreciated.
Thx..