Community Translation - Custom User Module for Using 16x4 LCD with PSoC® Designer™ 5.4 - KBA210682

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

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,               

I would like to translate KBA210682 into Japanese.

Please confirm to my work.

Thanks,

Kenshow

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

Hi, Kenshow-san

Confirm to work this KBA.

Thanks,

Jenna

Jenna Jo
0 Likes
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi Jenna-san,

                                

Japanese translation was over.
Please check below.

Original KBA:

Custom User Module for Using 16x4 LCD with PSoC® Designer™ 5.4 - KBA210682

Thanks.

Kenshow

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

タイトル: PSoC®Designer™5.4で16x4 LCDを使用するためのカスタムユーザーモジュール-KBA210682

バージョン:**

質問:

PSoC Designer 5.4では、LCDユーザーモジュールは、Hitachi HD44780ドライバーに基づく20x4 LCDディスプレイ用に開発されています。16x4 LCDPSoC Designer16x4 LCDをサポートする方法が異なるのはなぜでしょうか?

回答:

PSoC Designerを搭載したLCDユーザーモジュールは、Hitachi HD44780ドライバーに基づく20x4 LCDディスプレイ用に開発されています。16x420x4ディスプレイのDDRAMアドレスには違いがあります。20x4ディスプレイの4行の文字のベースアドレスは、06420、および84です。16x4ディスプレイの4行の文字のベースアドレスは、06416、および80です。

PSoCはアドレスセット06420、および84を使用するため、行2および3の文字は4のオフセットで表示されます。16x4LCDLCDユーザーモジュールで正常に機能させるには、行2のベースアドレスまた、31680として作成する必要があります。そのため、回避策はLCD.asmファイルを変更することです。LCD.asm169行目と170行目を検索します

LCD_ROW3_OFFSETequ 94h

LCD_ROW4_OFFSETequ D4h

それらを以下に変更します

LCD_ROW3_OFFSETequ 90h

LCD_ROW4_OFFSETequ D0h

これらの変更を許容するカスタムユーザーモジュールは、このKBA記事に添付されています。PSoC Designerプロジェクトに簡単にインポートして、任意のプロジェクトで使用できます。

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

19-August-2020

  Kenshow

0 Likes