-
1. Re: CY8C95xxA: GPort configuration
user_7880656 Sep 16, 2011 4:17 PM (in response to rolf.hertle)How do you have the LED wired?
i.e. is the CY8C95xxA pin sourcing or sinking currrent?
(There are two options here - so let's start with that infomation...)
regards,
Tom Moxon
-
2. Re: CY8C95xxA: GPort configuration
rolf.hertle Sep 19, 2011 2:32 AM (in response to rolf.hertle)Hi Tom,
I took a 330Ohm resistor wired from the GPort to the Anode of the LED (cathode is wired to ground). So in my understanding the CY8C95xxA is sourcing (~5mA)?
Regards,
Herrol
-
3. Re: CY8C95xxA: GPort configuration
user_7880656 Sep 19, 2011 1:26 PM (in response to rolf.hertle)Right, so if the PSOC device is Sourcing current, then anytime the PSoC device output is floating
(i.e pulled up internally), then the LED would be on (maybe not brightly, but it could be on...)
So you need to drive the PSoC Device output "low" to turn off the LED,
and actively drive it high to be off.
regards,
Tom
-
4. Re: CY8C95xxA: GPort configuration
user_7880656 Sep 19, 2011 1:28 PM (in response to rolf.hertle)I wish this forum had an "edit" button ....
Right, so if the PSOC device is Sourcing current, then anytime the PSoC device output is floating
(i.e pulled up internally), then the LED would be on (maybe not brightly, but it could be on...)
So you need to drive the PSoC Device output "low" to turn the LED to OFF,
and actively drive it "high" to turn the LED to ON.
regards,
Tom