Making and testing mm32f3277 microphoton minimum circuit board

Zhuo Qing 2021-11-25 11:10:35
making testing mm32f3277 mm microphoton

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

 

§01 ginseng Test design


One 、 Design background

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 .

Two 、 Reference design

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

▲ 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.2 OneOS Debugging interface in the core board

▲ chart 1.2.3 Fly by fly MM32F3277 Minimum motherboard debugging interface

▲ 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 1.2.4 MicroPython UART Corresponding MM32F3277 Of UART3

3、 ... and 、 Minimum board output resources

1、 Basic system

  • Power Supply ;
  • RST;
  • BOOT0;

2、UART1,3 Output

  • UART1;
  • UART3;

 

§02 measuring Test the circuit board


One 、 Circuit design and manufacture 1

1、 Schematic diagram

▲ chart 2.1.1 Schematic diagram of test circuit board

▲ chart 2.1.1 Schematic diagram of test circuit board

2、 Rapid plate making PCB

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.2 Fast plate making single-sided circuit board design

▲ chart 2.1.3 The test circuit board obtained after one minute

▲ chart 2.1.3 The test circuit board obtained after one minute

3、 Welding test

(1) Solder circuit board

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

▲ chart 2.1.4 Test circuit board after welding

(2) Preliminary power on test

exert +5V voltage , At (AS1117-3.3)PIN2 measurement 3.29V. The operating current is approximately 6mA .

(3) Test clock signal

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

▲ chart 2.1.5 After the crystal is soldered off, the chip can still work normally

 

§03 Next load MicroPython


One 、 Read MicroPython Program

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.1 Use 5PIN Read SeekFree The program in the smallest core board

▲ chart 3.1.2 Read MicroPython Program

▲ chart 3.1.2 Read MicroPython Program

Store the read program in :SeeFreeMP.HEX.

Two 、 test MicroPython

1、 download MicroPython

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

▲ 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

▲ chart 3.2.2 Select serial port as CH340

2、 test MicroPython

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 .

(1) The test program

utilize OneOS The buzzer on the beta ( be located B5), test MicroPython For its operation .

▲ chart 3.2.3 OneOS The buzzer on the

▲ 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)

(2) test result

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
>>>

◎ test result

You can see that after the above test , Download the corresponding program to OneOS On board , It can be executed correctly .

3、 ... and 、 Test circuit board download MicroPython

1、 download MicroPython

▲ chart 3.4.1 download MicroPython Program

▲ chart 3.4.1 download MicroPython Program

2、 test MicroPython

utilize utilize CH340C Make MicroPython ESP8266,ESP32 The downloader - Improved Connect UART1 Corresponding REPL, test MicroPython REPL.

(1) Test code

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)

(2) test result

▲ chart 3.4.2 Running test results

▲ chart 3.4.2 Running test results

 

measuring Try to summarize ※


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 :


  1. MM32 MicroPython Small board development project Wendan :AD\MM32\TestMM32\TestMicroPythonMM32F3277.SchDoc

版权声明
本文为[Zhuo Qing]所创,转载请带上原文链接,感谢
https://pythonmana.com/2021/11/20211109010513854V.html

  1. Python basic syntax -- Boolean operation, break, continue, pass
  2. Python basic syntax -- loop
  3. Python first experience - efficient office, data analysis, crawler
  4. Modulenotfounderror: no module named 'Django summernote details
  5. Key points for Django to make personal blog website
  6. Path setting of templates in Django settings
  7. Leetcode 1611. Minimum one bit operations to make integers Zero (Python)
  8. Directory C: \ users \ a \ desktop \ Django_ The blog master is registered as the GIT root, but no git repository details are found there
  9. Django. Core. Exceptions. Improveconfigured: application labels aren't unique, duplicates: admin
  10. How to verify that Django has created the project details correctly
  11. How to create a database when using Django to construct a website
  12. The solution of using Django framework to create project in Windows system
  13. Running Python virtual environment on win10 system to execute ll_ Env \ scripts \ activate: unable to load file elaboration scheme
  14. Detailed explanation of constructing virtual environment with Django in Python 3
  15. Python implementation of affine cipher
  16. RC4 Python implementation
  17. Simple: Python_ Automatic body temperature clock
  18. 用python把两个csv中的日期的列提出年,做出新的一列,再把两个csv表格按照新做出的日期这列和ID号合并为一个表。
  19. python中类实例化后,其对象无法被其他模块调用方法
  20. [JSON] - Python creates JSON file format
  21. Utilisez Python pour proposer l'année de la colonne de date dans les deux CSV, faire une nouvelle colonne, puis combiner les deux tableaux CSV en un seul tableau avec la colonne de date et le numéro d'identification.
  22. 关于#python#的问题,请各位专家解答!
  23. ***
  24. ***
  25. 關於#python#的問題,請各比特專家解答!
  26. S'il vous plaît répondre aux questions de Python!
  27. About the import of Python class
  28. Magic Python property decorator: 1 line of code makes Python methods become properties in seconds
  29. Python 音频调整音量(附代码) | Python工具
  30. Python programming ideas [series of articles]
  31. Python crawler programming idea (67): modify nodes using pyquery
  32. Python crawler programming idea (66): using pyquery to obtain node information
  33. Python crawler programming idea (65): find nodes using pyquery
  34. Python crawler programming idea (64): using CSS selectors in pyquery
  35. Python crawler programming idea (63): basic knowledge of pyquery
  36. Python crawler programming idea (62): project practice: capturing cool dog online red song list
  37. Python crawler programming idea (61): project practice: capturing rental information
  38. Python crawler programming idea (60): get CSS selector code through browser
  39. Python爬虫编程思想(85):在Python中使用非关系型数据库
  40. Volume de réglage audio Python (avec Code) | outils Python
  41. Python crawler programming idea (59): get attribute value and text with beautiful soup CSS selector
  42. Python crawler programming idea (58): nested selection nodes with beautiful soup CSS selectors
  43. Python crawler programming idea (57): basic usage of CSS selector in beautiful soup
  44. Python crawler programming idea (56): find method of beautiful soup method selector
  45. Python crawler programming idea (55): find of beautiful soup method selector_ All method
  46. Python crawler programming idea (54): use beautiful soup to select sibling nodes
  47. Python crawler programming idea (53): use beautiful soup to select the parent node
  48. Django3.0 solves the problem of error reporting in reverse parsing
  49. Precautions for Python crawler
  50. Python 3 crawler series (1) -- climbing blind date websites
  51. Python到底是什么?为什么要学Python?
  52. #yyds干货盘点#Pandas数据清洗实用指南
  53. Python打包exe文件无法运行
  54. Two common ways to save files in Python
  55. #yyds幹貨盤點#Pandas數據清洗實用指南
  56. Yyds Dry Inventory pandas Data Cleaning Practical Guide
  57. PYTHON用LSTM长短期记忆神经网络的参数优化方法预测时间序列洗发水销售数据
  58. Python集成学习:自己编写构建AdaBoost分类模型可视化决策边界及sklearn包调用比较
  59. Python 3 makes a search software
  60. Python 3 simulated microblog login