cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

Tim_Shih
New Contributor II

Dear Receiver,

I use built-in example code ( CE210291_CapSense_P4_One_Button02  ) in the PSoC Creator 4.4.

I didn't modified anything but I met a compiler error as shown in the attached file.

What's the meaning of modulation clock ?!

I re-config this parameter to 12000kHz and compiler ok.

Why default setting (24000kHz) is wrong ?!

Thank you so much.  

0 Likes
1 Solution
MotooTanaka
Esteemed Contributor

Hi,

I downloaded that CE and observed the same error.

Then I skimmed the datasheet of the CapSense component,

and there was the following description.

PSoC 4100/PSoC 4200: 2400 kHz or HFCLK/2, which ever is lower.

And in this case HFCLK is 24MHz, so the HFCLK/2 is 12MHz and lower.

002-Modulator_clock_frequency.JPG

moto

View solution in original post

1 Reply
MotooTanaka
Esteemed Contributor

Hi,

I downloaded that CE and observed the same error.

Then I skimmed the datasheet of the CapSense component,

and there was the following description.

PSoC 4100/PSoC 4200: 2400 kHz or HFCLK/2, which ever is lower.

And in this case HFCLK is 24MHz, so the HFCLK/2 is 12MHz and lower.

002-Modulator_clock_frequency.JPG

moto

View solution in original post