Thank you for clarification.
I test the led with the repository https://github.com/respeaker/mic_hat but I couldn’t get the led to turn on. Here is the error that I got.
nano@jetson:~/mic_hat$ python3 pixels.py
Traceback (most recent call last):
File "pixels.py", line 130, in <module>
pixels = Pixels()
File "pixels.py", line 25, in __init__
self.dev = apa102.APA102(num_led=self.PIXELS_N)
File "/home/nano/mic_hat/apa102.py", line 93, in __init__
self.spi.open(bus, device) # Open SPI port 0, slave device (CS) 1
FileNotFoundError: [Errno 2] No such file or directory
Seems like it’s not able to open SPI port ? In raspberry you have to open the port using raspi-config
, I tried with /opt/nvidia/jetson-io/config-by-hardware.py
in the jetson nano but I didn’t change anything.
The second test about recording and playing echo didn’t work:
- I connected a JST speaker to the respeaker hat but I don’t have any output out of it.
- I tried to record something with the mics of the respeaker but that didn’t work
- However, when I connect an external speaker to the jack port and it works.
Do you think that alsa configuration is missing ? I remember having a lot of problems with the file /etc/asound.conf
in the raspberry.
Thanks again for you answer @turmary