mosi voltage level

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,827件の閲覧回数
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,687件の閲覧回数
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,687件の閲覧回数
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,687件の閲覧回数
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,688件の閲覧回数
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 件の賞賛
返信