cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

Hi sir,

     My custom use CY8C4014SXI-421 , he asks if he tied unused pin to GND ,is there much risk to damage the chip ?

     And how to configure it  ,when tied to GND .

     Thanks.

0 Likes
Reply
1 Solution
Contributor II

Hello.

For this device package, the device FLASH programming pins (SWD_CL P3.1, SWD_IO P3.0 ,XRES P1.6) can also be used as GPIO.

DO NOT connect P1.6 (XRES) to GROUND.  If you do, the device will not come out of internal reset state.

P1.6 (on this device) should be used as an output.  If it is used as an input, your hardware must guarantee this pin is logic 1 or high impedance during power up.

I agree with RoyL for all other unused GPIO pins.

Bill

View solution in original post

0 Likes
Reply
8 Replies
Moderator
Moderator

By default, IO pins are come out as Hi-Z state after power on, need not configure unused IOs whether tied them to GND or not (floating).

If the IO is assured not used, there should be no risk. There is a chance that the PSoC Creator can use the unused pin switches for routing the analog signals, if so, the IO should be left floating.

For better EFT immunity performance, the unused I/O lines should be terminated to ground or supply through resistors of typical value of 10K Ohm.

Roy Liu
0 Likes
Reply
New Contributor II

Thanks.

0 Likes
Reply
Contributor II

Hello.

For this device package, the device FLASH programming pins (SWD_CL P3.1, SWD_IO P3.0 ,XRES P1.6) can also be used as GPIO.

DO NOT connect P1.6 (XRES) to GROUND.  If you do, the device will not come out of internal reset state.

P1.6 (on this device) should be used as an output.  If it is used as an input, your hardware must guarantee this pin is logic 1 or high impedance during power up.

I agree with RoyL for all other unused GPIO pins.

Bill

View solution in original post

0 Likes
Reply
New Contributor II

Hi Bill,

     Thanks.

     But P1.6 is not discribed as XRES  in its datasheet. Its a 16 pin SOIC chip.

0 Likes
Reply
Contributor II

Hello.

In device datasheet pinout table, look to rightmost column for P1.6 "alternate" description for SO16 package.  It mentions this pin is Internal Reset function.  Also, read Note #1.  "Must not have load to ground during POR (should be an output)."

In the Programming Specification document: 002-22325_CY8C4xxx_CYBLxxxx_Programming_Specifications
"If the XRES pin is not available on the part’s package, the Power Cycle mode is the only way to reset a part."

I agree with you, the datasheet does not explicitly call this alternate function XRES.  However, it performs the same function of resetting the device internally during power-up.  This is also shown in Architecture TRM manual under "Power Mode Transitions State Diagram".

regards,
              Bill

0 Likes
Reply
New Contributor II

Hi Bill,

     I doubt that if P1.6 colud be configured as a touch pin. Is there any details to avoid problems?

     Thanks.

0 Likes
Reply
Moderator
Moderator

P1.6 can be configured as touch pin. The KBA below should be able to help you.

I/O System Restrictions in the PSoC® 4000 Family – KBA91258

Roy Liu
0 Likes
Reply
Contributor II

RoyL has provided KBA91258 with necessary details.  Thank you RoyL.

Bill

0 Likes
Reply