Description
Hardware:
Board: Adafruit HUZZAH32
IDE name: Arduino IDE
Description:
I am trying to use the TLV493D-A1B6 board with a Adafruit HUZZAH32 Arduino dev board.
I started with the magnetic sensor board pictured at the top of the github readme file associated with the TLV493D source.
I broke away the small sensor board from the main board so I could connect the HUZZAH32 to it. I made a cable that lets me connect it back to your board and that works fine. I have pull up resistors and have tried several different values including 8.7K and 1.2K.
If I use the PC software to get values everything works fine. On the scope I see several bytes of clock and data over and over really fast.
I install the TLV493D github library and it compiles and builds.
I connect it to my HUZZAH32 board and I get nothing.
When I watch the start up on a scope on the i2c lines I see the clock going and data going so I know I have the correct pins.
The problem is that when it tries to read data I get nothing. All of the examples do the same things. They just send an 8 byte worth of clock over and over about every second and nothing else.
During initialization I do see 4 bytes of clock and data, but am not sure what that means.
I did try replacing the files mentioned in other posts for the i2c. It didn't make a difference. I think that is because I have the latest esp32 library already.
I also downloaded a simple i2c scan test and it doesn't find any devices at any address. I can see the traffic on my scope, but nothing responds.
As I said above there is PC software that talks to the dev board that has the chip on it and when I watch that traffic there are responses and it works fine so I know the chip works. I have moved it back and forth between their dev board and it works and the HUZZAH32 and it doesn't.
The verbose debug log shows that nothing is acking and I know that is the case because the SDA never goes low when it is time for the TLV493D to respond.
How do I figure out what is going wrong?