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

PSoC™ 4

Level 9
First comment on KBA 1000 replies posted 750 replies posted
Level 9

Just like a year ago, I was absent from CDC for a couple of weeks.

This time it was the 14th annual FPGA design course at the Ryukoku University.

昨年と同じように今年も先週、先々週と CDC をお休み(?)していました。

今回は14回目になる龍谷大学での FPGA設計講座でした。

FPGA and PSoC Course at Ryukoku University


Every year, I enjoyed the limited time campus life and the goldfish living in the fountain in front of the main building.




But this year, thanks for the COVID-19 all the students were studying from home and the course took place in cyberspace.

So although physically I was in the same location, I could not afford to do anything else.



And because of the increased number of attending students, we realized that the number of FPGA boards we had for this course was not enough.

So we needed to switch to the off the shelf FPGA board, which resulted that I needed to redesign and/or update all the circuits in the text and update the text itself. (T^T)

また、諸事情によって受講者が増えた為に、これまでこの講座に使用していた FPGA 基板では数が足りない事が判明しました。

急遽、FPGA 基板を市販のものに変更することになり、教科書の書き直しと全回路の再設計を余儀なくされました。 (T^T)

Anyway I barely made it. Then a couple of days before the first day,

we found that oscilloscopes were not available either. This made me to perform another hack.


下記 URL のトピックの急ぎ仕事が発生しました。

A Simple Oscilloscope (CY8CKIT-044) using SerialPlotter

And finally the course started.



The following picture was an error screen of one of the most challenging error, which the student noticed that he gave a wrong name for the project after creating the project and he renamed the project folder from the Windows. And the poor PSoC Creator could not notice the situation when it tried to save the project (to the original location).

下記写真の画面に表示されているエラーは、もっとも手ごわかったものの一つで、プロジェクトを作成した学生さんが、プロジェクト名が教科書と違うことに気が付いてウィンドウズからプロジェクトフォルダ名を変更しちゃったのですが、その時実行中だった PSoC Creator はそれを知るよしもなく・・・


The primary purpose of using an oscilloscope is to show the students bouncing of a mechanical switch.

BUT, thanks for the FPGA board maker's effort, probably they added an external low pass filter (capacitor) to the switch,

on the students' FPGA board bouncing did not take place. orz

Note: My older FPGA board shows the bouncing.


し か し、FPGA 基板のメーカーさんが頑張っちゃって、チャタリングを除去する外付け回路を追加してくれたようです、

おかげさまでチャタリング発生しないし・・・ orz

※少し古い版の私の FPGA 基板では発生するのですが。

Then I utilized the PSoC 4 oscilloscope with the servo-motor controlling project.

次に、サーボモータ制御のプロジェクトに PSoC 4 オシロを適用してみました。


And we could monitor the change of PWM pulse width.

今回は無事に PWM のデューティが変化することを観測していただくことができました。


Anyway, I'm back in one piece 😉

なにはともあれ、ただいま(?)です (^_^)v


0 Replies