S32K144 I2C pins are don't work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 I2C pins are don't work

1,869件の閲覧回数
alstlr926
Contributor III

I was going to take a [Example_S32K144_I2C_Master_MPL3115A2_S32DSR1_v3] file and test the I2C communication with this project. Both the SDA and SCL should be high (5 V) in IDLE state, but pins PORTA2, PORTA3, were measured with the oscilloscope, both of which produced low (0 V) output. The slave was not connected. What's wrong with the project or the board?

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

1,765件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi alstlr926@naver.com,

You need to use pullup resistors on the bus either external or at least the internal ones. 

This is the description of the example:

pastedImage_2.png

The internal pullups can be enabled in the PCR registers of the ports.

PCR[PE, PS] = 1.

pastedImage_3.png

BR, Daniel

0 件の賞賛
返信