I am trying to get the octo to load alongside 2 MCP23017 gpio expanders on the i2c addresses 0x20 and 0x21 within the device tree.
If I don't have the gpio expanders connected, the octo loads fine at address 0x48 (shows as UU), but if I have the gpio expanders connected, they load fine but the octo does not load in the device tree. It is still shown at address 0x48, just not loaded up.
See below.
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: UU UU -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Here is the dmesg portion that I think is relevant
[ 2.687825] i2c /dev entries driver
[ 3.066625] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.175605] systemd-journald[120]: Received request to flush runtime journal from PID 1
[ 3.483395] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 3.778913] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 3.784817] usbcore: registered new interface driver brcmfmac
[ 4.050024] brcmfmac: Firmware version = wl0: Aug 7 2017 00:46:29 ve rsion 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 4.051144] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10 :53:55 Inc Data: 9.10.41 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Crea tion: 2017-08-07 00:37:47
[ 4.342614] cs42xx8 1-0048: failed to get device ID, ret = -121
[ 4.344145] cs42xx8: probe of 1-0048 failed with error -121
[ 5.033327] random: crng init done
[ 5.070091] uart-pl011 3f201000.serial: no DMA platform data
[ 5.160663] audioinjector-octo soc ASoC: CODEC DAI cs42448 not registered - will retry
[ 5.160677] audioinjector-octo soc snd_soc_register_card faile d (-517)
[ 5.209472] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[ 5.448558] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5.448646] brcmfmac: power management disabled
[ 5.832999] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 5.833330] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.720655] audioinjector-octo soc ASoC: CODEC DAI cs42448 not registered - will retry
[ 6.720671] audioinjector-octo soc snd_soc_register_card faile d (-517)
[ 7.387525] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.388348] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, l
Any ideas what is causing the octo to fail to load? I have tried rearranging the sequence in the /boot/config.txt file, but the results are the same..
my dts file is based off this code that I developed a while back.
https://www.raspberrypi.org/forums/view ... 5#p1070167
I just commented out the last 2 fragments to disable the last 2 devices in the list and updated the interrupt pins to 12 and 16 for addresses 0x20 and 0x21 respectively
Loading other I2c devices through device tree causes octo to not load
Moderator: flatmax
Re: Loading other I2c devices through device tree causes octo to not load
I merged the two dts files and got it working
Re: Loading other I2c devices through device tree causes octo to not load
great ! thanks for letting us know.
Matt
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Who is online
Users browsing this forum: No registered users and 3 guests