![]() |
Jetson Sensor Processing Engine (SPE) Developer Guider32.7.5 Release |
SPI application demonstrates how to access/manipulate Always On (AON) SPI from the SPE/AON processor. SPI 2 is in AON domain for both Jetson TX2 and Jetson AGX. The compilation of this demo app can be controlled by "ENABLE_SPI_APP" flag in the soc/*/target_specific.mk file. The app uses loop back test, user must short MISO and MOSI signals (follow below sections for pin map) in order to successfully run this app. The app sends predefined bytes and compares sent bytes with received, on success it should print "SPI test successful".
SPI 2 signals are available at connector J23 with below pin mappings.
SPI 2 is also enabled and accessed in tegra186-display-e3320-1000-a00.dtsi device tree file from kernel side which needs to be disabled as shown in below code snippet.
SPI 2 signals are available at connector J6 with below pin mappings.
SPI 2 is also enabled and accessed in tegra194-camera-e3377-a00.dtsi device tree file from kernel side which needs to be disabled as shown in below code snippet.