PSoC6 CY8C6347 drive P6.0/1 to strong outpu low , but have 0.028V voltage.

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

cross mob
peya_1337906
Level 2
Level 2
Distributor - Weikeng(GC)
10 sign-ins 5 replies posted 5 questions asked

Hi all,

     I have test CY8C6347 P6.0/P6.1 GPIO output. when I drive P6.0/1 to strong output low voltaget, but have 0.028mV. And I have the same test the other GPIO, it's 0V. Why is that?  Thanks!

Best Regards,

Perry

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Perry,

If you've got a very good GND connection in your measurement where are some reasons for the voltage offset:

  • Your output is connected to other connections (external resistor for instance) pulled up to some voltage.  This would cause some current to flow in the circuit which includes the low FET driving the output.  Since no FET is 0 ohms, the voltage across the low-side FET of the port would be: V = Rds_low_fet * Icircuit.
  • You're using a oscilloscope.  Oscilloscopes are great tools but it is usually not your most accurate tool in the toolbox.  Many oscilloscopes use 8-bit ADCs.  The ADC effective range is designed to span the full visible vertical resolution.   Therefore if your scope is set for 1V/div and there are 10 vertical divisions, the 8-bit (256 ADC counts) are divided even across the 10V vertical.  Therefore 1 ADCcount = 10V/256counts = 39mV/ADCcount.  This is more than your 28mV offset.

If the signal is constant, a multimeter is usually more accurate.

Len

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
5 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Did you tried on DVK board or custom board? It looks 0.028mV is not bad with strong drive low level. Any concern over this?

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Perry,

Are P6.0 or P6.1 connected to an external component (such as a resistor) pulled up to a voltage?

If so,  then the voltage low offset is due to the current flowing through the output of these pins.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

In the Datasheet of PSoC 63 Table 7. GPIO Specifications

VOL is written as MAX 0.4V (IOL = 8mA).

So 0.028 V may not be  irregular.

(Although, just like others are suggesting there could be some external component affecting, too)

000-GPIO_Specification.JPG

moto

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Perry,

If you've got a very good GND connection in your measurement where are some reasons for the voltage offset:

  • Your output is connected to other connections (external resistor for instance) pulled up to some voltage.  This would cause some current to flow in the circuit which includes the low FET driving the output.  Since no FET is 0 ohms, the voltage across the low-side FET of the port would be: V = Rds_low_fet * Icircuit.
  • You're using a oscilloscope.  Oscilloscopes are great tools but it is usually not your most accurate tool in the toolbox.  Many oscilloscopes use 8-bit ADCs.  The ADC effective range is designed to span the full visible vertical resolution.   Therefore if your scope is set for 1V/div and there are 10 vertical divisions, the 8-bit (256 ADC counts) are divided even across the 10V vertical.  Therefore 1 ADCcount = 10V/256counts = 39mV/ADCcount.  This is more than your 28mV offset.

If the signal is constant, a multimeter is usually more accurate.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
peya_1337906
Level 2
Level 2
Distributor - Weikeng(GC)
10 sign-ins 5 replies posted 5 questions asked

Hi all,

     Thanks for your relpy, the problem has been resolved.  Yesterday I use the customer 's core board for testing, today I test on the 62-BLE, it's OK, only 1mV,  check with the cutstomer  carefully, there are more pull up resistance 4.7K connect to VDD3.3V.  becaues P60/1 is the I2C master , and connect to a slaver , when go to power mode, the slaver need power off,  if P60/1 pull up to 3.3V, there will have fill current to slaver.   If set P6.0/1 to GND, there will add current from the 4.7K pull up  resistance. 

     Thanks!

Best Regards,

Perry

0 Likes