Switching MISO (SDO) Line on SPI using FET?

Status
Not open for further replies.

ste2006

Advanced Member level 4
Joined
May 1, 2012
Messages
118
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,226
Hi,

I have a new system developed using 5 SPI devices and am having major issues with it. After a large amount of testing over the past number of weeks the issue appears to be a brand new ST chip that is not setting its SDO line to high impedance when it has been De-Selected. It is always holding the line preventing any other chips controlling the bus. We have at this stage confirmed this is the issue but the next problem is how to solve it.

I was thinking something like tying a P channel FET to the Chip Enable so when the chip is not selected the SDO line will be disconnected from the main bus and when the chip is selected the FET will turn on and the chip can communicate.

I have seen similar examples for I2C using N Type FETs but can find nothing at all like what i want.

Anyone any thoughts or ideas on parts to look at. The SPI bus is being clocked at 1Mhz.

Thanks,

Stephen
 

How about just isolating the problem SDO line through a 10K resistor. Then the other chips could bring it high or low. When they were in high impedence the ST chip would control it through the 10K. (Like a reset button circuit).
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…