P3[1] of CY8C4245AXI-483 always High Z

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

I've got a small mystery that I can't solve.   

   

No matter what I do, I can not set P3[1] pin 12 as an output low.  I thought the IC may be damaged, but the same problem shows up on a new board.

   

To test, I created a blank project, created a slow toggling PWM, and connected the output of the PWM to a pin that sinks current to a LED P3[4], and the same PWM output to P3[1].    

   

The LED blinks and has a strong high / low output, but P3[1] is high z.   

   

P3[2] and P3[3] are the debug pins.  P3[1] is just to the left of these two debug ports and P3[4] is just to the right.   

   

Having the 10-pin MiniProg3 connected or physically removed doesn't affect it. 

   

My C code has one line:  PWM_1_Start(); 

   

Any suggestions?   Are there any errata that I've missed?  

   

Thanks,

   

Bob

0 Likes
11 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I never heard about an error like yours.

   

Do you use a development kit (which one??) or your own board?

   

Another test: Can you use P3_1 as a digital or analog input pin?

   

 

   

Bob (too)

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Pin 3_1 on CY8CKIT-042 is connected via I2C to the

   

PSOC 5LP debug/programmer on the board.

   

 

   

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Pinout chart for the board, attached.

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Its my own board.   I've attached a partial schematic that's hopefully readable.   At the bottom, J1 is the programming header that goes to P3.2 and P3.3.     

   

To the right bus of the micro, P3.1 is the BUZZER, and that section is shown in the upper right.   It goes to a 10K resistor, a logic level MOSFET that turns on a 5V buzzer. 

   

Very strange.   I may order some fresh samples and replace the IC.  

   

Thanks,

   

Bob 

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Consider posting your project, makes life easier to troubleshoot.

   

 

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Consider posting your project, makes life easier to troubleshoot.

   

 

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hopefully I did it right.   Here's the attachment.   I'll also swap out one of the board's ICs with a fresh one  hopefully this weekend  and see if that makes a difference.   I'll post the results.   

   

Thanks !

   

Bob 

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Your reset pin should be terminated with a logic "0".

   

 

   

The pins properties should look like (clear the HW connection in the digital input checkbox)  -

   

 

   

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Hi Dana,  Are you saying my reset pin should have a logical 0 on the pc board, or within PSoC Creator?    On the pc board, the reset pin is only going to the program header.   The datasheet says it has a built in pull-up.      

   

I see that checked, but disabled "HW Connection" checkmark in the digital input.   I'll uncheck and try it.  

   

Thanks,

   

Bob 

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

No, the reset input on PWM.

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 *** Solved ***

   

It turns out that it was a damaged IC.   I changed it this morning, and it is working fine now.    I have 18V on the board, and I must have touched it to a couple of the micro's pins during troubleshooting.    

   

I've never swapped out a TQFP before.   I managed to remove it with a hot air tool and replace it without too much damage.  🙂   

   

Thanks for everyone's help!!   That helped me rule out any software or configuration issues.   

   

Bob 

0 Likes