| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-01 | mimxrt1011: pwmout: Add prescaler, fix duty_cycle=65535 | Jeff Epler | |
| 2021-04-01 | mimxrt1011: pwmio: Enable basic PWMOut functionality | Jeff Epler | |
| After this change, the following program works for me on the MIMXRT1010-EVK: ```python import pwmio import board p = pwmio.PWMOut(board.D13, frequency=1_000_000, variable_frequency=True) p.duty_cycle = 32868 while True: pass ``` Querying and varying the duty_cycle and frequency work as well. The lowest frequency obtainable is about 2kHz; there is an additional divider which would allow lower PWM frequencies (I think 1kHz is important for servos?) Something odd happens with very low duty cycles, such as ```python >>> p.frequency = 2000 >>> p.duty_cycle = 2 ``` instead of a symmetrical waveform, it's asymmetrical. With `duty_cycle=4`, the effect disappears. The reason for this is probably hidden in the datasheet, but could affect servos or other things that count pulse widths. | |||
| 2021-03-31 | mimxrt10xx: Fix bogus assertion. | Jeff Epler | |
| .. as noted by @d-c-d | |||
| 2021-03-30 | mimxrt1011: UART: Add additional error checking | Jeff Epler | |
| .. and make the 'invalid pin' messages standard. Closes #4502 | |||
| 2021-03-26 | Parenthesize double-division for clarity | Jeff Epler | |
| 2021-03-26 | mimxrt10xx: Use the proper "betweenTransferDelay" (et al) values | Jeff Epler | |
| Set the betweenTransferDelay to the SCK low-time, to avoid long pauses between bytes (transfers) while preventing the last SCK cycle in a byte from being a runt pulse. Compared to an earlier revision of this change, which just set the delays all to zero, this doesn't break using an AirLift, which was sensitive to the runt pulses (the simple loopback-wire test didn't detect the problem) | |||
| 2021-03-26 | mimxrt10xx: Factor out "transfer_common" | Jeff Epler | |
| .. and set the "MasterPcsContinuous" flag, which removes some of the gap between bytes of a single SPI transaction | |||
| 2021-03-26 | mimxrt10xx: busio: cap SPI baudrate at 30MHz per datasheet | Jeff Epler | |
| 2021-03-24 | mimxrt: SPI: Set the TCR value returned by MasterBaudSetRate | Jeff Epler | |
| without this, the baud rate could be wrong; in my testing, it was low by a factor of 2 when requesating baudrate=1_000_000 (1MHz). When passing the baudrate in to LPSPI_MasterInit, the setting is made automatically, but LPSPI_MAster_SetBaudRate just returns it via the out-parameter tcrPrescaleValue. | |||
| 2021-03-19 | mimxrt1011: Fix reset-to-bootloader | Jeff Epler | |
| The definition of DBL_TAP_REG must match tinyuf2 | |||
| 2021-03-16 | Formatting fixes | gamblor21 | |
| 2021-03-15 | Merge branch 'main' into rp_dp_parallel | Mark | |
| 2021-03-15 | run code formatting script | microDev | |
| 2021-03-11 | Add frequency support to parallel bus | gamblor21 | |
| 2021-02-25 | Merge remote-tracking branch 'adafruit/main' into busio-uart-rp | Scott Shawcroft | |
| 2021-02-25 | implement suggested changes | microDev | |
| - add internal buffering - rtc initialization fix | |||
| 2021-02-11 | merge from upstream; complicated webusb merge | Dan Halbert | |
| 2021-02-07 | adds: maximum retries on SPI busy | Philip Jander | |
| 2021-02-07 | chore: whitespace fixed | Philip Jander | |
| 2021-02-07 | adds: idle loop to wait for SPI not busy (mimxrt10xx) | Philip Jander | |
| 2021-02-03 | Initial commit. Edited error messages in .c files | BiffoBear | |
| 2020-12-28 | update common_hal_reset_pin() | microDev | |
| 2020-12-01 | address review comments | Dan Halbert | |
| 2020-11-26 | deep sleep working; deep sleep delay when connected | Dan Halbert | |
| 2020-11-22 | wip | Dan Halbert | |
| 2020-11-21 | wip: ResetReason to microcontroller.cpu | Dan Halbert | |
| 2020-11-16 | Merge remote-tracking branch 'adafruit/main' into sleep | Dan Halbert | |
| 2020-11-13 | Update parallel bus signatures | Scott Shawcroft | |
| 2020-10-27 | Add check for invalid io, function to disable all alarms | microDev | |
| 2020-10-27 | Add description of alarm modules | microDev | |
| 2020-08-21 | Fix copy pasta and stub build | Scott Shawcroft | |
| 2020-08-21 | Merge remote-tracking branch 'adafruit/main' into add_pwmio | Scott Shawcroft | |
| 2020-08-18 | Split pulseio.PWMOut into pwmio | Scott Shawcroft | |
| This gives us better granularity when implementing new ports because PWMOut is commonly implemented before PulseIn and PulseOut. Fixes #3211 | |||
| 2020-08-14 | Expand PulseOut API, debug cleanup | Lucian Copeland | |
| 2020-08-04 | "pop from empty %q" | Jeff Epler | |
| Saves 12 bytes code on trinket m0 | |||
| 2020-08-04 | Combine 'index out of range' messages | Jeff Epler | |
| 2020-08-04 | Combine similar strings to reduce size of translations | Jeff Epler | |
| This is a slight trade-off with code size, in places where a "_varg" mp_raise variant is now used. The net savings on trinket_m0 is just 32 bytes. It also means that the translation will include the original English text, and cannot be translated. These are usually names of Python types such as int, set, or dict or special values such as "inf" or "Nan". | |||
| 2020-07-15 | supervisor: factor supervisor_background_tasks from sundry ports | Jeff Epler | |
| 2020-07-06 | Add license to some obvious files. | Diego Elio Pettenò | |
| 2020-06-24 | Compiles! | Scott Shawcroft | |
| 2020-06-24 | Add UART support | Scott Shawcroft | |
| 2020-06-03 | Fix up end of file and trailing whitespace. | Diego Elio Pettenò | |
| This can be enforced by pre-commit, but correct it separately to make it easier to review. | |||
| 2020-05-27 | Merge branch 'mimxrt-uart-oneway' into mimxrt-busio-cleanup | Lucian Copeland | |
| 2020-05-27 | translations | Lucian Copeland | |
| 2020-05-27 | Merge branch 'mimxrt-uart-oneway' of ↵ | Lucian Copeland | |
| https://github.com/hierophect/circuitpython into mimxrt-uart-oneway | |||
| 2020-05-27 | Change exception text and type | Lucian Copeland | |
| 2020-05-27 | Add pin resetting across boards, fix array size detection issue | Lucian Copeland | |
| 2020-05-27 | Merge pull request #2961 from arturo182/i2c-exception | arturo182 | |
| mimxrt10xx: Change exception type to match other ports | |||
| 2020-05-26 | mimxrt10xx: Change exception type to match other ports | arturo182 | |
| 2020-05-22 | Merge remote-tracking branch 'upstream/master' into mimxrt-busio-cleanup | Lucian Copeland | |
