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.

TAS3204 Default Configuration and GPIO pin access

Other Parts Discussed in Thread: TAS3204

Hi,

In my typical use of the TAS3204, I've never had a need to know what the TAS3204 will do if it doesn't have an external EEPROM; suddenly I have an application where I might need to know that. I don't have an EVM, so I can't check it myself. What is the default configuration of the TAS3204 if it doesn't have an EPPROM? I understand that if GPIO1 is held low upon reset, it will enter a passthrough test mode, but what if GPIO is held high? In section 12.15 of the datasheet, it lists some registers for two crossbar mixers. Similarly, the block diagram right above section 1.4 shows them (in the SAP, really?). Is the crossbar mixer the default configuration by any chance? Are the output signals from the input crossbar connected to the inputs of the output crossbar?

With regards to GPIO configuration, it seems the datasheet was revised back in March to remove what little information there was regarding the GPIO and only left the note on how GPIO1 works at startup. As near as I can deduce from looking at the microcode and the ESFRs in section 12.16 of the datasheet, 0xC5 is the input register, 0xC6 is the direction register, and 0xC7 is the output register. Despite what it says, those 3 registers are 4 bits wide in the range of d0 to d3, relating to GPIO1 and up. What I can't figure out is if I was using GPIO3 and GPIO4 as GPIO, how would one go about going back to serial audio data mode for either pin?

Thanks,

Ken

  • Hi,

    You're on the right track--the behavior when there's no EEPROM (or when booting from EEPROM fails) depends on GPIO1.

    (see section 9.5.1 of the datasheet)

    When the part first powers on, GPIO1 is configured as an input.

     

    If you pull GPIO1 low, once the part senses that level, audio will stream from input to output.  Then GPIO1 will be configured as an output, and it will drive LOW.

     

    If you pull GPIO1 high, then once the part senses that level as high, it will immediately set GPIO1 to be an output, driving LOW.  So basically the same as if you pulled GPIO1 low, except without streaming audio form in to out.

     

    As far as configuring GPIO3 and 4 to be SDIN pins again, I'm trying to find out for you.

     

    Thanks,

    Bobby