- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody.
I want to tune the ECO clock for PSOC6 board I'm developing.
In the section 4 "Crystal Tuning Technique for ECO" in the document "PSoC/PRoC BLE Crystal Oscillator Selection and Tuning Techniques", the description as below can be seen.
"For tuning, the ECO clock is routed out of the chip to a GPIO to measure the clock accuracy."
So, I'm going to output the ECO clock signal to GPIO for checking and tuning the ECO clock frequency. But I have no idea to output ECO clock to GPIO pin.
For PSoC4, it can be seen in section 4.1.2 (maybe in the code 1).
I want to know how can I assign the ECO output to GPIO for PSoC6. I couldn't find the method for PSoC6 in Modus Toolbox 2.2. Please let me know how to.
Thank you for reading.
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can't use the HFCLK[4], you might try to use HFCLK[1]. This drives the audio subsystem. You will not be able to drive the ECO directly to the output pin, but you could use the PDM/PCM block. This block generates a clock based on HFCLK[1]. It will divide the clock though. It drives the clock signal through P10[4] or P12[4].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @KeTS_3297816
You can refer to the following KBA: https://community.infineon.com/t5/Knowledge-Base-Articles/Route-Internal-Clock-Out-to-a-Pin-in-PSoC-... that mentions how to route the internal clock out to a pin.
In your case, you need to use ECO as the source of the input clock (instead of WCO as mentioned in the KBA).
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
My system uses P0[0] as WCO input and P0[5] as PMIC Wakeup Output.
I think these pins have no alternative pin, so neither P0[0] or P0[5] pin can't assign to the clock output CLK_HF4 External pin.
I didn't mention the above situation before, sorry.
Is there any other substitution?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry,
MCU is CY8C6347FMI-BUD53.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can't use the HFCLK[4], you might try to use HFCLK[1]. This drives the audio subsystem. You will not be able to drive the ECO directly to the output pin, but you could use the PDM/PCM block. This block generates a clock based on HFCLK[1]. It will divide the clock though. It drives the clock signal through P10[4] or P12[4].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't use P12[4], and I can adopt the method you proposed above. I'll try that.
Thank you.