Difference between revisions of "Template:2.9inch e-Paper HAT (D) STM"

From Waveshare Wiki
Jump to: navigation, search
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
Line 25: Line 25:
  
 
==Run The Program==
 
==Run The Program==
*[https://www.waveshare.com/w/upload/3/39/E-Paper_code.7z Click to download the demo], and then unzip it into the E-Paper_code directory to see the following content.
+
*[https://files.waveshare.com/upload/3/39/E-Paper_code.7z Click to download the demo], and then unzip it into the E-Paper_code directory to see the following content.
 
[[File:STM32 for 4.37 e-paper010.jpg]]<br/>
 
[[File:STM32 for 4.37 e-paper010.jpg]]<br/>
 
*Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory.
 
*Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory.

Revision as of 06:06, 2 September 2023

Working With STM32

Hardware Connection

Connect to STM32
e-Paper STM32
VCC 3.3V
GND GND
DIN PA7
CLK PA5
CS PA4
DC PA2
RST PA1
BUSY PA3

Run The Program

STM32 for 4.37 e-paper010.jpg

  • Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory.
  • Open Keil's compilation toolbar (usually already open).

STM32 for 4.37 e-paper012.jpg

  • Select the EPD_2in9d_test at the location shown in the picture.

STM32 for 2.9inch e-paper0014.jpg

  • Click to compile.

STM32 for 4.37 e-paper014.jpg

  • Make sure the appropriate programmer is connected, then click LOAD to download the demo to the microcontroller.