Hardware & Software for the Toshiba TC358870XBG HDMI to MIPI-DSI bridge chip.
Simplified Chinese
Hardware : based on zengcym's hardware: Link.
I have a modified version of this board: Added I2C1 pull-up resistors, added an user button(for USB DFU) and wired out I2C2 pin as touch I2C bus(not implemented yet).
You can find it at the hardware
directory.
MCU: STM32F103C8T6
Board design used EasyEDA Pro.
VSCode + PlatformIO as IDE, STM32CubeHAL library as SDK.
Open TC358870/include/tc358870_panel.h
,choose your panel by uncomment the following line:
#define LT070ME05000
// #define TPM0551002P
Download VScode
Editor(Just Google it)
Open VSCode
,install PlatformIO
plugin,and wait it finishes(This may take a while).
Clone(or download) this repository,open TC358870_USB_DFU_Bootloader
first,complie and upload to your board(You may need to use JLink or STLink).
Then use a TypeC cable,connect your board to you PC, press user button first(the button closed to HDMI port),then press the reset button and release two buttons.
You will see the USR_LED
flashs,that means the MCU has entered the DFU mode.
Back to VSCode
,open TC358870
,compile and download.
Then reset the board(press reset button on the board),you will see the USR_LED
not light up, It's ok.
Connect your board to PC using a HDMI cable,your computer will find a new hardware, enter the monitor settings page you will found 'Toshiba UH2D' device,that means TC358870 chip works fine.
Unplug board,connect panel to board,then plug back to your computer.
If everything is ok, there will be a desktop on your panel.
Part Number | Size | Resolution | Interface | Connector | Note |
---|---|---|---|---|---|
LT070ME05000 | 7' Inch | WUXGA(1200*1920) | DSI 4 Lane | 31P Connector | |
TPM0551002P | 5.5' Inch | FHD(1080*1920) | DSI 4 Lane | 39P Connector | TP:Synaptics S3351 |