芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

飞芯科技-芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

AT32F403A开发板的2.2'彩色TFT屏显示驱动 芯片解

芯片解AT32F403A那丰富的存储资源,这次为它配上一个2.2'彩色TFT屏,该显示屏采用SPI接口,故将I2C接口和SPI接口联合起来驱动它。
                              

图1 接口资源
芯片解相关引脚输出高低电平的引脚定义为:
  1. #define LCD_CS_High()    GPIO_SetBits(GPIOB, GPIO_Pins_13)
  2. #define LCD_CS_Low()     GPIO_ResetBits(GPIOB, GPIO_Pins_13) //CS

  3. #define LCD_REST_High()  GPIO_SetBits(GPIOB, GPIO_Pins_11)
  4. #define LCD_REST_Low()   GPIO_ResetBits(GPIOB, GPIO_Pins_11) //RES

  5. #define LCD_DC_High()    GPIO_SetBits(GPIOB, GPIO_Pins_12)
  6. #define LCD_DC_Low()     GPIO_ResetBits(GPIOB, GPIO_Pins_12) //DC

  7. #define LCD_SDI_High()   GPIO_SetBits(GPIOB, GPIO_Pins_9)
  8. #define LCD_SDI_Low()    GPIO_ResetBits(GPIOB, GPIO_Pins_9)//SDI

  9. #define LCD_SCK_High()   GPIO_SetBits(GPIOB, GPIO_Pins_8)
  10. #define LCD_SCK_Low()    GPIO_ResetBits(GPIOB, GPIO_Pins_8)//SCK

  11. #define LCD_LED_High()   GPIO_SetBits(GPIOB, GPIO_Pins_14)
  12. #define LCD_LED_Low()    GPIO_ResetBits(GPIOB, GPIO_Pins_14) //BLK



联系方式

地址:石家庄市新华区民族路77号华强广场D座2009
电话:0311-88816616/87087811
手机:13315190088
传真:0311-67901001
联系人:张工
网址:www.feixindz.com
邮箱:feixindz@163.com
微信:xinpianjiemi
QQ:527263666/568069805

在线客服
热线电话

企业微信