NOT a bug: Pin expert does not set up some pins...

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

NOT a bug: Pin expert does not set up some pins...

Jump to solution
1,021 Views
davenadler
Senior Contributor I

Kinetis Expert Version 2.0, PC version, starting with Freedom K64F board configuration.

I enabled peripheral DAC0 and ADC0 and routed a couple pins.
The pin initialization for these pins is missing from the generated code.

169550_169550.PNGKinetis Pin Expert Doesn't set up analog pins.PNG

 

What's going on? Should we not use this tool?

Thanks,

Best Regards, Dave

 

PS: These are the default mux connections, but I expected initialization so I can use alternate configurations...

Labels (1)
0 Kudos
1 Solution
698 Views
marek_neuzil
NXP Employee
NXP Employee

Hello Dave,

I have analyzed your issue but these analog pins (e.g. ADC0_DP1) cannot be routed to another devices, i.e. there are not any mux control bitfields (Pin Control Registers) for these pins. Please, see the K64P144M120SF5RM reference manual for details.

Therefore the Pins tool does not generate any code for routing of these pins.

Best Regards,

Marek Neuzil

View solution in original post

3 Replies
699 Views
marek_neuzil
NXP Employee
NXP Employee

Hello Dave,

I have analyzed your issue but these analog pins (e.g. ADC0_DP1) cannot be routed to another devices, i.e. there are not any mux control bitfields (Pin Control Registers) for these pins. Please, see the K64P144M120SF5RM reference manual for details.

Therefore the Pins tool does not generate any code for routing of these pins.

Best Regards,

Marek Neuzil

698 Views
zhangpeng
Contributor I

MCUXpresso 5.0

SDK_2.5.0_MIMXRT1052xxxxB

pin B14    GPIO_B1_15   config GPIO2.31   cannot generated code

0 Kudos
698 Views
davenadler
Senior Contributor I

Got it, Thanks!

0 Kudos