Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RKint
Beginner
1,696 Views

Processor GPIOs, where and how?

Jump to solution

With respect to This page:

https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus

Section: Processor GPIOs

Two questions:

1. How to physically access the pins. Where are they exposed on the RTF? (if at all)

2. How to manipulate them.

Current documentation is a bit less than ideal. It says... Blah Blah Blah

No really, it says that.

Thanks for your time and any additional information. blah blah blah.

- Randy

0 Kudos
1 Solution
idata
Community Manager
287 Views

Hi Randy,

 

 

Thank you for bringing this to our attention, I will work with the appropriate team to fix the documentation.

 

 

The CPU_GPIOs are not accessible on the Intel Aero RTF Drone. With the Aero compute board, you can access CPU_GPIO_01, CPU_GPIO_03, and CPU_GPIO_04 from the "J1" Power board port on the 80-pin accessories connector. The CPU_GPIOs can be set by exporting the gpio486, gpio481, gpio487 on the Linux consoles with the following commands:

 

 

echo 481 > /sys/class/gpio/export

 

echo out > /sys/class/gpio/gpio481 /direction

 

echo 1 > /sys/class/gpio/gpio481 /value

 

echo 0 > /sys/class/gpio/gpio481 /value

 

 

Additional information can be found on the Intel® Aero Compute Board

 

Hardware Features and Usage document, section 3.7.2.2 and 3.8.

 

https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar...

 

 

Regards,

 

Jesus

 

 

View solution in original post

3 Replies
idata
Community Manager
288 Views

Hi Randy,

 

 

Thank you for bringing this to our attention, I will work with the appropriate team to fix the documentation.

 

 

The CPU_GPIOs are not accessible on the Intel Aero RTF Drone. With the Aero compute board, you can access CPU_GPIO_01, CPU_GPIO_03, and CPU_GPIO_04 from the "J1" Power board port on the 80-pin accessories connector. The CPU_GPIOs can be set by exporting the gpio486, gpio481, gpio487 on the Linux consoles with the following commands:

 

 

echo 481 > /sys/class/gpio/export

 

echo out > /sys/class/gpio/gpio481 /direction

 

echo 1 > /sys/class/gpio/gpio481 /value

 

echo 0 > /sys/class/gpio/gpio481 /value

 

 

Additional information can be found on the Intel® Aero Compute Board

 

Hardware Features and Usage document, section 3.7.2.2 and 3.8.

 

https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar...

 

 

Regards,

 

Jesus

 

 

View solution in original post

RKint
Beginner
287 Views

Thanks for the help.

For future revisions, it would be nice to have at least a few pins exposed for general use on the RTF.

Maybe some of the existing pins exposed for the telemetry port can be re-purposed via reprogramming the FPGA?

Or maybe there's a custom connector available for purchase that can be used to route other CPU pins to a physical connector?

Just curious if anyone out there has investigated this.

Thanks again.

- Randy

idata
Community Manager
287 Views

Thank you for your feedback Randy. I will definitely pass your suggestion to the engineering team.

 

You can re-program the FPGA to configure the ports to your needs. We are working on documenting the FPGA configuration so users can be able to do this.

 

 

You can find some documentation about the FPGA at the following link:

 

https://github.com/intel-aero/meta-intel-aero/wiki/95-(References)-FPGA

 

 

Regards,

 

Jesus
Reply