Hi,
Could you please tell me how to assign an internal interrupt signal to a GPIO if PCM1865 is clipping in the automatic clipping suppresion mode ?
Best regards,
Kato
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.
Hi,
Could you please tell me how to assign an internal interrupt signal to a GPIO if PCM1865 is clipping in the automatic clipping suppresion mode ?
Best regards,
Kato
Hi, Kato-san,
The interrupt feature of the PCM1865 device is able to be configured with several options that allows the trigger of the INT pulse under different event conditions.
In order to setup the Post-PGA Clipping Interrupt, first it is needed to route the interrupt signal (INT) to any of the GPIOs, this is configured in registers 16 and 17 of page 0. By default, GPIO3 is configured as the INT output.
Then, the Post-PGA Clipping Interrupt should be enabled in register 96 of page 0. After this is done, the PCM1865 will output the interrupt pulse each time the internal ADC flow clips.
The status of the post-PGA clipping interrupt can be monitored in register 97 of page 0. This is a sticky register, so it is required to clear it before any read operation to ensure a clip condition is occurring and the trigger was not a single-event. In order to clear register 97, register 96 should be written with 0's, then, the Pot-PGA clipping interrupt should be enabled again by writing a '1' to bit 5 of register 96.
Best Regards,
-Diego Meléndez López
Audio Applications Engineer
Hi Diego-san,
Thank you for your explanation.
I understood and will contact you if getting additional questions from our customer.
Best regards,
Kato