Skip to main content

Working with STM32

Hardware Connection​

  • Connect using the 9PIN cable. Refer to the pin mapping table below:
    • STM32 Pin Mapping
      e-PaperSTM32
      VCC3.3V
      GNDGND
      DINPA7
      CLKPA5
      CSPA4
      DCPA2
      RSTPA1
      BUSYPA3
      PWRPA6

Running the Program​

  • Select a download source from the 5inch_e-Paper Example, then extract and enter the 5inch_e-Paper directory to see the following content.
  • Use Keil to open epd-demo.uvprojx in the 5inch_e-Paper/example/STM32-F103ZET6/MDK-ARM directory
  • Open the Keil compile toolbar (usually already open):
  • Click Build.
  • Ensure a suitable programmer is connected, then click Load to download the program to the microcontroller.