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: AMC6821
I have grounded address lines A0/A1 and hence I'm sending the 8-bit Slave address of 0x18 from my microcontroller to the AMC6821 chip. On a CRO I can see the pulses on the SCLK and SDA lines so I know I'm clocking data in and out.
However whenever I try to read a byte from any of the registers (following Table 7 format in datasheet) they are always returning 0xFF.
At the very least for Device ID Register (address=0x3D) I should read a default value of 0x21 and the Company ID Register (address=0x3E) should read a default value of 0x49. These are read-only registers so there is no way I could have accidentally overwritten them.
Is the IC faulty or something, or am I doing something wrong in using the i2c bus? I have attached the circuit diagram below.
In reply to Chris Reed1:
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 Kelvin Le THS:
More or less yes - thanks Kelvin.
It turns out the IC was faulty and when we replaced it we could control it, albeit at a basic level.
If I had more time I would look into the closed loop control of the fan, but for now we are just setting a PWM value and that does what we need for now.
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. 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 respect to these materials. 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.