How To Read Pinout Tables

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

How To Read Pinout Tables

ソリューションへジャンプ
1,714件の閲覧回数
ttocsmi
Contributor I

Hello,

I'm confused as to how to read the signal multiplexing and pin assignments tables in the product literature. Please refer to the attached image for reference.

Clipboard01.jpg

Is the port controller used to set the pin configuration for all pins at once, based on the ALT0, ALT1, etc parameter?  Eg, if mode "ALT2" is set, is pin H3 used for anything?  Or, can the function of an individual pin be set independently of the others?  Eg, could I set H3 to PTE7 and H4 to ADC2_SE16?

Thanks for your assistance.

タグ(2)
0 件の賞賛
返信
1 解決策
1,138件の閲覧回数
Derrick
NXP Employee
NXP Employee

Hi Scott,

Each port pin has its own Pin Control Register (PORTx_PCRn).  These can be found in the "Port control and interrupts" chapter of the respective reference manual.  In this register there is a 3-bit MUX field that is used to assign the selected port to the desired functionality, as shown in the table which you point out.

In your example, the corresponding Pin Control Register for PTE7 (located on pin H3) is PORTE_PCR7 (located at address 0x4004_D01C).  For this specific pin, the MUX field options are:

  000  -  Pin Disabled

  001  -  PTE7

  010  -  n/a

  011  -  UART3_RTS_b

  100  -  I2S0_RXD0

  101  -  n/a

  110  -  FTM3_CH2

  111  -  n/a

Best Regards,

Derrick

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,138件の閲覧回数
ttocsmi
Contributor I

Thanks, Derrick. I'll dive back into the reference manual and ponder this for a bit.

Scott

0 件の賞賛
返信
1,139件の閲覧回数
Derrick
NXP Employee
NXP Employee

Hi Scott,

Each port pin has its own Pin Control Register (PORTx_PCRn).  These can be found in the "Port control and interrupts" chapter of the respective reference manual.  In this register there is a 3-bit MUX field that is used to assign the selected port to the desired functionality, as shown in the table which you point out.

In your example, the corresponding Pin Control Register for PTE7 (located on pin H3) is PORTE_PCR7 (located at address 0x4004_D01C).  For this specific pin, the MUX field options are:

  000  -  Pin Disabled

  001  -  PTE7

  010  -  n/a

  011  -  UART3_RTS_b

  100  -  I2S0_RXD0

  101  -  n/a

  110  -  FTM3_CH2

  111  -  n/a

Best Regards,

Derrick

0 件の賞賛
返信