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.
Part Number: TS3A225E
We have implemented in our design the two following components (see schematic in attachment)
We are confused to observe we are losing the register settings of the TS3A225E.
Writing and reading immediately the values back is ok but after 100ms most of the time the values are lost.
PS: the TLV320AIC3100 on the same I2C bus is working correctly
Could you advise?
The TS3A225E has both a manual I2C control mode to configure the switch matrix and an automatic mode. The default mode of the switch is to be used with automatic detection.
Are you wishing to use the device in automatic detection mode or manual mode?
What settings are you wishing to write to the TS3A225E and what is the result when you lose those settings.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Adam Torma:
In reply to MBa:
MBa, I met the same issue like you. It seems an issue of TS3A225E(not confirmed by TI yet). The IC resets all writable registers after remove headphone. Workaround: Reconfigure all writable registers after MIC_PRESENT becomes high. Actually, it's enough to rewrite CTRL3 with 0x04. Hope it's helpful to you. Sincerely Forrest
In reply to Forrest Zhang:
There are my test steps, it's very easy to reproduce:
1) Power up the device without anything connected.
2) Write CTRL3 0x04 register with the value 0x04 (as an interrupt)
3) Connect the headphone. MIC_PRESENT pin becomes low (active).
4) Read CTRL3, it's still 0x04.
5) Disconnect the headphone. MIC_PRESENT pin becomes high
6) Read CTRL3, it will be 0x00. Actually all registers will be reset values, it seems the IC performs an internal reset.
PS: I notice the datesheet gives two different addresses for CTRL3.
In the section"REGISTER MAP", the address of CTRL3 is 0x04;
In the next section "REGISTER DESCRIPTION", it becomes "0x041".
I believe that the address of CTRL3 should be 0x04.
@Adam: Yes let us start from that simple experiment.
According to Forrest, an headphone insertion is needed for the config to be lost. I observe different behavior: periodically reading CTRL3 also causes the config to be lost and as a consequence, after that, we don't get irq's at all.
In reply to Peter Van Hoyweghen:
Adam & Peter,According to the different situations between us, I study it more detailed.The issue is almost identified now, it's still around the DET_TRIGGER voltage is removed.Once the MIC_PRESENT pin becomes high, read or write TS3A225E registers immediately, it has no response.It causes the host microprocessor STM32F407 sets the I2C BUSY flag.Previously the host program continues to read the TS3A225E registers without reset the BUSY flag,therefore, I report all registers have been reset to zero. (losing the configuration)If insert a delay about 1 millisecond after the MIC_PRESENT pin becomes high, then it's OK to read or write.Why is the delay required? Is there any more graceful solution?PS: If set CTRL3 = 0x04, the MIC_PRESENT pin is almost the invertor of DET_TRIGGER. Is that true?SincerelyForrest
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.