PN7160 not responding

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7160 not responding

Jump to solution
10,692 Views
LucasZDS
Contributor II

Hello everyone,

I hope you are having a good afternoon or evening. I was going through the module information and I am currently running into a problem when trying to get the data via I2C communication. In particular, when I initiate the communication, I am only getting the device address, as shown in the attached image, and I am not getting the response I am expecting.

My current configuration is as follows: HIF1 = 0, HIF2 = 0, resulting in the address of 0x23 + W = 0x50, as can be seen in the image captured on the oscilloscope. I am beginning to think that the problem might be in the design of a certain part of the process.

In the image captured on the oscilloscope, you can see that the write I am trying to perform is 0x50 -> 0x03, 0x01, 0x08. However, in the screenshot, only the address 0x50 is shown and not the data I am trying to send. Any help or suggestions to solve this problem would be greatly appreciated.

Best regards Lucas.

Tags (4)
0 Kudos
Reply
1 Solution
10,622 Views
LucasZDS
Contributor II

Hello, good evening. I hope you are all well.

I am pleased to inform you that I have solved the device communication problem. It turns out that the only problem was in the connection of the devices. Initially, when reading the documentation, it mentioned that the VEN pin was used to reset the device, so I didn't think much of it. However, upon closer examination, I discovered that for proper operation, it is necessary to provide power to VEN greater than 1.1V.

View solution in original post

2 Replies
5,332 Views
amatteo78
Contributor I

I have a similar issue to yours. I’m testing the PN7160, and for now, I’m communicating with it using the I2C tool. I connected SCL and SDA to the I2C-1 bus, then used 0V on GND and 3.3V on VDD and VBAT. I also used three pins for VEN, IRQ, and FWDWNL, but only VEN is high at 3.3V, while the other two are at 0V.

 

If I keep IRQ connected to the bus, i2cdetect doesn’t find anything. However, if I disconnect the IRQ pin, I see an address 0x28 appearing and disappearing. When I try to communicate using a command like i2cset -y 1 0x28 0x00, I see 7 bits with 0x28 on the oscilloscope, followed by a 0 bit for write, but then, when I expect the ACK bit to be 0, it is instead 1, and the communication stops, as if the PN7160 is not responding.

 

What do you think I might be doing wrong? How did you solve it?

 

Thanks a lot!

Matteo

0 Kudos
Reply
10,623 Views
LucasZDS
Contributor II

Hello, good evening. I hope you are all well.

I am pleased to inform you that I have solved the device communication problem. It turns out that the only problem was in the connection of the devices. Initially, when reading the documentation, it mentioned that the VEN pin was used to reset the device, so I didn't think much of it. However, upon closer examination, I discovered that for proper operation, it is necessary to provide power to VEN greater than 1.1V.