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.

TLV320AIC3254: Digital output from DSP signals

Other Parts Discussed in Thread: TLV320AIC3254, TLV320AIC3268, TLV320AIC3262

Hello,

I am working with the TLV320AIC3254_EVM and PurePath studi to make an automatic audio switch (I have an audio on analog side and if I speak on the I²S side my analog side is extinguished.

This is working correctly with a stereo split on the my digital channel and sending a side into a StMixCtrl and the other side on a Vox Activity Detector (VAD) connected on the Ctrl side of the StMixCtrl.

My problem is that I would like to make an external treatment when the VAD is activated, so I would like to generate an output signal on a pin of the CODEC.

I've checked with the GPIO_output module, but is seem to be only able to generate some interrupt for specific conditions, not customized conditions.

Is there a way to configure it, or another solution to get my signal out on a pin?

Thanks in advance

Best Regards,

Vincent DECAUX

  • Hi, Vincent,

    Welcome to E2E and thank you for your interest in our products!

    Effectively, the GPIO_Output block in PPS configures the DOUT/MISO/GPIO pins as an interrupt. The TLV320AIC3254 miniDSP is not capable to generate a constant output at the GPIO pin (the TLV320AIC3262 or TLV320AIC3268 can do this). So the only way to generate a constant value at the GPIO pin is configure this pin as general output and write in the bit D0 of Page 0 / Register 52.

    Please let me know if you have more questions or comments.

    Best regards,
    Luis Fernando Rodríguez S.