Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: STA350BW and Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Jul 2019
    Posts
    1

    STA350BW and Teensy 3.2

    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.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	STA350BW_MCLK_Config.PNG 
Views:	17 
Size:	93.1 KB 
ID:	17051  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •