STA350BW and Teensy 3.2

Status
Not open for further replies.

Scorch

Member
Hi,
I just started a project using the CCA01M1 board from St, and I have a few questions regarding the teensy audio library. I would really like to get these boards working as they are not very expensive and seem like a good option for digital audio amplification.
Here is a link to the board:
https://os.mbed.com/components/X-NUCLEO-CCA01M1/
https://www.st.com/en/ecosystems/x-nucleo-cca01m1.html

Anyways, so I am attempting to get this working with the teensy 3.2. I am able to write to the registers and read from them, however, I have been unable to get audio output from the boards besides using the examples provided by st and with an STM32-F401RE. I think part of the reason I have been unable to get audio output is that I have the MCLK setting on the board configured incorrectly. The portion of the datasheet that shows this is attached.


I just want to check that my understanding of what it is saying is correct. So it references fs, which I believe to be the sampling frequency(ie 44.1khz, 48khz, etc). What then is the frequency of the MCLK from the teensy, and what is the sampling rate? What then should the correct rate be? I know that the resolution of the audio outputted by the board is 16 bits and I think the sampling rate is 44.1khz, but I just want to confirm this. I also wanted to ask if anyone else has any experience with this chip?
Also, I 'm just getting started with this. I am using some really basic code for attempting to do this based on usb->i2s, pretty much just a straight passthrough. I have also tried using an amanero for i2s with no results.
Thanks in advance, and apologies for any errors in my post, I'm new.
 

Attachments

  • STA350BW_MCLK_Config.PNG
    STA350BW_MCLK_Config.PNG
    93.1 KB · Views: 108
Status
Not open for further replies.
Back
Top