Community Translation - Crystal Clock Error Routine at Startup in PSoC® 3, and PSoC 5LP - KBA85476

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I'd like to translate KBA85476 into Japanese.

Please confirm to my work.

moto

Original KBA: KBA85476

Crystal Clock Error Routine at Startup in PSoC® 3, and PSoC 5LP - KBA85476

0 Likes
2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Tanaka-san

Yes, it is confirmed.

Please work to do.

Thanks,

Jenna

Jenna Jo
0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Original KBA: KBA85476

Crystal Clock Error Routine at Startup in PSoC® 3, and PSoC 5LP - KBA85476

Translated by: MoTa_728816

=================================

タイトル: PSoC® 3 / PSoC 5LP 起動時の水晶クロックエラールーチン - KBA85476

ヴァージョン: **

質問: デザインワイドリソース (.cydwr) での外部 XTAL クロック設定が実際の外部クリスタルの発振周波数と著しく異なっていた場合どうなりますか?

回答:

このような事態に対応するために CPU はクロック起動処理中で停止します。ClockSetup()フェーズがタイムアウトウィンドウ超過に対応していて、結果として CyClockStartupError() をコールします。このルーチンの中で CPU は無限ループ内で留まります。

このルーチンは cyfitter_cfg.c に含まれています。図 1と2がコードの該当部分です。

図 1. 起動時に実行される Clock Setup ルーチン

001-182955.png

図 2. Clock Startup Error ルーチン:デフォルトでは無限ループに入ります。

002-182956.png

=================================

18-May-2020

moto

0 Likes