summaryrefslogtreecommitdiff
path: root/ports/mimxrt10xx/common-hal/busio
AgeCommit message (Collapse)Author
2021-03-31mimxrt10xx: Fix bogus assertion.Jeff Epler
.. as noted by @d-c-d
2021-03-30mimxrt1011: UART: Add additional error checkingJeff Epler
.. and make the 'invalid pin' messages standard. Closes #4502
2021-03-26Parenthesize double-division for clarityJeff Epler
2021-03-26mimxrt10xx: Use the proper "betweenTransferDelay" (et al) valuesJeff 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-26mimxrt10xx: 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-26mimxrt10xx: busio: cap SPI baudrate at 30MHz per datasheetJeff Epler
2021-03-24mimxrt: SPI: Set the TCR value returned by MasterBaudSetRateJeff 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-15run code formatting scriptmicroDev
2021-02-25implement suggested changesmicroDev
- add internal buffering - rtc initialization fix
2021-02-07adds: maximum retries on SPI busyPhilip Jander
2021-02-07chore: whitespace fixedPhilip Jander
2021-02-07adds: idle loop to wait for SPI not busy (mimxrt10xx)Philip Jander
2021-02-03Initial commit. Edited error messages in .c filesBiffoBear
2020-12-28update common_hal_reset_pin()microDev
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-06-24Compiles!Scott Shawcroft
2020-06-24Add UART supportScott Shawcroft
2020-06-03Fix 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-27Merge branch 'mimxrt-uart-oneway' into mimxrt-busio-cleanupLucian Copeland
2020-05-27translationsLucian Copeland
2020-05-27Change exception text and typeLucian Copeland
2020-05-27Add pin resetting across boards, fix array size detection issueLucian Copeland
2020-05-26mimxrt10xx: Change exception type to match other portsarturo182
2020-05-22Minor style changes and translationsLucian Copeland
2020-05-20Add UART one-way instance search, fix bugs in stm32 implementationLucian Copeland
2020-05-18Merge pull request #2837 from k0d/serial-debugScott Shawcroft
Add support for a debug console, such as ST-Link VCP.
2020-05-19Enable showing the console on a debug uartMark Olsson
2020-05-18mimxrt1010: Increase max SPI speedarturo182
2020-05-06Merge pull request #2841 from hierophect/mimxrt-spi-onewayScott Shawcroft
mimxrt10xx: add one-directional SPI
2020-05-05text fixes, postpone warning disableLucian Copeland
2020-05-01Add-unidirectional-SPILucian Copeland
2020-04-21ringbuf testedDan Halbert
2020-04-21further ringbuf cleanupDan Halbert
2020-04-06mimxrt1011: Only re-init SPI when it's actually neededarturo182
If some crazy code (*cough* FourWire) decides to reconfigure the bus before every transfer, it might get a bit slow...
2020-03-26mimxrt10xx: Return proper UART read length when everything was readarturo182
2020-02-28new pin validation routines; don't use mp_const_none if NULL will doDan Halbert
2020-02-27Fix I2C clock dividerDave Marples
2020-02-26Fix SPI clock speed on mimxrt10xx family & mimxrt1020 pinmux fixupDave Marples
2020-02-19Edits as a result of reviewDave Marples
2020-02-18Addition of RS485 supportDave Marples
2020-02-18Addition of RTS/CTS/RS485 UART functionalityDave Marples
2020-01-10add flag to i.mx portDan Halbert
2020-01-06Add initial MIMXRT10XX portarturo182