Connect the 5V level with the IO port of STM32F103.
Set it to GPIO_Mode_IN_FLOAtiNG when inputting because the IO port of STM32F103 can withstand 5V voltage,
Set the output port as GPIO_Mode_Out_OD. Set the IO port as open-drain output and add a pull-up resistor outside.
There are two problems:
1 What should I do if the IO port is used as a data port with both output and input?
2 Why is it set to GPIO_Mode_AF_OD as the output port?
Lela 發表於 November 19, 2020
1. Use open drain multiplexing function
2. Set to GPIO_Mode_AF_PP
Arman 發表於 November 19, 2020
Does anyone use the STM32F103's IO to connect to the 5V data port? I use STM32F103, and the screen of TG19264 is always messy. I suspect that the signal is wrong when reading the LCD screen busy. Give it the correct one. It's a drawing board, if it doesn't work, you have to hand in a 3.3V to 5V chip.
Kamran 發表於 November 19, 2020
I am also experiencing this problem. The FSMC is pulled up by 5V and cannot reach 5V. If it is not applied, the LCD cannot be driven. If you add 5V, you can't reach 5V. I'm afraid of reliability problems.
I heard others say that there is an FT pin, but the FSMC is also an FT pin for data checking, but it cannot output 5V, and the OD is useless.
Marwa 發表於 November 19, 2020
Use HCT244 level conversion.