This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM6260Q1EVM-PDK: PCM6260Q1EVM-PDK Won't Output Microphone Data From DOUT1

Part Number: PCM6260Q1EVM-PDK

Good evening,

I'm working on a sound localization project for my senior capstone design. I was able to configure the PCM6260Q1EVM-PDK via I2C and an ESP32-S3, but I can't export data from my microphone array. I believe I have the correct PPC3 values. I measured each pin with an oscilloscope, and the BCLK and FSYNC pins are working correctly, but I'm seeing a flat line on DOUT1. I've reviewed the registers and believe I have the correct configuration, but I still don't see any output. Whenever I use a USB instead, I can perfectly hear and record the microphone data. Is there a configuration that I'm not aware of, or am I connecting my wires to the wrong pins? I'll paste my PPC3 registers below. Thank you, and have a great day!

Best,

Cesar

 

End I2C System Address Pins

ti_config.h 

  • Hi Cesar,

    It looks like you need to power on the ADC (register 0x75 = 0xc0).

    Best,

    Garret

  • Hi Garret,

    I did have that register on, and it appears that the signals wouldn't turn on. It wasn't until I changed 0x75 to 0xe0 that BCLK and FSYNC showed on the oscilloscope. I still have yet to read any signal from DOUT1. I made some different changes in the .h file, which I'll attach to this message. Does this problem have something to do with the Audio Serial Bus tab in PPC3? I have all channels enabled with the output line going towards SDOUT, and each have their own slot.

     

    cfg_reg registers[] = {
    #define CHECKSUM (0)
    // -----------------------------------------------------------------------------
    // Reset
    // -----------------------------------------------------------------------------
    // Select Page 0
        { 0x00, 0x00 },
    // Reset Device
        { 0x01, 0x01 },
    // 1mS Delay
    // -----------------------------------------------------------------------------
    // Begin Device Memory
    // -----------------------------------------------------------------------------
    // Page 0 (0x00) Dump
    // Select Page 0
        { 0x00, 0x00 },
        { 0x02, 0x81 },
    // 2s Delay After Disabling Sleep
        { 0x07, 0x00 },
    // ASI Configuration
        { 0x13, 0x87 },
        { 0x14, 0x46 },
    // Input Channel Enable
        { 0x74, 0xfc },
    // Power up/down
    // Select page 0
        { 0x00, 0x00 },
        { 0x75, 0xe0 },
    
    };

  • Hi Cesar,

    It looks like your audio bus is set up correctly. I see now you are in master mode so the PCM6260 is generating the audio clocks. In this case, you would need to configure GPIO1 as a master clock input and supply an external MCLK at that pin on the EVM. Sorry for not catching this on first look.

    Best,

    Garret

  • Hi Garret,

    No worries! I am a bit confused though. I thought the PCM6260Q1EVM-PDK generates its own MCLK as I can mess around with those values in PPC3. So for me to see data cross from the PCM6260 to the ESP32-S3, I would just have to make the ESP32-S3 or another device supply MCLK? Does it matter which pin is GND or the MCLK source? Thank you so much for your help!

    Best,

    Cesar

  • The EVM does not generate its own MCLK. The values in PPC3 only allow you to choose what frequency you must supply to GPIO. The left pin is where you will inject the MCLK, which yes must be generated by an external source.

  • Hi Cesar,

    Here is the relevant section of the user guide. You must make this change to GPIO in hardware and software.

    Best,

    Garret

  • Hi Garret,

    It worked! I can finally read my I2S data from the ASI pins. Thank you so much for your help! I'll be sure to make another post if I need more help.

    Best,

    Cesar

  • You're welcome, Cesar.

    Best of luck.

    Garret