About using PCM3010 with jetson NANO

Hello,

When I tested the jetson nano devkit module(sdcard) version, config-by-function.py works normally.

For jetson nano emmc module(production) version, “no board data” message appears.

I checked it in about 3 modules.

please check.

===============================================================

When I run the command in another jetson nano module, I get the following error. What’s wrong with this?

Thank you.

Hello!

Yes that is expected. The eMMC version is not supported by jetson-io because that is not the default module that ships with the devkit. The jetson-io tool is only intended for prototyping on the devkits. If you have the eMMC module, then you need to use the pinmux spreadsheet to reconfigure the pinmux.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fadaptation_and_bringup_nano.html%23wwpID0E06P0HA

Regards,
Jon

1 Like

Hello,

It says "This spreadsheet assumes L4T 32.2.x.

It is currently 32.4.3, can I use this file?

Isn’t the note text supposed to change?
Or shouldn’t the file be uploaded?

Thank you.

Hello,

In this excel file you want to set it according to the following command you gave me
Can you tell me where to edit it?

I’m in a hurry because of the audio problem right now, but I’m not sure where to edit the excel file.

Thank you.

Hello,


in pinmux change #7 Is this path of L4T downloaded and compressed to create a flashing host?

Thank you.

Hello!

Thanks for reporting this. I will see if we can get this updated. It should be OK to use this version.

Regards,
Jon

1 Like

Hello!

You want to configure the ‘I2S0/DAP4’ pins.

Regards,
Jon

1 Like

Hello!

This is the path to the extracted Tegra210_Linux_R32.4.3_aarch64.tbz2 package and there should be a Linux_for_Tegra/kernel/dtb directory.

Regards,
Jon

1 Like

Hello,

Looking at the excel, my chest feels stuffy and dizzy.
Is this part correct? To set it up like the following command you gave me
How to edit this part in Excel?

Thank you.

Hello!

Sorry about that. It is a bit complex. So you need to …

  1. Set column ‘AS’ to be the DAP4B signals
  2. Set solumn ‘AT’ to be bidirectional for FS and SCLK, input for DIN and output for DOUT

Then you should click the Generate DT button.

Regards,
Jon

1 Like

Bidirectional?
image

Thank you.

1 Like

Hello,

What is DAP4B signals in this excel sheet?

Mark it in Excel
Can you take a screenshot of the Excel screen you set?

Sorry to bother you.

Thank you.

1 Like

Yes, that’s correct!

Jon

Hello!

Sorry I believe it is I2S4B. If you click on the cells in column AS then you should see the I2S4B signals as an option. So if you click on say “GPIO3.PJ05” you should see an option for I2S4B.

Regards,
Jon

2 Likes

Hello,


After dtb file is copied

Can I not run apply_binaries.sh before flashing?

Thank you.

Hello!

Please see this guide. The following steps are necessary before running the apply_binaries.sh script …

$ tar xf ${L4T_RELEASE_PACKAGE}
$ cd Linux_for_Tegra/rootfs/
$ sudo tar xpf ../../${SAMPLE_FS_PACKAGE}
$ cd ..
$ sudo ./apply_binaries.sh

A description of what the above pacakges are can be found in the above guide.

Regards,
Jon

Hello,

As you told me, I set up pinmux in the production module and flashed it.

The sound-test is executed as follows.
There is no sound when I put on the earphones.
I thought the sound came out when the speaker-test was run.

The sound came out from the devkit module set up using jetson-io.py.

What can I check?

Thank you.

Hello!

Compare the pinmux settings between the Nano modules (SD version and eMMC) by …

$ sudo grep dap4 /sys/kernel/debug/tegra_pinctrl_reg

Regards,
Jon

1 Like

Hello,

On production module

speaker-test -D hw:tegrasndt210ref,0 -c 2 -r 48000 -F S32_LE -t pink -f 500

speaker-test 1.1.3

Playback device is hw:tegrasndt210ref,0
Stream parameters are 48000Hz, S32_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 4096
Period size range from 16 to 2048
Using max buffer size 4096
Periods = 4
was set period_size = 1024
was set buffer_size = 4096
0 - Front Left
1 - Front Right
^CTime per period = 4.096294
sudo grep dap4 /sys/kernel/debug/tegra_pinctrl_reg
[sudo] password for :
Bank: 1 Reg: 0x70003144 Val: 0x00000045 → dap4_fs_pj4
Bank: 1 Reg: 0x70003148 Val: 0x00000045 → dap4_din_pj5
Bank: 1 Reg: 0x7000314c Val: 0x00000045 → dap4_dout_pj6
Bank: 1 Reg: 0x70003150 Val: 0x00000045 → dap4_sclk_pj7

Thank you.

Hello,

On devkit module.

jetson8@jetson8-desktop:~$ speaker-test -D hw:tegrasndt210ref,0 -c 2 -r 48000 -F S32_LE -t pink -f 500

speaker-test 1.1.3

Playback device is hw:tegrasndt210ref,0
Stream parameters are 48000Hz, S32_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
jetson8@jetson8-desktop:~$ sudo grep dap4 /sys/kernel/debug/tegra_pinctrl_reg
[sudo] password for jetson8:

Bank: 1 Reg: 0x70003144 Val: 0x00000044 → dap4_fs_pj4

Bank: 1 Reg: 0x70003148 Val: 0x00000054 → dap4_din_pj5

Bank: 1 Reg: 0x7000314c Val: 0x00000004 → dap4_dout_pj6

Bank: 1 Reg: 0x70003150 Val: 0x00000044 → dap4_sclk_pj7

jetson8@jetson8-desktop:~$

Thank you.