Error passive warning

PCI Express to CAN Interface
Post Reply
Alejomg
Posts: 3
Joined: Thu 15. Mar 2018, 15:10

Error passive warning

Post by Alejomg » Thu 15. Mar 2018, 15:24

Hello,

I'm using this interface for a project at my university. I have other devices on the bus and I can monitor their activity using PCAN-View if I set the PCAN-PCIe card to listen-only mode, but whenever I try to send something on the bus (not using listen-only mode, obviously) I get a status: Error Passive. I'm wondering what could be causing this issue and how could I solve it? Any help would be appreciated.

Regards,
Alejandro

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Error passive warning

Post by M.Maidhof » Thu 15. Mar 2018, 16:30

Hi,

please check your CAN cables for correct termination. Next, please verify which baudrate settings (samplepoint etc.) is used on your CAN bus by the different CAN nodes. You can modify the used baudrate from the default value to the needed values by selecting a BTR0BTR1 value. Use the baudtool from our support website to calculate the baudrate settings you need.

regards

Michael

Alejomg
Posts: 3
Joined: Thu 15. Mar 2018, 15:10

Re: Error passive warning

Post by Alejomg » Fri 16. Mar 2018, 17:43

Hi,

thanks for the quick response. I have a couple questions. This model has an 8 MHz clock frequency, right? Right now, the bit timing parameters are: prescaler=1, tseg1=5, tseg2=2 and sync jump width=1. I believe these are the default parameters for a 1 Mbps transmission with a 75% sample point.

Is it necessary for the different nodes connected to the bus to have the same sample point? As far as I understand the only requirement would be for them to have the same baud rate, in this case 1 Mbps.

If there was a problem with the cables and their terminations, wouldn't it be impossible to check the activity on the bus even in listen-only mode?

Also, regarding the connection to the bus, right now I only have pins 2,3 and 7 (CAN-L, GND and CAN-H respectively) from the DB9 connector connected to the bus. Is this enough or do I need to use pin 6 (also GND) to the common ground?
Image

Regards,
Alejandro

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Error passive warning

Post by M.Maidhof » Mon 19. Mar 2018, 10:06

Hi,

the used oscillator frequency is depending on the used PCAN-hardware. Please provide the serialnumber of your card, to be able to see which hardware version you are using. Typically on SJA1000 based cards, 16Mhz will be used.

For a working CAN communication all nodes should use the same bitrate settings (baudrate, samplepoint, sjw etc.).

When there is a baudrate missmatch, you will receive no valid CAN frames (even in LO mode), only errorframes.

You need to use CAN-L and CAN-H for a working communication. CAN-GND is optional. However, it is necessary to have 120 Ohms termination resistors on both ends of your CAN cable between CAN-L and CAN-H, otherwise no CAN communication will be possible.

regards

Michael

Alejomg
Posts: 3
Joined: Thu 15. Mar 2018, 15:10

Re: Error passive warning

Post by Alejomg » Thu 22. Mar 2018, 18:21

Hi,

I've solved the problem now. It was caused do to faulty wiring, but everything is working fine now. Thank you very much for your help.

Regards
Alejandro

David
Posts: 1
Joined: Fri 28. Jun 2019, 10:36

Re: Error passive warning

Post by David » Fri 28. Jun 2019, 10:48

Hi Everyone,
@Alejomg, I am facing the same issue of passive error warning.

I am connecting PCAN USB FD with MK22FX512 Microcontroller(CAN) and want to make CAN communication. If I try to transmit or received the data, The LED on PCAN USB FD is become RED and PCAN View is showing Passive error warning.
How can I resolve this issue ?

Any help is appreciated and will be thankful.

Best Regards

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Error passive warning

Post by PEAK-Support » Fri 28. Jun 2019, 11:40

The red LED on the PCAN-USB FD shows that your CAN System have a problem.

Simply check the CAN Basics - which will solve 100% your problem

* Termination
* A CAN Network need minimum 2 activce nodes (otherwise noc ACk - if no ACK --> ERRORS)
* Check the Timing ! CAN FD is very sensitive if the timing is not 100% correct!

But all these infos are posted in this forum hundred times
Also: you post in a PCI-Express part - not USB-FD .... :roll:
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

xiaoxi.sun
Posts: 1
Joined: Sun 11. Oct 2020, 10:46

Re: Error passive warning

Post by xiaoxi.sun » Sun 11. Oct 2020, 10:56

David wrote:
Fri 28. Jun 2019, 10:48
Hi Everyone,
@Alejomg, I am facing the same issue of passive error warning.

I am connecting PCAN USB FD with MK22FX512 Microcontroller(CAN) and want to make CAN communication. If I try to transmit or received the data, The LED on PCAN USB FD is become RED and PCAN View is showing Passive error warning.
How can I resolve this issue ?

Any help is appreciated and will be thankful.

Best Regards
Hi David,
I met same problem as yours with same device, did you solve it? If yes, could share with me how? Thanks!

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Error passive warning

Post by PEAK-Support » Sun 11. Oct 2020, 11:21

see our answer - this will also be help in you system.
The red LED on the PCAN-USB FD shows that your CAN System have a problem.

Simply check the CAN Basics - which will solve 100% your problem

* Termination
* A CAN Network need minimum 2 activce nodes (otherwise noc ACk - if no ACK --> ERRORS)
* Check the Timing ! CAN FD is very sensitive if the timing is not 100% correct!
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply