Other Parts Discussed in Thread: , USB2ANY, MSP430G2553,
Hello,
I have been using a DRV10983EVM board for driving a motor for my internship assignment (peristaltic pump). I have been using my own I²C library (which does the same as Peter Fleury's TWI library) and it worked great. I was able to configure the DRV10983 and read its registers without any problems. After designing and soldering my own PCB, I was unable to read from the DRV10983.
Whenever I write to the device, I get an acknowledge after every byte of data, as is expected. But whenever I try to read a register, the register returns only zero values and afterwards it holds the SDA line. I tried setting the VregSel bit to get VREG to output 3V3 instead of 5V (after sitting SIdata bit), but it keeps outputting 5V, confirming that writing operations are unsuccesful as well (even though they seem fine on my logic analyzer).
I tried using my DRV10983EVM board again, but I accidentally blew up the chip. After replacing the chip with a spare one, The GUI keeps outputting the following error message whenever I try to configure the device:
DRV10983 USB2ANY.lvclass:Read Register.vi<ERR>
Register reading not successful!!
Please restart the GUI and try again
So it's not just I²C communication with the Atmega324PA, but also with the USB2ANY device and the GUI from TI. On both the EVM board and my own PCB I checked for sorts and bad connections, but everything looked good. Furthermore, I checked, double checked, triple checked and quadruple checked my PCB design for flaws, but there too, nothing strange. Both ends of the I²C bus are connected and the 4k7 pull-ups are properly connected as well.
I have seen similar threads, but these were all closed without a solution.