Pin assignment for IIC at S912ZVL

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

Pin assignment for IIC at S912ZVL

239 次查看
Boris_Bloxsberg
Contributor III

Hello,

I would like to use PT0 and PT1 for IIC communication. To do this, I have changed the routing register MODRR0.

 

Are any further settings required to route PT0 and PT1 to the IIC module?

0 项奖励
回复
1 回复

220 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

 

To route PT0 and PT1 to the IIC module, just set the appropriate bits in MODRR0. For PT0 and PT1, this usually means MODRR0 =0x10;

You don't need to do anything else, just make sure that no other higher priority peripherals are enabled on the pins (if any).

MODRR0 is a write-once register in normal mode, so make sure that there are no double writes to this register, as it is not recognizable in debug mode (write anytime in debug mode).

Best regards,

Ladislav

0 项奖励
回复