How to port Raspberry Pi hardware: ReSpeaker 4 Mic Array

Hi Developers!

I am trying to get a ReSpeaker 4 Mic Array designed for Raspberry Pi to work with Jetson Nano.

The compilation of the kernel modules runs without problems.

But how to convert/translate the device tree overlay?

Any pointer or help appreciated

Volker

I looked up the device.
That device is pretty specific to the Raspberry Pi – it uses the I2S port of the Raspberry Pi.
It may be that the Jetson runs I2S signals to the appropriate 40-pin header pins.
If so, you’d need to figure out what the configuration options for the board is, and configure the Jetson Device Tree appropriately, and then use the Jetson sound capture device driver.
Note: It’s unlikely that the Raspberry Pi kernel module will work, unless it happens to use the exact same sound/I2S hardware as the Jetson, which I find unlikely.

Thank you Snarky!

Sorry for the late reply.

How do I configure the Jetson Device Tree? I am new to this architecture.

Regarding your Note: I am a bit lost here, since I have no deep understanding of sound hardware.

My maive vision is that the ReSpeaker is some kind of sound subsystem that talks via I2S with the Micro-Computer (Raspi/Jetson) delivering sound in a standart format.

Does your note indicate: That this is not the case and the ReSpeaker only utilizes the I2S-Bus for its own non free protokoll.

Cheers

Volker

Then it is unlikely that you will be successful in developing the necessary driver software to make it work on the Nano.
You might want to ask the developer of the hardware whether they have a Jetson Nano version of the driver available (or under development.)

Thank you Snarky!

Is there a list of recommended Mic Arrays for the Jetson?

Cheers,

Volker

I got the ReSpeaker 4-mac array V2.0 that’s shown on the Isaac SDK, but I haven’t had a chance to test it yet.

https://docs.nvidia.com/isaac/isaac/packages/audio/doc/sound_source_localization.html

That’s a USB device, right? That should work well!

Hi,
@volker.jaenisch did you find any way to connect respeaker version 1.0 with jetson nano??

Hello ,
I am trying to configure Jetson nano with respeaker 4 mic array V1.0(AC108).
I have connected repeaker board on jetson nano’s 40-pin Expansion Header.
I have created DTS files[2][3] for 4-mic array V1.0 with reference of 2-mic array which is successfully running on nano[0].
I have attached dmesg log[1] and 2 dts[2][3] files for 4mic.

Prints from dmesg:

tegra-i2c 7000c400.i2c: no acknowledge from address 0x3b
snd_soc_seeed_voicecard: loading out-of-tree module taints kernel.

jetson@jetson-desktop:~$ lsmod
Module                  Size  Used by
fuse                  103841  3
zram                   26166  4
overlay                48691  0
spidev                 13282  0
snd_soc_wm8960         41957  0
snd_soc_ac108          65570  0
snd_soc_seeed_voicecard    11255  1 snd_soc_ac108
nvgpu                1575721  18
bluedroid_pm           13912  0
ip_tables              19441  0
x_tables               28951  1 ip_tables
jetson@jetson-desktop:~$ 

jetson@jetson-desktop:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
jetson@jetson-desktop:~$ 

L4T Version:
R32 (release), REVISION: 3.1
Jetson nano B01

Any help much appreciated.

[0] https://github.com/Seeed-Studio/seeed-linux-dtoverlays
[1] log_for_forum.txt (53.0 KB)
[2] jetson-seeed-4mic-voicecard.dts.txt (2.1 KB)
[3] jetson-seeed-4mic-ac108.dts.txt (3.3 KB)