How to Set Up DAQ in XCP Using PCAN-XCP API – Need Sample or Guidance
Posted: Sat 19. Jul 2025, 08:34
Hello,
I am currently working on implementing the XCP protocol and I'm facing difficulties specifically with setting up the DAQ (Data Acquisition) functionality.
I am using PEAK CAN Analyzer along with the PCAN-XCP API, and I'm looking for guidance on the proper flow to configure and use DAQ lists effectively.
Could anyone kindly help with:
A sample project demonstrating XCP DAQ setup?
A clear step-by-step flow for DAQ configuration using the PEAK PCAN-XCP stack?
Any tips or common pitfalls to avoid during DAQ setup?
I'm especially confused about the sequence of function calls needed (e.g., SetMTA, AllocDAQ, AllocODT, SetDAQPointer, etc.) and how to correctly fill in the ODT entries.
Any help, code examples, or documentation references would be greatly appreciated.
I am currently working on implementing the XCP protocol and I'm facing difficulties specifically with setting up the DAQ (Data Acquisition) functionality.
I am using PEAK CAN Analyzer along with the PCAN-XCP API, and I'm looking for guidance on the proper flow to configure and use DAQ lists effectively.
Could anyone kindly help with:
A sample project demonstrating XCP DAQ setup?
A clear step-by-step flow for DAQ configuration using the PEAK PCAN-XCP stack?
Any tips or common pitfalls to avoid during DAQ setup?
I'm especially confused about the sequence of function calls needed (e.g., SetMTA, AllocDAQ, AllocODT, SetDAQPointer, etc.) and how to correctly fill in the ODT entries.
Any help, code examples, or documentation references would be greatly appreciated.