AnsweredAssumed Answered

GPIO_LDD on Kinetis K60: How to set the pull-up/pull-down resistors? + initialization problems....

Question asked by ff ff on Jan 27, 2012
Latest reply on Oct 26, 2012 by luisgallegos

Hello,

 

 I am currently having two issue with Processor Expert for K60.I am currently using CW 10.1 + MQX 3.8.

 

#1) I am trying to look for the pull-up/pull down resistors on GPIO_LDD? How do I set it using PE?

 

 

#2) I have a custom board for K60 using 4MHz crystal oscillator. When I try to debug it, it loses its connection to the Multilink. I traced the code and found that when I comment this line:

//PORTA_PCR5 = (uint32_t)((PORTA_PCR5 & (uint32_t)~0x01000000UL) | (uint32_t)0x0700UL);

 

on the CPU.c file on the function void PE_low_level_init(void), i can debug the code. Whenever I generate a new Process Expert code, this line is always generated. Thus, I always manually uncomment this line to make things work. Is there a workaround for this?

 

Thank you so much.

Outcomes