cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Robin_Peng
Contributor

您好,想请教如下问题,

用timer counter时,时钟选这new,可以build成功,选择existing 时,编译一直报错,我想用外部的低速时钟32768做时钟源,configure时是可选的,就是编译会报错,请问是什么原因,谢谢。

pastedImage_0.png

pastedImage_1.png

0 Likes
Reply
1 Solution
NoriakiT_91
Employee

Please refer following Block Diagram from the PSoC 41XX_BLE/42XX_BLE Family PSoC 4 BLE Architecture TRM, Document No. 001-92738

GS004771.png

The Timer Counter block uses one of the peripheral clocks PERx_CLK which are generated from the HFCLK.  So, it is not available to use the LFCLK as the clock for the Timer Counter block.

Please use a clock generated from HFCLK or use the watch dog timer counter which uses LFCLK.

Regards,

Noriaki

View solution in original post

1 Reply
NoriakiT_91
Employee

Please refer following Block Diagram from the PSoC 41XX_BLE/42XX_BLE Family PSoC 4 BLE Architecture TRM, Document No. 001-92738

GS004771.png

The Timer Counter block uses one of the peripheral clocks PERx_CLK which are generated from the HFCLK.  So, it is not available to use the LFCLK as the clock for the Timer Counter block.

Please use a clock generated from HFCLK or use the watch dog timer counter which uses LFCLK.

Regards,

Noriaki

View solution in original post