- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, look at the API's int he datasheet, there is one for the period. There are
side effects related to when actual update occurs, read those comments as well.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, look at the API's int he datasheet, there is one for the period. There are
side effects related to when actual update occurs, read those comments as well.
Regards, Dana.
- 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
You may always use a counter as a pre-scaler on a neighboured block. The output of the prescaler can be used as clock input to the PWM. Lowest Count will be divide by two, so you get 12MHz as input to your PWM. Higest count you get with a 16bit prescaler.
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
You can use a timer or a counter, clock it at 48 Mhz (as long as clock not derived
from interal global buss route), and use a period divsior of 0 to n-1. At 0 input
clk is output / 1, and just shifted.
Regards, Dana.