I have R Pi 4 64 bit Bookworm system with googlevoicehat-soundcard for the I2S configuration. It appears the googlevoicehat driver only works at 48000 sample rate. Trying "arecord -v..." at other rates always shows the resulting recording was done at 48000 rate. I need to use my microphone's upper limit rate of 64000 for an ultrasonic application so I need to change this default behavior.
I've discovered that /sys/kernel/debug/clk/clk_summary file has an entry:
pcm 0 0 0 3072000 0 0 50000 Y fe203000.i2s no_connection_id
Which I read to show the 3.072Mhz clock, which is the correct speed to generate a 48000 sample rate, where the Table heading "consumer" is "fe203000.i2s". I have not been able to figure out exactly what/where is fe203000.i2s, but suspect it might have something to do with the speed setting. I would be happy to just change the default speed to be 64000 (clk frequency 4096000) if there is a way to do it.
Any ideas?
Thanks,
Gary
I've discovered that /sys/kernel/debug/clk/clk_summary file has an entry:
pcm 0 0 0 3072000 0 0 50000 Y fe203000.i2s no_connection_id
Which I read to show the 3.072Mhz clock, which is the correct speed to generate a 48000 sample rate, where the Table heading "consumer" is "fe203000.i2s". I have not been able to figure out exactly what/where is fe203000.i2s, but suspect it might have something to do with the speed setting. I would be happy to just change the default speed to be 64000 (clk frequency 4096000) if there is a way to do it.
Any ideas?
Thanks,
Gary
Statistics: Posted by grondeau — Wed Oct 09, 2024 11:39 pm — Replies 0 — Views 24