PCF8575TS/1,118

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

PCF8575TS/1,118

跳至解决方案
1,783 次查看
amintegia
Contributor II

Hello everybody,

 

We are using the I2C expander PCF8575TS/1,118. We have defined some inputs (3.3V inputs activated by a membrane keypad) and also some outputs (activation of leds in the membrane keypad) as you can see in the picture I'm attaching. Membrane keypad is connected via a zif connector (J4) to the board.

Expander schematicExpander schematic

Captura.PNG

The problem comes when recognizing a change of status in the inputs. The membrane keypad which turns input signals to high. However, we've seen that despite seeing that the keypad is able to provide 3.3V to the track when the expander is not soldered, the voltage drops to 0.5V when we the expander is soldered. 

Any idea of which could be the reason for this wrong behaviour of the expander?

 

Thanks a lot.

标记 (2)
0 项奖励
回复
1 解答
1,706 次查看
amintegia
Contributor II

Hello,

 

We finally managed to solve the problem. We saw the inizialitation of the device was not being correct as the inputs where low so we realized the library was not doing it properly.

Thanks for your help.

在原帖中查看解决方案

0 项奖励
回复
8 回复数
1,743 次查看
ErikaC
NXP TechSupport
NXP TechSupport

Good to know, now what microcontroller are you using?
Can I see your code?

0 项奖励
回复
1,707 次查看
amintegia
Contributor II

Hello,

 

We finally managed to solve the problem. We saw the inizialitation of the device was not being correct as the inputs where low so we realized the library was not doing it properly.

Thanks for your help.

0 项奖励
回复
1,756 次查看
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

I just double-checked your schematic with the team.
The inputs and outputs of the expander have a Quasi-bidirectional function, which means that you have to write a high with an external device, in this case, your keypad. Could you verify that your keypad is using a pull-up configuration and is detecting a high when you are not pressing a button and a low when you press a button without connecting it to the expander?

 

0 项奖励
回复
1,753 次查看
amintegia
Contributor II

Hi Erika,

Thanks for your help.

Now we have pull-ups to 3.3V in all the inputs. The keypad is giving a high when the button is not pressed and gives a low when it is pressed. We've measured both 0V and 3.3V in the input of the expander. Nevertheless, we are not able to see that change when reading the value of the pin via the expander.

 

We've seen that many people have suffered some problems with this module so may be someone has already found the solution.

 

Waiting for your reply.

0 项奖励
回复
1,764 次查看
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

Yes, the input current could be the reason for this issue. 

VOL depends on pull-down MOSFET Ron and sinks current in the application, please refer to the FUNCTIONAL DESCRIPTION on the datasheet.

0 项奖励
回复
1,762 次查看
amintegia
Contributor II

Hi, 

Sorry but I dont see the relation between the input current and the VOL. I have a few questions for you about the expander: 

 

First, we should pull up all the inputs to 3.3V? Which should be the resistor value?

 

Second, which is the minimun or maximun input current value to the expander to detect the HIGH?

 

Thanks for your help.

0 项奖励
回复
1,777 次查看
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

Are you using pull-up resistors on your SDA and SCL lines?

0 项奖励
回复
1,768 次查看
amintegia
Contributor II

Thanks for your reply,

 

Yes, we've pulled up both signals. By the way, we've seen that connecting directly one of the inputs using a wire to 3.3V the expander detects the change. However, connecting a input to 3.3V using a 10 ohms resistor does not work. Could the input current be the reason for this issue?

 

 

0 项奖励
回复