程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Prepare the experimental platform for developing Book Embedded experimental program with micropython kernel

編輯:Python

Jane Medium : This paper gives a description of the data from FreeSeek The experimental board of is transformed to be able to adapt to SuYong Transplanted MicroPython The hardware interface of the development board . It mainly includes : from NANO On the board SWD Interface download MicroPython Program ; On the base plate REPL Serial port out . however , The final version requires SuYong take REPL Readjust the port to A9,A10 Talent .

key word MicroPython,MM32, Test board preparation

MicroPython download Objective record
Contents
Download conditions Software source Download hardware stay Nano On board
Download program
extraction REPL Interface Test the test board Schematic diagram of experimental board Annex information total junction

 

§01MicroPython download


Download conditions

1、 Software source

This is a SuYong The compiled version sent through wechat , It is stored in the following directory of the development computer :

D:\zhuoqing\DesignCenter\MM32\MicroPython\build-plus-f3270-20220429

2、 Download hardware

(1) Self made circuit board

Self made circuit is in the blog Design with SD Card MM32F3277 MicroPython Experiment board The experimental plate described in .

▲ chart 1.1.1 Self made with SD card MM32F3277 MicroPython Experiment board

Download process , Note the following :

  • On the left is SWD Download port ; On the right is REPL;
  • REPL: Connect ESP32 REPL Download the four leads in the middle of the board ;
  • SWD Download Board , The top one is +5V;

▲ chart 1.1.2 Download port

In order to adapt to the new version MicroPython, Change the crystal to 12MHz.

▲ chart 1.1.3 New version of the MicroPython The crystal needs to be replaced with 12MHz

After modifying the crystal , When powered on, you can STM32BL download 11500 The following is received at baud rate REPL Output information .

MicroPython v1.16 on 2022-04-29; PLUS-F3270 with MM32F3277G9P
Type "help()" for more information.
>>>

(2) Special experimental board

This experimental board comes from SeekFree Design and production of .

▲ chart 1.1.4 Nano The appearance of the test board

▲ chart 1.1.5 Nano Schematic diagram

▲ chart 1.1.6 Nano Schematic diagram

▲ chart 1.1.7 CPU Pin definition

3、 stay Nano Download the program from the board

utilize Nano The download port on completes the programming of its software .

(1) Port modification

▲ chart 1.1.8 Nano Upper SWD Interface

In the following order , Lower cover Header 5×2, formation PSWDI.

▲ chart 1.1.9 Change the download port to PSWDI

▲ chart 1.1.10 Download terminal actually made

(2) download MicroPython

▲ chart 1.1.11 MM32-LINK download MicroPython

4、 extraction REPL Interface

Directly from MM32F3273 Of B6,B7 Up lead out REPL(UART1) Interface .

REPL Pin definition :
PIN1:GND
PIN2:A10(RXD1)
PIN3:A9(TXD1)
PIN4:RST

▲ chart 1.1.12 REPL Pin definition

▲ chart 1.1.13 From the external interface on the backplane REPL

▲ chart 1.1.14 From base plate REPL Lead out the corresponding pin

After power on test , You can see REPL Information returned .

MicroPython v1.16 on 2022-04-29; PLUS-F3270 with MM32F3277G9P
Type "help()" for more information.
>>>

One 、 Test the test board

1、 Schematic diagram of experimental board














2、 Annex information

  • NANO-F3270 V1.2.0

  • PLUS_F3270 V1.2.0.0

 

※ total junction ※


Ben In this paper, the author gives a description of FreeSeek The experimental board of is transformed to be able to adapt to SuYong Transplanted MicroPython The hardware interface of the development board . It mainly includes :

  • from NANO On the board SWD Interface download MicroPython Program ;
  • On the base plate REPL Serial port out .

be based on A9,A10 REPL edition

however , The final version requires SuYong take REPL Readjust the port to A9,A10 Talent .

▲ chart 2.1 Configurable A9,A10

  • be based on A9,A10 REPL edition :

  • be based on B6,B7 REPL edition :

Program download

▲ chart 2.2 Use PWLink download MM32 Program


■ Links to related literature :

  • Design with SD Card MM32F3277 MicroPython Experiment board
  • ESP32 REPL Download the four leads in the middle of the board ;

● Related chart Links :

  • chart 1.1.1 Self made with SD card MM32F3277 MicroPython Experiment board
  • chart 1.1.2 Download port
  • chart 1.1.3 New version of the MicroPython The crystal needs to be replaced with 12MHz
  • chart 1.1.4 Nano The appearance of the test board
  • chart 1.1.5 Nano Schematic diagram
  • chart 1.1.6 Nano Schematic diagram
  • chart 1.1.7 CPU Pin definition
  • chart 1.1.8 Nano Upper SWD Interface
  • chart 1.1.9 Change the download port to PSWDI
  • chart 1.1.10 Download terminal actually made
  • chart 1.1.11 MM32-LINK download MicroPython
  • chart 1.1.12 REPL Pin definition
  • chart 1.1.13 From the external interface on the backplane REPL
  • chart 1.1.14 From base plate REPL Lead out the corresponding pin
  • chart 2.1 Configurable A9,A10

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved