owned this note changed 2 years ago
Linked with GitHub

10/02/2023

Y70 Touch Panel uses STM32L412 to control the brightness of the screen through USB. As such, it will be detected as a USB Serial Device.

This document includes the following functions for Y70 Touch Panel:

  • Set the brightness
  • Get the brightness setting from firmware
  • Save the brightness setting to firmware
  • Get the firmware version
  • Perform an OTA update

[Set Brightness]

Screen off does nothing

byte 0 byte 1 byte 2 byte 3 byte 4
FF CC 01 screen on (01)/off(00) brightness % (0~100)

[Get Screen Info]

Serial Write

byte 0 byte 1 byte 2
FF CC 02

Serial Read

PWM Power and SATA Power have no use for now

Return 13 bytes (the rest are reserved bytes)

byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6
FF CC 02 screen on (01)/off(00) brightness % (0~100) PWM Power SATA Power

[Save Brightness Setting]

This function will write the brightenss into eeprom, the eeprom can only be modified 10,000 times

Serial Write

byte 0 byte 1 byte 2 byte 3 byte 4 byte 5
FF CC 03 00 brightness % (0~100) 01 (SAVE)

[Get Firmware Version]

Serial Write

byte 0 byte 1 byte 2
FF DD 02

Serial Read

byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6
FF DD 02 large (version) mid minor hardware

[OTA Update]

Please read the OTA document


The HYTE Y70 Protocol is provided under the terms of the GNU General Public License version 2.

Select a repo