KL27Z I2C ACK PROBLEM

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

KL27Z I2C ACK PROBLEM

670件の閲覧回数
jricaurtepino
Contributor II

Hi

I'm working on a project and i have to use an EEPROM and a KL27Z256 microcontroller.

The problem is when the slave(the EEPROM) sends the ACK bit. It only goes half way down. I've been searching about this, and i know that i have to put the SDA line in open collector. But in this microcontroller there's no register to do that.

I need information about how to do this.

Thanks

Jose Ricaurte Pino

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

533件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi Jose,

 

You will need to set the pins as open drain using the internal pull resistor. This can be configured with the PORTx_PCRn register.

 

Please refer to the reference manual in section 11.7.1.

 

Best regards,

Felipe

0 件の賞賛
返信