I want to know how to check IV-SENSE, with or without speaker
I activated I-SENSE and V-SENSE in PPC3, but it is not confirmed on the I2C script and live IRQ
I used 8ohm speaker for test
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.
I want to know how to check IV-SENSE, with or without speaker
I activated I-SENSE and V-SENSE in PPC3, but it is not confirmed on the I2C script and live IRQ
I used 8ohm speaker for test
Hi Taejin,
Our smart amp expert is out of office and will return tomorrow.
I sense and V sense data is output on the SDOUT pin in I2S form. Are you seeing data there?
Best regards,
Jeff McPherson
Hi
Checking with evm board.
Is there any way to check it in the register? way to read and write
Should I check the sdout signal with a scope or is there a way to check it in PPC3?
I read the relevant registers in the datasheet and assigned them to tdm.
Thank you.
Hi Taejin,
You can probe SDOUT and you should see data toggling when you playback a signal. There is no way to monitor the IV sense data in PPC3.
Otherwise you would need some kind of measurement tool that can decode I2S data to see the IV sense data in the analog domain.
Best regards,
Jeff McPherson
Hi Taejin,
to record the IV sense you will need to configure the following settings, enable IV sense, and select the time slot to transmit the data. In this case Vsense is left channel and Isense is right channel in the recording.

then the IV sense data can be recorded from the EVM into a software like audacity https://www.audacityteam.org/ , select the EVM as the playback and record device and press the red record button.

regards,
Arthur
It can be seen with audacity, but it is difficult to distinguish because the data of tdm slot 0 does not have a certain pattern.
If you look at 0x04 address of register page 4, you should see the impedance change, but it does not change. Are there any problems with mask setting?
Mask setting adjusted 0x3c of register page 0.
After fixing with I2C, I checked the SINK TO GUI
Can you see pictures of config, playback, miscellaneous, pcm, tdm tx, txm rx, txm transmit slot, IRQZ settings?
thank you dear
Hi Taejin,
Understood you are trying to perform load diagnostics. this cant be reported through live interrupts, you will need to enter Load Diagnostics mode in page 0 register 2.
the load diagnostics configuration is described in the datasheet section 8.4.6
After configuring the diagnostic upper and lower impedance thresholds(Page 0x04). the speaker impedance can be read from LDS_RES_VAL on page 0x04 as well. LDG_CLK is page 0x00 register 0x65.
by unmasking the interrupt in register 0x3c this means the device will assert IRQz pin low if the speaker impedance is outside the programmed thresholds when the diagnostics routine is run.
If you want to detect the speaker impedance during audio playback you can record the I-sense data. If the current suddenly drops to near 0amps you can know the speaker has been disconnected.
Regards,
Arthur