Nathan Young
8221a12cf6
Added support for specifying the JMP pin (RP2 PIO)
2021-07-22 18:39:04 +02:00
Ben Clifford
5c835adb10
Correct pull-down direction in parameter documentation for rp2pio
2021-06-09 20:39:56 +00:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod
2021-05-05 17:51:52 -07:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
Jeff Epler
7fb751808f
raspberrypi: Implement ParallelImageCapture using PIO
...
.. based on code from Phil B.
2021-04-22 12:02:51 -05:00
Scott Shawcroft
71eabe814c
Update StateMachine.c
2021-04-05 16:17:08 -07:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Jeff Epler
ff62b0d2c0
StateMachine: Add pull up/down for inputs
2021-03-04 11:26:29 -06:00
Jeff Epler
68ac14b309
StateMachine: Add in_available property
...
I named the property `in_available` because it is similar to pyserial.
However, it indicates the number of words in the fifo, not the number
of bytes.
2021-03-04 11:14:09 -06:00
Dan Halbert
f41fb6fafc
Apply suggestions from code review
...
copyediting
2021-03-02 12:01:50 -05:00
Jonny Bergdahl
f7eac46c78
Update StateMachine.c
...
Changed woring to use max instead
2021-02-27 00:07:30 +01:00
Scott Shawcroft
360475e266
Implement audiobusio and enhance PIO for it
...
This adds I2SOut and PDMIn support via PIO.
StateMachines can now:
* read and read while writing
* transfer in 1, 2 or 4 byte increments
* init pins based on expected defaults automatically
* be stopped and restarted
* rxfifo can be cleared and rxstalls detected (good for tracking when
the reading code isn't keeping up)
Fixes #4162
2021-02-23 15:50:00 -08:00
Jason Nichols
ae262cde55
Fix maximum PIO instructions
2021-02-06 10:54:25 -05:00
Scott Shawcroft
b47fd08b20
copy editing
2021-01-21 10:17:40 -08:00
Scott Shawcroft
b0f7fd933f
type fix
2021-01-20 23:33:00 -08:00
Scott Shawcroft
733094aead
Add initial RP2040 support
...
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.
Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00