03-14-2017 05:54 AM
Hi all,
What is the best error handling approach for CAN protocol working with a 9853 at FPGA Level?
In the examples that I found I saw two approaches:
1.- To see if there are Frames Lost (code 65539) and then call CAN Reset and CAN Start
2.- To check if Comm State is different to Error Active and then call CAN Reset and CAN Start
In all options you have to uncheck auto start at the module configuration, isn't it?
What is the best? or if you think there is another best option please let me know!
Thanks!!
03-21-2017 09:16 AM
Anyone can help me?
Nobody wants some Kudos?? 🙂
Thanks
03-21-2017 09:26 AM
I do but haven't done any CAN work on FPGA in many years, and I don't remember any thing specific. We just read the frames and send them in a DMA buffer back to the Windows PC that either read, or wrote them. There was no work on the FPGA other than send and receive. We were only using it this CAN device (instead of a cheap USB CAN) because we already had an expansion chassis for c series modules and it was easier to just drop in a CAN device in an empty slot.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-26-2018 03:58 AM
Hi,
I saw that this is an old thread, but as I have just implemented a CAN reader in FPGA, I though it can be useful to put down my experience:
The basic VI is attached.
I am using Labview 2015 SP1 on Windows 7 with Compact RIO.
Regards,
Zoltan