- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
こんにちは、
One of my customer is investigating CY8C4024PVS-S412 for their project.
As the datasheet states that this device has 5 TCPWM, the customer is expecting to generate 5 PWM output.
But they seem to have had hard time to implement this set-up and asked us for help.
私のお客様に CY8C4024PVS-S412 を検討されている方がおいでです。
データシートによると 5つの TCPWM が搭載されているということで、
お客様は 5つの独立した PWM 出力を生成することを期待されています。
しかし、試されたところ上手くいかなかったようでお問合せをいただきました。
So I tried with PSoC Creator v4.3.
例によって PSoC Creator v4.3 で試してみました。
The first schematic
Looks ok to me
先ずは回路図、
問題なさそうです。
But, I could not assign LED_5, which is for TCPWM[4] the 5th TCPWM.
しかし、5個目の PWM (TCPWM[4]) につないだ LED_5 のピンが設定できません。
Even auto pin assign returned error fit.M0059: FFB and IO placement failed: Failed to find a valid placement for LED_5(0).
自動アサインで走らせたところ、M0059 という上記のエラーが返されました。
Then I checked the data sheet,
No wonder, both tcpwm.line[4]:0 and tcpwm.line_compl[4]:0 are assigned to non-existing pins, namely P2[0] and P2[1].
ここでデータシートを確認したところ
なるほど、tcpwm.line[4]:0 も tcpwm.line_compl[4]:0 もデバイス上に存在しない P2[0] と P2[1] にアサインされています。
So I tried to bypass P2[0] to P2[7] by using SmartIO
それならば、SmartIO を使用して P2[0] をデバイスに存在する P2[7] にバイパスしてみました。
Schematic / 回路図
Pins / ピンアサイン
Note: This time I could assign LED_5 to P2[7] as I planned,
but SmartIO pin seems to be floating
今回は無事 LED_5 を P2[7] にアサインすることができました、
しかし SmartIO の内部ピンの接続先が浮いているようです。
And when I tied to compile, I got following errors.
そして、アプリケーションの生成を行ったところ下記のエラーが返されました。
Now my question is
Would someone teach me if there is a way to use all 5 TCPWM output in this device, CY8C4024PVS-S412?
さて、今回の私の質問なのですが、
CY8C402PVS-S412 で 5つの TCPWM の出力を全て外部に出す方法はあるのでしょうか?
Best Regards,
24-Sep-2020
Motoo Tanaka
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Tags:
- psoc 4000s
- tcpwm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanaka-san,
再度確認しましたが、CY8C402PVS-S412 で 5つの TCPWM の出力を全て外部に出すことができません。
他のソリューションもございません。
以上、よろしくお願い致します。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanaka-san,
既にお調べされている通り、CY8C402PVS-S412 で 5つの TCPWM の出力を全て外部に出す事できません。
何か他のソリューションがあるかどうか調べています。
分かり次第、本スレッドをアップいたします。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanaka-san,
再度確認しましたが、CY8C402PVS-S412 で 5つの TCPWM の出力を全て外部に出すことができません。
他のソリューションもございません。
以上、よろしくお願い致します。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Matsubara-san,
ご回答をありがとうございました。
承知しました。
moto