This project is an NES game console based on Lichuang Liangshan School's GD32F470 domestic development board.
1. Most of the hardware design IO refers to the official game expansion board circuit IO port, which makes it easy to quickly verify whether the hardware circuit is working properly through routine programs.
① For the power supply, due to cost considerations, the circuit in the routine is not used, and the ready-made battery circuit is directly used;
② The display driver circuit

uses the official 1.69-inch 240*280 IPS screen, with capacitor energy storage added filter.
③The motor drive circuit

adds an energy storage filter capacitor and a freewheeling diode (to protect the motor). Through the PWM function of the IO port, the vibration intensity of the vibration motor is controlled, increasing the experience of the game console.
④The audio output circuit

adds an energy storage filter capacitor. The signal is isolated from the magnetic beads, and the audio output function of the game console is completed through the DAC function of the Liangshan School IO port. ⑤ A filter capacitor is added to
the EEPROM circuit

, which has a certain energy storage effect and is used to save and record relevant information.
⑥ A joystick and button circuit

is added. Hardware filtering
⑦ Bluetooth and SWD

The SWD function is expanded to facilitate J-LINK debugging at hand. Bluetooth control has not yet implemented this function due to hardware circuit problems.
2. Summary This time, the main reason is that the hardware circuit interface is drawn upside down, which wastes a lot of time to check the problem. And thinking about the remedy plan, I first found that the screen was unresponsive. I thought I bought the wrong screen, so I bought a new replacement. I

dismantled the original one as shown below, and it was also broken and replaced with the official one, but it still didn't work. Then after an in-depth inspection, I found that the two pin headers were reversed. I then thought about using a ribbon cable to rotate them directly. Later, I actually bought a 10cm ribbon cable as shown below, but it couldn't be plugged in at all. Then I thought about the second option and tried it again. Painting, but later I felt it was too time-consuming, so I thought of a third option, which was to paint the adapter board. Fortunately, I did it once and finally it was able to run normally. . .

Although the hardware can run, I feel that the software is still lacking. I hope that the masters of Wu Gong can also consider software novices. I still don’t understand things like NES porting, file system, UI, etc., but there is no video tutorial. . . .