Hi,
I am trying to connect a TI PCM3168A analogue audio codec to a RP5. My goal is to do multichannel recording with this chip. The drivers of this codec (https://www.ti.com/tool/PCM3168ASW-LINUX) are in the Linux kernel (https://github.com/raspberrypi/linux/bl ... 3168a.yaml).
Steps I did:
I am trying to connect a TI PCM3168A analogue audio codec to a RP5. My goal is to do multichannel recording with this chip. The drivers of this codec (https://www.ti.com/tool/PCM3168ASW-LINUX) are in the Linux kernel (https://github.com/raspberrypi/linux/bl ... 3168a.yaml).
Steps I did:
- Setting up RP OS, with SPI and I2C enabled. Connecting the codec to the RP's pin header.
- following https://www.raspberrypi.com/documentati ... ernel.html , I build the kernel (RP5, 64bit, cross-compiled on Ubuntu). I hope I got the order correct (first time working on a kernel):
Following the guide until "Build configuration" and "Customise the kernel version using LOCALVERSION",
then using menuconfig to include the driver for the PCM3168A. I activate the SPI and I2C part of the drivers, after searching for it these two and the main one depending on it show after this step as "m" (module) instead of "n" (no). Save and exit.
Then building using make, and installing the kernel on the SD card.
Booting the RP. - I assume I still have to load the driver's device tree overlay? I don't find an overlay file which seems to match my codec though? I follow https://www.hifiberry.com/docs/software ... ux-3-18-x/ to edit config.txt , disabling onboard sound devices and want to add something for the TI PCM3168A. Is this the correct step? I find in https://e2e.ti.com/support/audio-group/ ... x-raspbian someone tried the same (without success), I am trying his commands, but it seems not to work.
In any case, the codec gets not listed using aplay -l
Statistics: Posted by ant! — Mon Sep 16, 2024 7:40 pm — Replies 0 — Views 36