Run micropathon on mm32f3273 to test performance

Zhuo Qing 2021-11-25 11:01:49
run micropathon mm32f3273 mm test

Jane Medium : By designing a simple test circuit , Verified MicroPython stay MM32F3273 Running on . It is preliminarily confirmed that it can run the transplanted MicroPython.

key word MM32F3273,MicroPython,STM32,Bootloader,ISP

 

§01 measuring Trial process


stay In the morning Design with SD Card MM32F3277 MicroPython Experiment board , Now prepare to test based on MM32F3273(LQFP-48) Run on a pin encapsulated circuit MicroPython System . this 5 slice MM32F32773273 The application was sent with the help of smart Su Yong .

One 、 Circuit board design

1、 Schematic diagram

▲ chart 1.1.1 Schematic diagram of test version

▲ chart 1.1.1 Schematic diagram of test version

2、PCB Design

The following is to realize the design of rapid plate making PCB chart .

▲ chart 1.1.2 A single chip used for rapid plate making PCB The design

▲ chart 1.1.2 A single chip used for rapid plate making PCB The design

3、 Welding fabrication

▲ chart 1.1.3 After one minute plate making , Then weld for testing

▲ chart 1.1.3 After one minute plate making , Then weld for testing

Two 、 download MicroPython

Use MM32-LINK, The future comes from smart MicroPython Download to MM32F3272 in .

1、 test MicroPython

(1) Test the crystal oscillator signal

Because it comes from MindMotion Of MicroPython Need to use an external high-frequency crystal oscillator , Therefore, the crystal oscillator signal should be measured after power on .

▲ chart 1.2.1 Crystal oscillator 8MHz Clock signal

▲ chart 1.2.1 Crystal oscillator 8MHz Clock signal

(2) measurement REPL The output signal

stay UART1 Of TX It should be possible to measure REPL Prompt signal given after power on . The following can be seen through the oscilloscope after power on UART1-TX Transmitted waveform . Prove it MicroPython Yes MM32F3272 It's up and running .

▲ chart 1.2.2 Measure after power on UART1-TX Transmitted waveform

▲ chart 1.2.2 Measure after power on UART1-TX Transmitted waveform

3、 ... and 、 test STM32 Boot-loader

MM32 Also has the UART-ISP function , So whether it can use STM32 Of UART-ISP Corresponding BootLoader Download the program ? So let's test that out .

** USBBT Link error 1.
** USBBT erase pages error ! 1

And that proves that ,MM32 Of UART-ISP And STM32 Of UART-ISP Not compatible .

 

§02 measuring try MicroPython


system Make a transfer interface , Test in MM32F3272G6P Running on MicroPython.

One 、 test LED

1、 Test code

from machine import Pin,UART
import utime
led = Pin('PB2', mode=Pin.OUT_PUSHPULL)
btn = Pin('PB8', mode=Pin.IN_PULLUP)
print("Test Pin In/Out.")
while True:
utime.sleep_ms(100)
led.low()
utime.sleep_ms(100)
led.high()

2、 test result

▲ chart 2.1 Running results

▲ chart 2.1 Running results

 

real Test summary ※


through Designed a simple test circuit , Verified MicroPython stay MM32F3273 Running on . It is preliminarily confirmed that it can run the transplanted MicroPython.

■ follow-up work

Ⅰ. Supplementary production of experimental circuit board

stay be based on MM32F3273 Of MicroPython Experimental circuit board - Work is not normal , The specific reason is not clear .


■ Links to related literature :

● Related chart Links :

版权声明
本文为[Zhuo Qing]所创,转载请带上原文链接,感谢
https://pythonmana.com/2021/11/20211109010513836m.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