2143523_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2143523_en-US

2143523_en-US

Pin assignment for IIC at S912ZVL

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?

Re: Pin assignment for IIC at S912ZVL

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

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 01:23 AM
Updated by: