How to use GPIO CAN

Hello.I want to try using a 1M baud rate in a C++program to control CAN transmission and reception。
I tried using Terminal to Loop Send:

while true
    cansend can0 123#abcdabcd

But within 1 second, only over 200 pieces of data can be sent
How to send and receive CAN faster in C++code?

Hi 2382972980,

Are you using the devkit or custom board for Xavier NX?
What’s your Jetpack version in use?

Have you tried to use cangen instead?

What’s your requirement and the use case?

It has been resolved,Sorry to disturb you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.