NVIDIA hardware GPIO pins

6 views (last 30 days)
Andrew DeCenzo
Andrew DeCenzo on 15 Nov 2019
Is there any functionality in matlab or simulink to read/write GPIO pins on Nvidia hardware? (particularly jetson nano). I find it very strange that there is tons of documentation on deploying deep neural nets to the hardware, but I cannot find any information on something that seems so simple.
  5 Comments
Andrew DeCenzo
Andrew DeCenzo on 17 Nov 2019
Thank you for the response again, Walter. So since this is a python library, am I still able to call these functions from the terminal? (I'm sorry I don't know the correct terminology) Also, I tried adding my username in visudo to never ask for passwords. I'm not sure if that helps anything.
Walter Roberson
Walter Roberson on 17 Nov 2019
You can call python from MATLAB.
What you can call from the terminal is not a topic for a MATLAB forum. That said, python can be invoked from the terminal if necessary.

Sign in to comment.

Answers (1)

Ramakrishna Mandalapu
Ramakrishna Mandalapu on 19 Jul 2021
Hi Andrew,
We are bringing the GPIO read/write functionality in MATLAB and Simulink in our future release R2021b as a part of the support package MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms.
Ramakrishna
  2 Comments
timmyxyz
timmyxyz on 17 Jan 2022
Hi Ramakrishna,
I installed the R2021b with the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms.
But there are no GPIO-Blocks, the Basics Folder in the Library is empty.
Do you have an Idea why the Folder is empty?
Thank you,
Tim S.
Ramakrishna Mandalapu
Ramakrishna Mandalapu on 17 Jan 2022
Hi Tim,
Thanks for trying out the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms. Can you please update the spkg if there are any updates?, we have added the GPIO blocks in the Basic library but somehow in the release version is not showing up. We have fixed this issue in the November monthly update 21.2.1. Hopefully this version must resolve this issue, otherwise, do the following
1. Please run this command in MATLAB
>> rehash toolboxcache;rehash path;
2. Right click “NVIDIA Jetson and NVIDIA DRIVE/Basic” and then select the Open Basic Library
Thanks,
Ramakrishna

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!