You are here

External Clock in PSoC Designer 5.0 SP5 does not work. | Cypress Semiconductor

Support & Community

External Clock in PSoC Designer 5.0 SP5 does not work.

Last Updated: June 13, 2011
Question: 

When System clock is selected as P1[4] in PD5.0 SP5, PSoC does not work. What is the problem and how do I make this working?

Answer: 

Following is the work around:


Select SysClock Source as Internal.
Set drive mode for P1.4 as High-Z.

Now you have two options (you can use either of them):

1. Write instruction OSC_CR2 = 0x06; in main.c. It will shift to System Clock to External Clock from IMO

2. Open boot.tpl file and add following lines in boot.tpl below line "lcall LoadConfigInit".
 
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0

Now your code in boot.tpl should like following near above line:

lcall LoadConfigInit
M8C_SetBank1
mov reg[OSC_CR2], 6
M8C_SetBank0

It will shift to System Clock to External Clock from IMO

But make sure that you keep SysClock Source as Internal and drive mode for P1.4 as High-Z in device editor.

This issue has been fixed in PD5.1.

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type