LoginSignup
1
0

More than 1 year has passed since last update.

Spresense SDK で LCD サンプルプログラムを動かしてみた その2(Configuration)

Last updated at Posted at 2022-06-21

前回の記事:Spresense SDK で LCD サンプルプログラムを動かしてみた その1
に続いて今回は Spresense SDK で ILI9341を使った LCD表示器 を動かすための
Configuration の設定についてまとめました。
環境 は前回と同じです。
Windows10
msys2
Spresense SDK(‎v2.5.0)
ST7789を使った LCD表示器
ILI9341を使った LCD表示器


$ tools/config.py examples/nxhello -m

で Configuration を起動
image.png

Configration
image.png

SPI Driver の設定

Device Driver --->
SPI Driver Support --->
にチェックが入っているのを確認
image.png

SPI Driver Supportのページに入って
SPI CMD/DATA にチェックを入れる
image.png

Exit で前のページに戻る

LCD Driver の設定

LCD Driver Support --->
のページを選択
image.png

Graphic LCD Driver Support ---> チェックをいれてこのページに入る
image.png

LCD framebuffer front end
にチェックが入っているのはそのままにして
LCD driver selection --->
のページに入る
image.png

ILI9341 LCD Single Chip Driver にチェックを入れる
(他の項目は変更しない)
image.png

Main Menu のページに戻って
Graphics Support --->
を選択
image.png

このページの設定はディフォルトのままで
Main Menu に戻る
image.png

Board Selection --->
を選択してページに入る
image.png

LCD SPI connection --->
を選択してページに入る
image.png

Main Board: SPI5 を選択
image.png

LCD ILI934x RST Pin selection --->
を選択してページに入る
image.png

LCDのRSTに接続しているピンを設定する
(自分の場合はI2S0_DATA_OUT(D18) PINを選択
image.png

LCD ILI934x DC Pin selection --->
を選択してページに入る
image.png

LCDのDC
に接続しているピンを設定する
(自分の場合はI2S0_BCK(D26) PINを選択
image.png

Main Menu のページに戻って
Application Configuration --->
を選択
image.png

Examples --->
を選択してページに入る
image.png

NX graphics "Hello, World!" example
にチェックを入れる
image.png

Main menu に戻る
image.png

< Save > を選択してリターンキーを押す
image.png

< Ok > を選択してリターンキーを押す
image.png

< Exit >で Confiruration を終了
image.png


Spresense SDK で ILI9341を使った LCD表示器を使うのに必要な設定はこれくらいかと思っています。
ただここでの変更がうまく反映されていないみたいで現在検証中です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0