SPI on Linux version 4.4.0-72-generic

15 views
Skip to first unread message

Reshmi Chandran

unread,
Nov 16, 2017, 3:24:19 AM11/16/17
to BeagleBoard
Hi ,
I downloaded the latest prebuilt image Debian 9.1 2017-08-31 4GB SD LXQT . I want to connect a SPI device.
I could see 4 devices
spidev1.0
spidev1.1
spidev2.0
spidev2.1

but slot does not show any spi entry
root@beaglebone:/sys/devices/platform/bone_capemgr# cat slots
 0: ------  -1
 1: ---l--  -1
 2: ---l--  -1
 3: ---l--  -1
root@beaglebone:/sys/devices/platform/bone_capemgr#


pinctrl shows spi enbaled


cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups| grep spi


group: pinmux_P9_42_spics_pin
group: pinmux_P9_42_spiclk_pin
group: pinmux_P9_30_spi_pin
group: pinmux_P9_22_spi_pin
group: pinmux_P9_21_spi_pin
group: pinmux_P9_18_spi_pin
group: pinmux_P9_17_spi_pin
root@beaglebone:/sys/devices/platform/bone_capemgr#


I loaded the spidev module.But spidev_test did not  pass.
Please help. Am I missing out something.


Reply all
Reply to author
Forward
0 new messages