Giter VIP home page Giter VIP logo

Comments (6)

Tiryoh avatar Tiryoh commented on August 20, 2024

Hi @ADV-LUT ,

Thanks for your report. I've never faced that issue.
The dmesg command shows the kernel log, so I think you can find something helpful.
Could you tell me your L4T version, which can check by head -n 1 /etc/nv_tegra_releas?

from jetsonnano_dt_spi.

ADV-LUT avatar ADV-LUT commented on August 20, 2024

Hi,

I found my issue, you have used a older version.
When I used the older SD-Card image from the 18.03.2019 your script works well.

What do I have to do if I want to use the new L4T version from 16.07.2019?

I want to use the SPI to enable CAN communication on the nano. I would like to use an MCP2515 CAN interface with an MCP2562 transceiver.

How do I have to change the kernel and scripts? Do you have any tips for me?

Thanks for your help and your great work.

from jetsonnano_dt_spi.

Tiryoh avatar Tiryoh commented on August 20, 2024

Hi @ADV-LUT,

Thanks for your feedback.

What do I have to do if I want to use the new L4T version from 16.07.2019?

Unfortunately, I don't know what to do at this point.
I have only tested on the version on R32.1.0 which was published in March 2019. I'll test and modify the script soon to make L4T version R32.2.0 which was published in July 2019.

How do I have to change the kernel and scripts? Do you have any tips for me?

At this point, there is only a way I can guide you is to use the older version image, L4T R32.1.
I think L4T R32.1 and rt-net/JetsonNano_DT_SPI makes the SPI device MCP2515 available to access via Pin 19, 21, 23 and 24 on Developer Kit.
The J41 Header Pinout is available here: https://www.jetsonhacks.com/nvidia-jetson-nano-j41-header-pinout/.

from jetsonnano_dt_spi.

ADV-LUT avatar ADV-LUT commented on August 20, 2024

Hi @Tiryoh,

thanks for the great feedback.

I connected the MCP2515 correctly and decided to use Pin22 (GPIO13) as an interrupt pin. However, I do not know now how to continue. I also find no documents, how I have to configure it for a Nano or generally in a Linux system.

I know this is a little bit away from the current problem, but I would very grateful for help.

Where do I have to activate or register the MCP2515 in the kernel?
Where do I define that the pins are the MCP2515 and CAN and where stands the ćhoosen interrupt pin??

I found this:
https://www.jetsonhacks.com/2017/04/04/gpio-and-spi-nvidia-jetson-tx1/

But I do not understand how now my next step, if I use your script and the nano.

from jetsonnano_dt_spi.

Tiryoh avatar Tiryoh commented on August 20, 2024

Hi @ADV-LUT,

I connected the MCP2515 correctly and decided to use Pin22 (GPIO13) as an interrupt pin.

There are 2 SPI functions for Jetson Nano DK.

  • SPI0 on Linux, SPI1 on DK
  • SPI1 on Linux, SPI2 on DK

The target of this tool is to enable SPI0 on Linux, SPI1 on DK.
Therefore, we can only use Pin 19, 21, 23 and 24 on Developer Kit.
Pin 13, 16, 18, 22 and 37 are only available for SPI1 on Linux, SPI2 on DK.

Where do I have to activate or register the MCP2515 in the kernel?
Where do I define that the pins are the MCP2515 and CAN and where stands the ćhoosen interrupt pin??

I read https://www.jetsonhacks.com/2017/04/04/gpio-and-spi-nvidia-jetson-tx1/, it seems to rebuild the kernel. At this point, I'm not sure how to rebuild the kernel successfully.

from jetsonnano_dt_spi.

Tiryoh avatar Tiryoh commented on August 20, 2024

This issue will be closed because there is no update for a while.
Please feel free to re-open this issue if you have any problems again.

from jetsonnano_dt_spi.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.