Jane Medium ： Designed and made based on MM32F3277 Of MicroPython Test circuit , Downloaded from SeekFree Known MicroPython, Prove that it can complete normal use .
key word： MM32F3277,MicroPython, Fast plate making
I passed the following test the day before yesterday , For those from flying by MicroPython The test board was preliminarily tested ：
Use in Make smart MCU MM32F3277 The beta The smallest plate made , as well as utilize Python Simulate the mouse to complete automatically MM32-LINK Program download The automatic download process given , Design and make one that can be completed directly MM32F3277 MicroPython Minimum test circuit board .
stay SeekFree / Flying technology MM32F3277 Open source library Download to fly by fly MM32F3277 Core board circuit design diagram .
▲ chart 1.2.1 Fly by fly MM32F3277 Development board, motherboard packaging and component library
According to the flight by flight OneOS From the debugging interface design of the evaluation board , Its corresponding PIN5-2 The definition of debugging interface is the same as that defined on the minimum mainboard screen の Debugging interfaces are the same .
▲ chart 1.2.2 OneOS Debugging interface in the core board
▲ chart 1.2.3 Fly by fly MM32F3277 Minimum motherboard debugging interface
Therefore, we can know the of flight by flight transplantation MicroPython What is used REPL yes MM32F3277 Of UART1（A9-TX, A10-RX）.
According to the information provided by flight by flight MicroPython Descriptive information ,MicroPython UART Corresponding MM32F3277 Of UART3（B10-TX,B11-RX）.
▲ chart 1.2.4 MicroPython UART Corresponding MM32F3277 Of UART3
▲ chart 2.1.1 Schematic diagram of test circuit board
The following is to use A minute One side of quick plate making receipt PCB Territory .
▲ chart 2.1.2 Fast plate making single-sided circuit board design
▲ chart 2.1.3 The test circuit board obtained after one minute
take Make smart MCU MM32F3277 The beta The single chip microcomputer is disassembled and welded down , Weld on the fabricated single-sided circuit board . Form test circuit board .
▲ chart 2.1.4 Test circuit board after welding
exert +5V voltage , At （AS1117-3.3）PIN2 measurement 3.29V. The operating current is approximately 6mA .
Install the rear 【3.3.1： download MicroPython】 after , Measure the crystal oscillation signal of the circuit board . It is found that the crystal clock has no oscillation signal . This explanation MicroPython When running, the internal oscillator is used .
▲ chart 2.1.5 After the crystal is soldered off, the chip can still work normally
utilize MM32-LINK Read Debugging comes from flying by flying MM32F3277 Transplantation has MicroPython Development board The program on the motherboard .
▲ chart 3.1.1 Use 5PIN Read SeekFree The program in the smallest core board
▲ chart 3.1.2 Read MicroPython Program
Store the read program in ：SeeFreeMP.HEX.
Put the above HEX Download the file to OneOS In the experimental board .
▲ chart 3.2.1 take SeekFree MicroPython Download to OneOS In the development board
Select serial port as CH340, When you come out on the side, you can CH340 Conduct MicroPython REPL function .
▲ chart 3.2.2 Select serial port as CH340
Use in Test the flight by flight MM32F3277 MicroPython The basic functions of the development board The establishment of a be based on STM32BOOT-Loader Development tool chain , Write test applet , Download and execute .
utilize OneOS The buzzer on the beta （ be located B5）, test MicroPython For its operation .
▲ chart 3.2.3 OneOS The buzzer on the
from seekfree import GPIO beep = GPIO(0x15, 1, 1) def delay(loop = 50000): for _ in range(loop): pass count = 0 for i in range(10): beep.high() delay() beep.low() delay() print(i)
Reset MicroPython... Wait for MicroPython comeback... Download MicroPython : 32 lines/665 characters. Begin to download programm... ------------------------------------------------------------------------- 0 1 2 3 4 5 6 7 8 9 >>>
You can see that after the above test , Download the corresponding program to OneOS On board , It can be executed correctly .
▲ chart 3.4.1 download MicroPython Program
utilize utilize CH340C Make MicroPython ESP8266,ESP32 The downloader - Improved Connect UART1 Corresponding REPL, test MicroPython REPL.
from seekfree import GPIO beep = GPIO(0x12, 1, 1) def delay(loop = 50000): for _ in range(loop): pass count = 0 for i in range(1000): beep.high() delay(20000) beep.low() delay(20000) print(i)
▲ chart 3.4.2 Running test results
set up Based on MM32F3277 Of MicroPython Test circuit , Downloaded from SeekFree Known MicroPython, Prove that it can complete normal use .
■ Links to related literature :
● Related chart Links :
MM32 MicroPython Small board development project Wendan :AD\MM32\TestMM32\TestMicroPythonMM32F3277.SchDoc ︎