フィルターのクリア

CAN communication in NVIDIA Jetson Nano

36 ビュー (過去 30 日間)
Vasanth Krishnan
Vasanth Krishnan 2023 年 11 月 6 日
コメント済み: Vinzenz Brian Gerhard 2024 年 6 月 26 日 10:29
Hi,
I am trying to interface a IMU sensor that has CAN communication with NVIDIA Jetson Nano and visualize the data in simulink and use the data in my model.
But as the NVIDIA Jetson Nano doesn't have inbuilt CAN interface, I would like some inputs on how this can be done using the MATLAB/Simulink support packages for NVIDIA Jetson.
Can some one give me inputs on how I can integrate CAN communication in a Jetson Nano and use the data over CAN within my Simulink Models.
Thank you

採用された回答

Ramakrishna Mandalapu
Ramakrishna Mandalapu 2023 年 11 月 7 日
Hi Vasanth,
Unfortunately, on Jetson Nano there are no built-in CAN controllers. You can refer to this post on the NVIDIA blog. In the post they confirm that there are no CAN controllers on Jetson Nano. In addition, they provide a CAN solution through SPI interface, you can follow that approach if you want CAN only IMU integration. IMU sensors can be interfaced through I2C as well. The current sensors we support through Simulink uses I2C. I suggest if you are not concerned about the interface then you can take advantage of these sensor blocks in the support package "MATLAB Coder support package for NVIDIA Jetson and NVIDIA DRIVE Platforms".
Thanks,
Ramakrishna
  8 件のコメント
Vasanth Krishnan
Vasanth Krishnan 2023 年 11 月 20 日
Hi Ramakrishna,
I have rectified the error and its now working good. I got the CAN working in the Jetson Nano both via USB-CAN as well as SPI and I am able to visualize the data within Simulink.
Thank you for your inputs,
Vasanth
Vinzenz Brian Gerhard
Vinzenz Brian Gerhard 2024 年 6 月 26 日 10:29
Hello Vasanth,
could you share your setup with the SPI communication? I am thinking of using the jetson nano with some CAN devices and want to find out how to do it. My main concerns are:
  • What CAN shield are you referring to? When I search for "MCP2515 CAN shield" as you mentioned, I only see shields for Arduino.
  • To which pins on the jetson nano should the shield be connected?
  • How did you configure the CAN receive and CAN transmit blocks in your model?
Thank you for your help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with GPU Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by