RT1020 - Why is SION (Software Input On) required?

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

RT1020 - Why is SION (Software Input On) required?

1,846 Views
rshipman
Contributor V

Hi,

Why do we need to set SION (Software Input On) for the following signals (and maybe others) please?

1. ENET_REF_CLK

2. SEMC_DQS

3. LPI2Cn_SCL

4. LPI2Cn_SDA

Many thanks and regards,

Ronnie

Labels (1)
0 Kudos
2 Replies

1,753 Views
fangfang
NXP TechSupport
NXP TechSupport

Hello,

According to section 10.3.2 (SW Loopback through SION bit) of the RT1020 RM:
"A limited option exists to override the default pad functionality and force the input path
to be active (ipp_ibe==1'b1) regardless of the value driven by the corresponding module.
This can be done by setting the SION (Software Input On) bit in the
IOMUXC_SW_MUX_CTL register (when available) to "1".
Uses include:
• LoopBack - Module x drives the pad and also receives pad value as an input."

 

  So, "the software input on (SION) bit is an option to force an input path to be active regardless of the value
driven by the corresponding module. It is used when the nature direction of a pin depending on selected
alternative function is an output, but it is needed to read the real logic value on a pin. [...]
The SION bit can be used in:
• Loopback: the module of a selected alternative function drives the pad and also receives the pad
value as an input;
• GPIO capture: the module of a selected alternative function drives the pin and the value is captured
by the GPIO."

 

   Since I2C data line is bidirectional in its nature, the SION should be set. 

 

Have a nice day.

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

1,753 Views
rshipman
Contributor V

Thanks for your reply.

Ok that makes sense, because I just had a look at the pin config and those pins are forced to either Output or Input/Output by the routing choice (SEMC/ENET/I2C). So to get the input as well we need SION set.

And I presume the same applies to any bidirectional pin configured as an Output or Input/Output whether we have control over the direction or not (based on our routing choice).

Regards,

Ronnie

0 Kudos