440 views|0 replies

16

Posts

0

Resources
The OP
 

【NUCLEO- STM32L496ZGT6 Review】IIC+OLED [Copy link]

【NUCLEO- STM32L496ZGT6 Review】IIC+OLED
The previous evaluation report was for usart testing. This film mainly tests IIC. The project was created through CUBEMX and developed based on the HAL library. It mainly drives oled through hardware IIC to achieve text display.
  1. Hardware resource introduction:
    The main control is still STM32L4 development board. The onboard ST-link is used for downloading simulation. This experiment tries the IIC2 interface (PF0, PF1).
  2. Drive part
The following is the physical connection diagram
  1. Project structure:
    mainly includes startup files, HAL library drivers, peripheral BSP, and some application apps. Modified cubemx pin function and enabled I2C2.
  2. Routine modification
Mainly added oled driver files and font files.
  1. After
    the IIC test is over, the OLED display is connected, and the next menu switching and display can be carried out, which will serve as a basis for the subsequent control of other devices.
    Next, test SPI.
  2. Attachment: 797641

UART -OLED.zip

32.05 MB, downloads: 4

This post is from stm32/stm8
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list