Community Translation - External Oscillator for WCO of PSoC® 4/ PRoC™ BLE - KBA200299

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 KBA200299 into Japanese.

moto

Original KBA: KBA200299

External Oscillator for WCO of PSoC® 4/ PRoC™ BLE - KBA200299

Translated by: MoTa_728816

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

タイトル: PSoC 4 / PRoC BLE WCO 用外部発振器 - KBA200299

質問:

PSoC 4 / PRoC BLE の時計クリスタル発振器 (WCO) に外部発振器を使用できますか?

回答:

はい、WCO に外部発振器を使用することは可能です。

ハードウェアで以降の設定を行ってください:

 1. 外部のクロックソースを XTAL32O ピンに接続します。

 2. XTAL32I ピンは浮かせておいてください。もし浮かせておくことが望ましくない場合には XTAL32I パッドとグランドの間に最低でも 500kΩ のインピーダンスを持たせてください。(*1)

 3. 振れ幅が最小で 0V から 1.0V, 又は最大で 0V から 1.6 V の外部クロックソースを与えてください。

 4. クロックのデューティサイクルは 20% から 80% のものにしてください。

(*1) 原文では 500kW でしたが、500kΩに修正しました。

外部クロックを使用する場合、ファームウェアで

 1. デザインワイドリソース .cydwr ファイルの Configure System Clock ウィンドウの Low Frequency Clocks タブで WCO を無効にして、LFCLK に ILO を選択してください。

 2, WCO を有効にする前に BLE_BLESS_WCO_CONFIG レジスタの EXT_INPUT_EN (bit 2)ビットを '1' にセットしてください。

 3. CySysClkWcoStart(); API をコールして WCO を開始してください。

 4. CySysClkSetLfclkSource(CY_SYS_CLK_LFCLK_SRC_WCO); API をコールして LFCLK のソースとして WCO を選択してください。

 5. CySysClkIloStop(); API をコールして、ILO を停止してください。

以下は WCO に外部クロックソースを使用するサンプルコードです:

int main()

{

 /* 外部クロックを有効にする */

 CY_SYS_CLK_WCO_CONFIG_REG |= CY_SYS_CLK_WCO_EXT_INPUT_EN;

 /* WCO を開始 */

 CySysClkWcoStart();

 /* WCO をクロックソースとして選択 */

 CySysClkSetLfclkSource(CY_SYS_CLK_LFCLK_SRC_WCO);

 /* ILO を停止 */

 CySysClkIloStop();

 CyGlobalIntEnable;

 /* BLEスタックの初期化 */

 CyBle_Start(EventCallback);

 for(;;)

 {

  CyBle_ProcessEvents();

 }

}

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

8-Apr-2020

moto

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

Hello, Tanaka-san

We receive your translation, it will be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Due to the current volume of works, Please bear with me for the delayed the response,

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

PSoC 4 / PRoC BLE WCO 用外部発振器 - KBA200299 - Community Translated (JA)

Hello, Tanaka-san

Your translation has been published.

As a token of appreciation, you will receive the point.

Please note that giving a point will be done in middle of May.

Sorry for the delayed response.

Thank you for your contribution.

Regards,

Jenna

Jenna Jo
0 Likes