ctzof
Full Member level 3
Hello,
Recently I configured my FPGA (MAX10) to work with CAN controller IP from open cores (https://opencores.org/project,can). This core is completable with SJA1000 controller from Philips. The core is connected to Nios processor in an 8051 mode interface. As a CAN transceiver I am using SN65HV230:
The initialization of the core in the beginning seems to work with no errors. The problem comes when I try to transmit some data, and I don't really know if the problem is in hardware or software.
So when try to transmit something there is nothing in coming in the CAN Bus. On the other hand if I connect RX and TX lines with 14K resistor the BUS is responding I am able to receive the correct data in my CAN analyser but the problem is that the controller keeps sending the same packet all over again.
As I am relatively new to CAN Bus any help on that would be welcomed.
Recently I configured my FPGA (MAX10) to work with CAN controller IP from open cores (https://opencores.org/project,can). This core is completable with SJA1000 controller from Philips. The core is connected to Nios processor in an 8051 mode interface. As a CAN transceiver I am using SN65HV230:
The initialization of the core in the beginning seems to work with no errors. The problem comes when I try to transmit some data, and I don't really know if the problem is in hardware or software.
So when try to transmit something there is nothing in coming in the CAN Bus. On the other hand if I connect RX and TX lines with 14K resistor the BUS is responding I am able to receive the correct data in my CAN analyser but the problem is that the controller keeps sending the same packet all over again.
As I am relatively new to CAN Bus any help on that would be welcomed.