08-29-2024 12:49 AM
Hi everyone,
I hope this is the right place to seek some technical assistance. Our company specializes in new energy motors, and I am responsible for developing the PC software for testing purposes. We've been using a controller from a previous supplier that communicated via the CAN protocol (with DBC files), and we have a tested and validated program for this setup.
However, we've recently switched to a new controller supplier, and their controller logic does not implement the CAN protocol. Instead, it uses XCP. Now, I need to adapt our existing PC software to communicate using XCP instead of CAN.
I'm wondering if anyone here has experience with such a transition or can offer some guidance on how to approach this task. Specifically, we would like to keep the hardware setup unchanged during communication. Is it possible to initiate a CAN connection first, then establish an XCP connection, and subsequently send XCP protocol content?
Any advice, tips, or pointers would be incredibly helpful. I'm quite new to dealing with XCP and would greatly appreciate any insights the community can provide.
Thank you very much in advance for your time and assistance. I'm really hoping to find a solution here.
Attached is the code for CAN communication connection for reference only.
Thanks again!
08-29-2024 08:13 PM
Are you using NI hardware for CAN communication?
If you are using a third-party, you should reach out to their technical support.