LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN communication issue

I want to do CAN testing using PXI-8512 for S32K566 MCU board.1st step i try to do is that, I took CAN loopback test from NI example finder and executed and also checked the signals using Saleae. I connected CANH pin of port 1 to CANH pin of port 2. Similarly for CANL and GND by referring the image(shown below).  I'm getting CAN error frames and in the block diagram, the array size is always zero in the reading part. I'll upload the block diagram, front panel and saleae screenshots. Please analyse those and let me know where is the issue.

 

Thank you

Parvathy Krishna R  

0 Kudos
Message 1 of 2
(66 Views)

Try Log Bus Traffic With NI-XNET Bus Monitor While Running NI-XNET Application

Enable Error Frame in the Interface and Database Settings. It will give you more info.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 2
(27 Views)