mosi voltage level

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

mosi voltage level

跳至解决方案
1,757 次查看
carlesricart
Contributor I

Hi,

I'm working with frdm k20D50M. I'm using the Spi, and my MOSI line has the 3.3V max level, and  2.4V low level.

I would like to work with a 0v low level. How do this? with and external translator? there are another possibility?

Thanks

标签 (1)
0 项奖励
回复
1 解答
1,617 次查看
davidsherman
Senior Contributor I

Is your device damaged, or is something pulling it up?  Unless you have an unusually strong pull up, it should be close to zero on a logic low and no translation is necessary.  Make sure also that the pin muxing has that pin configured as MOSI, not a digital input.  Are you seeing serial data being sent on that line?

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,617 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,Carles,

As David said that  It is strange that the MOSI pin can not pull to LOW logic, pls check if the pin is connected to a diode, your phenomenon seems that the pin is connected to a diode or the pin is damaged.

The SPIx_OUT(MOSI)  is a push-pull pin if you clear the  ODE bit in corresponding PORTx_PCRn register, even if you set the pin in open drain mode, it means that the High logic can not reach if you do not enable pull-up resistor.

Hope it can help you.

BR

XiangJun Rong

0 项奖励
回复
1,617 次查看
carlesricart
Contributor I

Hi,

Something happens with the port, I changed to another one and it works. I take the port directly from the connector in either case.

It's weird becouse the frdm is new!

thanks you both!

0 项奖励
回复
1,618 次查看
davidsherman
Senior Contributor I

Is your device damaged, or is something pulling it up?  Unless you have an unusually strong pull up, it should be close to zero on a logic low and no translation is necessary.  Make sure also that the pin muxing has that pin configured as MOSI, not a digital input.  Are you seeing serial data being sent on that line?

0 项奖励
回复