40 pin header
#6
(01-07-2018, 06:57 AM)xalius Wrote: Yes sure, as long as the pin also has  GPIOx_ name in the schematic, you can disable the special function via the devicetree and use them as GPIO. You also have to disable the device node of the block using the pins in some cases, like UART2 here...

Thanks for the response. I know that is generally true, but in the case of GPIO3_B0 (SPI_CSN0_M2) -- this pin is connected to the chip select of U1 on the Rock64.

Even if you repurpose it, it will still drive the chip select -- it's the same wire. Therefore, when used as a GPIO and driven low, U1 will start driving SPI's MISO line. This will collide with anything that is using SPI at the moment.

Also, the graphic that shows the 40-pin header (ROCK64_Pi-2 _and_Pi_P5+_Bus.pdf) states the the SDMMC0_xxxx pins can be used as GPIO as long as no MicroSD is used.

How do these pins operate during boot? If they are intended to be used as GPIO by an application, the boot process may inadvertently cause a daughterboard to react because the application hasn't booted yet.

Any guidance would be appreciated.


Messages In This Thread
40 pin header - by GaryLa - 01-03-2018, 11:15 AM
RE: 40 pin header - by GaryLa - 01-05-2018, 09:52 AM
RE: 40 pin header - by zehks - 01-05-2018, 07:37 PM
RE: 40 pin header - by GaryLa - 01-06-2018, 01:11 PM
RE: 40 pin header - by xalius - 01-07-2018, 06:57 AM
RE: 40 pin header - by GaryLa - 01-07-2018, 11:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Popcorn Hour Transformer header pinout yar 0 2,003 11-14-2020, 01:46 PM
Last Post: yar
  Quick question about the SPDIF header theophile 2 4,499 09-29-2020, 06:13 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 3 Guest(s)