- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
PSoC4's TCPWM_P4 Timer/Counter component is declared in the datasheet to work with maximum clock frequency 48 MHz.
In my experiments I am not capable to use the Timer/Counter "clock" at higher frequency that HFCLK/2 which is in my case 20 MHz. My PSoC4 in CY8CKIT-042 runs from External quartz 40 MHz oscillator (TCXO).
The Timer/Counter "count" frequency for proper operation need to be < HFCLK/4.
Where is my problem? How is defined the 48 MHz limit in the datasheet.
Regards,
Viktor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you want to count signal with a frequency of up to 48MHz? When I understand the data sheet (and the architecture TRM) right, in counter mode the clock is the operating clock, and the count input will be sampled by this clock (though it is nowhere explicitely explained how it works exactly).
In all other modes you should be able to run the component with 48MHz (or the system clock at most). But the TRM (http://www.cypress.com/?docID=43515 ) talks about a prescaler for this component, maybe you need to check for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, HLI
the prescaler works corectly, prescaler divides internaly the input clock (1-128). My problem is with maximum operating frequency, for "clock" and "count" inputs.
Regards,
Viktor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The TCPWM can be used w/o a count input, just a clock input.
48 Mhz probably unrouted internal max clock rate. Consider filing a tech case at -
"www.cypress.com"
"Support"
"Technical Support"
"Create a Case"
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The last option would be to attach the data signal to an internal pin and specify this pin as clock (in the design wide resources) .
- 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
Otherwise: can you test whether a PWM can run with full frequency?
Does a counter run with full clock, but just with lower frequency on the count input?