- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I'm trying launch my PSOC4 CY8C4245AXI-483, with simple programm blink LED. It's working but bad and very wierd.
Video here https://www.youtube.com/watch?v=_1OWf3EIq4M
Also I attached scheme.
Power is 3.3V. I tested fiew controllers, and they work same.
I tried use program from example, and have same problem. Voltage on the pin don't go down to GND.
May be, anybody know where I should look troubles?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How was set the LED drive pins?
Drive mode is important
strong drive or open drain, drive low is better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That has same circuitry same as yours.
Have a cathode drive LED.
If not have the kit, down load the documents and take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I'm using strong drive. And I tested example with PSOC Creater and got same result. =(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IE9 also, what is going on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Upload your project bundle, I will be check it.
Minimaled design is better, LED part only but has a trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some thoughts, questions -
1) Your Vcc is "stiff", no voltage droop when LEDs come on, restarting processor ?
2) When you see LED pin not going to ground, what voltage do you see when it
is logic low ? Keep in mind it will not go compeletely to ground because of Vol spec,
and is not a super low RDSon output . With 1K, LED drop of 2V, you would expect
Vol (LED on) to be ~ .2 V.
3) You have confirmed 1K LED R's are 1K ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for your cathode drive LED, it's not depend Vdd of PSoC.
Would you try it.
Mostly wanted information is wave form of LED pin.
Would you show it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, so many post, thank you all for your comments.
To PSoC73
Project in attached file. I tryed "open drain, drive low" and also negative result.
To Bob Marlowe
No, I don't mistook pins. I reviewed it some times.
To Danna
1. All okey with input voltage. It haven't droop.
2. I see 0.9 V and about 3 V on the LED pin (instead of about 0V and 3.3.V)
3. It's most interesting question, and answer bellow:
To All
I read in datasheet that max current on the pin is 25mA. Before 1kOhm I used 360 Ohm. 3.3V/360Ohm=9mA. But if look to Dannas image: I had Current :"4mA source, 8mA Sink". May be it killed ports?
I tryed set Current as on Dannas image: "8mA source, 25mA Sink" , but got error : "Pin 3 does not support SIO":
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project in attached file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TRY EXCEPT CHROME, BUT IE, SAFARI, FIREFOX is OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyway, How many voltage at the pin when ON and OFF ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LED polarity is OK? HaHa
LED is still alive? HaHaHa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are 0.9V and 3V at the pin. But some time it changing.
LED is good and connection correct.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the voltage 0.9V and 3V, so LED wiring is something wrong
Definitely !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's Blinkin Baby !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I read in the datasheet that max current on the pin is 25mA. Before 1kOhm I used 360 Ohm. 3.3V/360Ohm=9mA. But if look to Dannas image: I had Current :"4mA source, 8mA Sink". May be it killed ports?
I tryed set Current as on Dannas image: "8mA source, 25mA Sink" , but got error : "Pin 3 does not support SIO":
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Movie file can't upload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My error, outputs speced to 8 mA, not 25 mA. 25 mA is only for SIO pin.
The equation you use for LED resistor
Rled = ( Vddmin - Vledmax - Vohmax ) / Iled
Vohmax is speced at 8 mA, .6V, Vdd of 3V. This will give you worst case value. You are limited
to 25 mA/pin, but there are no curves for Vol vs Iol for you to design to. There may be a spice
model for output, you can check website for that. Vledmax varies a lot LED to LED, so consult
your datasheet.
If you want more current drive two pins per LED, eg. parallel them.
Regards, dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"2. I see 0.9 V and about 3 V on the LED pin (instead of about 0V and 3.3.V)"
1) The .3 V difference between output Voh (LED off) and Vdd due to ohmic drops of other
on LEDs and the way you are distributing power ? What is your ground reference.? When
LED pin off it should pull to the Vdd rail. Measure pin to Vddd to see if it is consistent with
pin to Vssd.
2) The .9V Vol (Led on) could be legit, all depends on Vled, Rled, Iled........Again you could
consider paralleing 2 outputs to get more Iled and/or lower Vol.
Regards, dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you all.
I think the problem in the board, because I assembled new board and now all working.
Thank you very much.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everyone walk a similar way.
The first step is LED blinking!
Cheers