Skip to content

Commit 3a11cfe

Browse files
committed
mimxrt: Some refinements to the docs.
- fix spelling errors - add a subtitle for transferring files
1 parent 89b8960 commit 3a11cfe

File tree

3 files changed

+29
-22
lines changed

3 files changed

+29
-22
lines changed

docs/mimxrt/general.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Supported MCUs
4949

5050
Note
5151
Most of the controllers do not have internal flash memory. Therefore
52-
their flash capacity is dependant on an external flash chip!
52+
their flash capacity is dependent on an external flash chip!
5353

5454
To make a generic MIMXRT port and support as many boards as possible the
5555
following design and implementation decision were made:
@@ -91,5 +91,5 @@ For your convenience, a few technical specifications are provided below:
9191
The lower numbers for UART, SPI and I2C apply to the i.MXRT 101x MCU.
9292

9393
For more information see the i.MXRT datasheets or reference manuals. NXP provides
94-
excellent software support trough it's SDK packages.
94+
excellent software support trough it's SDK packages.
9595

docs/mimxrt/quickref.rst

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ See :ref:`machine.UART <machine.UART>`. ::
128128
uart1.read(5) # read up to 5 bytes
129129

130130
The i.MXRT has up to eight hardware UARTs, but not every board exposes all
131-
TX and RX pins for users. The pin assignment of uarts to pins is fixed.
131+
TX and RX pins for users. The pin assignment of UARTs to pins is fixed.
132132
The UARTs are numbered 1..8. The rx/tx pins are assigned according to the
133133
table below:
134134

@@ -147,7 +147,7 @@ MIXMXRT1064-EVK D0/D1 D7/D6 D8/D9 A1/A0 - - -
147147
ADC (analog to digital conversion)
148148
----------------------------------
149149

150-
On the i.MXRT ADC functionality is available on Pins labelled 'Ann'.
150+
On the i.MXRT ADC functionality is available on Pins labeled 'Ann'.
151151

152152
Use the :ref:`machine.ADC <machine.ADC>` class::
153153

@@ -188,7 +188,7 @@ Software SPI (using bit-banging) works on all pins, and is accessed via the
188188
spi.write_readinto(b'1234', buf) # write to MOSI and read from MISO into the buffer
189189
spi.write_readinto(buf, buf) # write buf to MOSI and read MISO back into buf
190190

191-
The highest supported baudrate is 500000.
191+
The highest supported baud rate is 500000.
192192

193193
.. Warning::
194194
Currently *all* of ``sck``, ``mosi`` and ``miso`` *must* be specified when
@@ -227,8 +227,8 @@ has the same methods as software SPI above::
227227
Notes:
228228

229229
1. Even if the highest supported baud rate at the moment is 90 Mhz,
230-
setting a baudrate will not always result in exactly that
231-
frequency, especially at high baudrates.
230+
setting a baud rate will not always result in exactly that
231+
frequency, especially at high baud rates.
232232

233233
2. Sending at 90 MHz is possible, but in the tests receiving
234234
only worked up to 45 MHz.
@@ -281,7 +281,7 @@ has the same methods as software SPI above::
281281

282282
from machine import I2C
283283

284-
i2c = I"C(0, 400_000)
284+
i2c = I2C(0, 400_000)
285285
i2c.writeto(0x76, b"Hello World")
286286

287287
Real time clock (RTC)
@@ -296,9 +296,9 @@ See :ref:`machine.RTC <machine.RTC>` ::
296296
rtc.datetime() # get date and time
297297
rtc.now() # return date and time in CPython format.
298298

299-
The i.MXRT mcu supports battery backup of the RTC. By connecting a battery of 1.5-3.6V,
299+
The i.MXRT MCU supports battery backup of the RTC. By connecting a battery of 1.5-3.6V,
300300
time and date are maintained in the absence of the main power. The current drawn
301-
from the battery is ~20µA, which is rather high. A CR2032 coin cell would
301+
from the battery is ~20µA, which is rather high. A CR2032 coin cell will
302302
last for about one year.
303303

304304

@@ -366,6 +366,13 @@ The DHT driver is implemented in software and works on all pins::
366366
d.temperature() # eg. 23.6 (°C)
367367
d.humidity() # eg. 41.3 (% RH)
368368

369+
Be sure to have a 4.7k pull-up resistor on the data line. Some
370+
DHT module have that alreayd on their board.
369371

370-
See the MicroPython forum for other community-supported alternatives
371-
to transfer files to an i.MXRT board.
372+
Transferring files
373+
------------------
374+
375+
Files can be transferred to the i.MXRT for instance with the mpremote
376+
tool or using an SD card. See the MicroPython forum for other
377+
community-supported alternatives to transfer files to an i.MXRT board,
378+
like rshell or Thonny.

docs/mimxrt/tutorial/intro.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Requirements
1616
The first thing you need is a board with an i.MXRT chip. The MicroPython
1717
software supports the i.MXRT chip itself and any board should work. The main
1818
characteristic of a board is how the GPIO pins are connected to the outside
19-
world, and whether it includes a built-in USB-serial convertor to make the
19+
world, and whether it includes a built-in USB-serial converter to make the
2020
UART available to your PC.
2121

2222
Names of pins will be given in this tutorial using the chip names (eg GPIO2)
@@ -35,7 +35,7 @@ Getting the firmware
3535

3636
At the moment the MicroPython web site does not offer pre-built packages. So
3737
you have to build the firmware from the sources, as detailed in the README.md
38-
files of MicroPyton. The make procedure for the respecitive board will create
38+
files of MicroPyton. The make procedure for the respective board will create
3939
the firmware.bin or firmware.hex file.
4040

4141
Once firmware versions are provided by MicroPyhgton, you can download the
@@ -55,25 +55,25 @@ features, there are daily builds.
5555
Deploying the firmware
5656
----------------------
5757

58-
Once you have the MicroPython firmware you need to load it onto your i.MXRT device.
59-
The exact procedure for these steps is highly dependent on the particular board
60-
and you will need to refer to its documentation for details.
58+
Once you have the MicroPython firmware you need to load it onto your
59+
i.MXRT device. The exact procedure for these steps is highly dependent
60+
on the particular board and you will need to refer to its documentation
61+
for details.
6162

6263
For Teensy 4.0 and 4.1 you have to use the built-in loader together with the PC
6364
loader provided by PJRC. The built-in loader will be activated by pushing the
64-
button on the board. Then you can uload the firmware with the command:
65+
button on the board. Then you can upload the firmware with the command:
6566

6667
teensy_loader_cli --mcu=imxrt1062 -v -w firmware.hex
6768

68-
The IMXRT10xx-EVK have a second USB port connectted to a support MCU.
69+
The IMXRT10xx-EVK have a second USB port connected to a support MCU.
6970
Connecting that USB port to your PC will register
7071
a disk drive with the name of the board. Just copy the firmware.bin file to this
7172
drive. That will start the flashing procedure. You will know that the flash
7273
was complete, if that drive disappears and reappears.
7374
If you decided to install the very useful Segger open-SDA firmware on that
74-
sidekick MCU, then you have to use the debugger software to upload the IMXRT firmware.
75-
76-
75+
sidekick MCU, then you have to use the debugger software
76+
to upload the IMXRT firmware.
7777

7878
Serial prompt
7979
-------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy