AICPUREPATH_STUDIO: TLV320AIC3254 GPIO Input component?

Part Number: AICPUREPATH_STUDIO

Tool/software:

Hello,

I need to setup a GP input and a GP output on a TLV320AIC3254. I am using the GPIO_Output component for the output, but there isn't an equivalent GPIO_Input component. What is the correct way to do this please?

BR

Chris

  • Hi Chris,

    There isn't a GPIO input block to interface this with the DSP flow. What is the application? Maybe there's a workaround. You can always access the GPIO value from a host by reading back Page 0 Register 52.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    The application is an intercom system with the audio codec controlled over I2C by a CC3235MODASF MCU. In normal operation the DSP flow provides biquad filtering and VOX functionality on the microphone input.

    There is a requirement to be able to bypass the filter and VOX functionality and switch into an 'open mic' mode, triggered by a physical pushbutton connected to a DI on the MCU - I was looking to use the GPIO input to trigger this functionality change in the codec.

    Best Regards

    Chris

  • Hi Chris,

    The GDE flow supports muxing blocks, which you can interact with in the GUI. I would recommend having a mux in the flow to bypass the filtering/VOX. When the push button is pressed, the MCU can write to the codec to flip this mux. 

    Best regards,
    Jeff McPherson