Community Translation - outing Output of PWM to Different Pins in PSoC 4 Devices - KBA226885

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

moto

Original KBA: KBA226885

Routing Output of PWM to Different Pins in PSoC 4 Devices - KBA226885

Translated by:  MoTa_728816

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

タイトル: PSoC 4 PWM 出力を異なる複数のピンへ出力する - KBA226885

質問:

PSoC 4 デバイスで PWM の出力を異なる複数のピンへ出力するのにはどうしたら良いでしょうか?

回答:

PWM の出力を専用ピンではないピンへ出力する方法は二通りあります。これらの手法はユニバーサルデジタルブロック (UDB) または SmartIO  のリソースを有しているデバイスのみに適用可能です。

手法 1:  コントロールレジスタ (Control_Reg) をデマルチプレクサ (De-Multiplexer) のセレクト信号へバスを使用して接続します。これでコントロールレジスタを使用してデマルチプレクサの入力を選択することが可能です。

手法 2:  SmartI /O コンポーネントを使用して固定ファンクションペリフェラルを同じポート上の他の専用ピンではないピンへ配線することが可能です。出力は Smart I/O コンポーネント内のルックアップテーブル (LUTs) の一つ経由して配線することが可能です。

手法 1 のプロジェクトハードウェア接続回路図:

コントロールレジスタを使用して PWM 出力を 4 つの出力 (P0.2, P0.4, P0.6, P0.7) のどれかに接続している例:

001-pastedImage_0.png

手法 2 のプロジェクトハードウェア接続回路図:

Smart I/O  を使用して PWM 出力を Port 3 に出力している例:

002-pastedImage_5.png

これらの手法のテストプロジェクトはこのナレッジベースアーティクルに付属しています。

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

15-Apr-2020

moto

0 Likes
1 Reply
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 (waiting review, etc.), Please bear with me for the delayed the response.

It could be delayed, but it will be processed soon.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo