Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
In general Single Cycle Pulse Mode is used in peripherals that uses only the rising edge of the clocks for operation. This is more like clock gating for rest of the period of the clock. The default setting when you drag and drop a clock component in PSoC 5 is 50 % duty cycle mode. You can test this by doing the following:
1. Drag a drop clock component to clock component. Configure the divider and build it.
2. Find the register address for your clock CLKDIST_DCFGx_CFG2. The creator would use the name <clock_alias>_CFG2. You can find this in the cyfitter.h file
3. Enter debugging mode and run and see what is there in the CLKDIST_DCFGx_CFG2 register. Use register TRM to decode.
3. Go to cyfitter_cfg.c file which would have configured all the register based on DWR settings. You should be able to find the following piece of code in the void ClockSetup(void):
/* Configure Digital Clocks based on settings from Clock DWR */