PTD0 not toggling in KE02 LQFP44 mcu

cancel
Showing results for 
Search instead for 
Did you mean: 

PTD0 not toggling in KE02 LQFP44 mcu

323 Views
prabhuu
Contributor I

Dear all,

I am using Kinetis KE02 LQFP44 mcu. I am not able to set the pin high or low the PTD0 pin.

Below is the code snippet. But the same code works in KE02 LQFP 32 pin MCU.

Not sure if I spoiled the PTD0 pin in my LQFP44 mcu or it is a genuine issue in this LQFP44 package.

Can some one please guide me in this?

I am using Code Warrior IDE.

while(1){

        GPIO_PinInit(GPIO_PTD0, GPIO_PinOutput);

        printf("High\n\r");

        GPIO_PinSet(GPIO_PTD0);

        delay_ms(1000);

        printf("L\r\n");

        GPIO_PinClear(GPIO_PTD0);

        delay_ms(1000);

       }

---

Regds,

Prabhu.

Bangalore.

Labels (1)
0 Kudos
3 Replies

127 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi prabhu,

Please test on another pin .

Waiting your result .

BR

Alice

0 Kudos

127 Views
prabhuu
Contributor I

Hi Alice,

I already tested it on PTD1 on same lqfp44 ke02 mcu, using same s/w.

it works perfectly. only PTD0 is not working.

Further, I want to share something on the same.

I am trying to connect 4X4 keyboard to this MCU. while testing this, I

faced some issue.

Not able to understand the issue, I decided to test each pin (used by

keyboard) one bye for their i/o functioning. while testing, I found PTD0 is

not functioning. on same board, a lot of software and one i2c device,

uart1, timers, LCD via level shifter etc are working fine. I have attached

the schematic picture of my board (partial). Please let me know if I need

to share more info.

I wish to know if it is general issue in ke02 lqfp44 mcu or only particular

to my board. if it is particular to my board, i will de solder my mcu and

replace it by another one (i will do this eventually, but it take some more

time).

---

Thanks,

Prabhu.

On Thu, Feb 26, 2015 at 9:19 AM, Alice_Yang <admin@community.freescale.com>

0 Kudos

127 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Prabhu,

Sorry for so late reply to you .

I have not found KE02Z  44 pin mcu to test.

I only can recommend some suggestion.

(1)  when you set the bit to "1" , please check whether the memory is "1" .

(2) Use the oscilloscope or other  instrument to test the pin ;

(3) change to another KE02Z 44 pin chip , check  whether it can work well.

   If the memory show the right data, and the other chip also can not work well , it maybe the issue of the chip.

And so far i have not collect the information says that the PTD0 pin have general issue .

Hope it helps

Alice

0 Kudos