Hi all,
I have added two CAN-bus with MCP2515 over SPI on Carrier Board.But,I used the Pins B23 and B25 on JetsonTX1_OEM_Product_DesignGuide to be SPI_INT.Now,I don’t know Which GPIO for GPU was defined as the B23 and B25.So,Can anyone give me the Corresponding relation?
Thanks in advance.
The GPIO for GPU causes that we can not debug CAN-bus on the software.
They are GPIO6/7 as you can find in page 19 of JetsonTX1_Developer_Kit_Carrier_Board_Spec.pdf
[url]http://developer.nvidia.com/embedded/dlc/jetson-tx1-developer-kit-carrier-board-spec[/url]
Hi Trumany,
I have tried the two GPIOs.But,it doesn’t work.I mean that GPIO6/7 don’t Correspond TEGRA_GPIO_PA6/7 as Seeing figure below.
GPIOs defined route in kernel: kernel_source/arch/arm/mach-tegra/gpio-names.h
So,I want to know GPU’s GPIO for Jetson TX1 module B23/25. Can you sure it?
Thanks,very much.
Hi Trumany,
My issue point is defferent with these.I konw B23/25 are GPIO6/7 in JetsonTX1_OEM_Product_DesignGuide.Now,I need to define the two GPIOs in kernel software.But,Which two GPIOs correspond the pin of B23/25?The GPIOs number printed as attachment.
Please Help,thanks in advance.
Hi Trumany,
My issue point is defferent with these.I konw B23/25 are GPIO6/7 in JetsonTX1_OEM_Product_DesignGuide.Now,I need to define the two GPIOs in kernel software.But,Which two GPIOs correspond the pin of B23/25?The GPIOs number printed as attachment.
Please Help,thanks in advance.
Hello, Wance:
For pin, you can refer to Jetson_TX1_Generic_Customer_Pinmux_Customer_Release.xlsm, which can be downloaded from NV web.
B23 – GPIO7/TOUCH_RST GPIO3_PV.06 (That’s PV06)
B25 – GPIO6/TOUCH_INT GPIO3_PX.01 (That’s PX01)
And then you can get the corresponding GPIO number from file gpio-names.h
br
Chenjian
Oh,Good.I get it
Thank you very much.
Take a look at the file “kernel_source/drivers/pinctrl/pinctrl-tegra210.c”.
There is a list directly mapping the pin-names to gpio-indices, including also the ones not having their gpio-name in the spreadsheet (if you want for some reason to use for example a spi- or uart-pin as a gpio).