PN7160 not responding

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PN7160 not responding

跳至解决方案
10,949 次查看
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.

标记 (4)
0 项奖励
回复
1 解答
10,879 次查看
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.

在原帖中查看解决方案

2 回复数
5,589 次查看
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 项奖励
回复
10,880 次查看
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.