Measuring pin consumption | Cypress Semiconductor
Measuring pin consumption
I'm trying to measure the consumption of the pin component in PSoC5LP.
I want to evaluate it in terms of sourcing and sinking current.
Therefore I decided to go thru all the different modes available for all different pin configs (analog, digital in/out/inout).
So I wanted to ask before proceeding : are all the modes suited for sinking AND sourcing, or are there modes that are better used to source/sink?
For example, I'm kind of convinced that Strong Drive is good for sourcing current, but not so good at sinking. Is that true?
As for the test plan :
For pins that are sourcing, I thought of sourcing the current into a passive load (around 5.6kOhms; about the same value as the pull resistances, and around 20 pF capacitance in parrallel). I'm not so good at designing circuits. Is this ok?
For pins that are sinking, I thought of sourcing current from an op-amp wired as a follower (for DC) and as an oscillator which outputs a sine and square wave (for AC). Again, I'm not so good at designing circuits. Is this ok?