- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there any pins on the CY8CKIT-059 where I can output a clock?
I have tried to use a GPIO to output a 1.5 MHz clock, but it doesn't look very nice on a oscilloscope. Is there a recommended way of doing this?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- 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
Welcome in the forum, Morten.
Check the schematics, so that you do not use a pin that is bypassed with a capacitor for other purposes.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a pin without any external capacitors and I can see the clock coming out. The only problem is that the slew-rate is very bad.
I saw in the documentation that the PSOC4 devices has a CLK configuration for the digital output pin, but that is not available for .PSOC 5LP. Is there some other way to increase the slewrate in the current device?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Morten, WHICH pin are you using?
Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- 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
How did you configure your pin? It should be set to "strong drive", and the slew rate to "fast". And you should not load the GPIO too much.
The rise time for a normal GPIO is specified as 12ns in "fast strong mode" and 60ns in "slow strong mode". The maximum frequency is 33MHz in fast mode.
The values for a SIO pin are similar, but it can sink more current.
- 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
Damn it... I just got a better scope and you are right - the rise time is around 5ns.
Thank you so much 🙂