Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] CAN transmission doesn't work properly

Status
Not open for further replies.

ctzof

Full Member level 3
Joined
Mar 1, 2012
Messages
157
Helped
12
Reputation
24
Reaction score
11
Trophy points
1,298
Location
Munich
Activity points
2,516
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.
 

Problem solved. It was a bad soldering on RX pin from FPGA to the transceiver.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top