Unused pins of KS22 Microcontroller

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

Unused pins of KS22 Microcontroller

Jump to solution
1,159 Views
vishnuvariyath_2
Contributor II

I am using MKS22FN256VLH12 in my application. Many pins not used in application.

I don't know exactly what to do with these pins. Can they float, do they have to go to GND or VDD.

In KS22 there is two CAN modules and only one module is using in application, what to do with unused CAN module pins.

I referred in the "Data sheet and Kinetis Ks22 Sub-Family Reference Manual " there is no correct answer for this.

Can someone give me a hint or help me with this?

0 Kudos
Reply
1 Solution
1,124 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @vishnuvariyath_2 

This information is from the datasheet:

Unused GPIO pins must be left floating (no electrical connections) with the MUX field of the pin’s PORTx_PCRn register equal to 0:0:0. This disables the digital input path to the MCU.

This refer to chapter 12.6.1 Pin Control Register n (PORTx_PCRn) from your reference manual. On this register you select the alternative for the pin you want to use. f.e.  CAN0_TX pin is assigned to PTA12 as Alternative 2 (ALT2) and by setting MUX pins as 0:0:0 this will be disabled.

Best Regards, Miguel.

 

View solution in original post

0 Kudos
Reply
4 Replies
1,125 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @vishnuvariyath_2 

This information is from the datasheet:

Unused GPIO pins must be left floating (no electrical connections) with the MUX field of the pin’s PORTx_PCRn register equal to 0:0:0. This disables the digital input path to the MCU.

This refer to chapter 12.6.1 Pin Control Register n (PORTx_PCRn) from your reference manual. On this register you select the alternative for the pin you want to use. f.e.  CAN0_TX pin is assigned to PTA12 as Alternative 2 (ALT2) and by setting MUX pins as 0:0:0 this will be disabled.

Best Regards, Miguel.

 

0 Kudos
Reply
1,103 Views
vishnuvariyath_2
Contributor II
Hi Miguel
Here only mentioned about the GPIO Pins, And I have doubt regarding the connection of CMP pins and DAC pins.And also about the JTAG connection
0 Kudos
Reply
1,154 Views
ErichStyger
Specialist I

I think you mean the MK22 and not a MKS22?

You can keep unused pins floating, see https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/Configuration-for-Unused-Pins-GPIOs-on-...

0 Kudos
Reply
1,144 Views
vishnuvariyath_2
Contributor II

Hi Erich

The part number of MCU is MKS22FN256VLH12 and the data sheet is attached here.

0 Kudos
Reply