| Age | Commit message (Collapse) | Author |
|
of the Nordic specific term 'soft device'
|
|
mimxrt1011: pwmio: Enable basic PWMOut functionality
|
|
Changed some pins for TinyS2
|
|
1. Allow for ctrl-c during a write.
2. Handle disconnects when acting as a client.
|
|
|
|
|
|
|
|
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.
|
|
|
|
Fix central pairing and crash on clear
|
|
The list_clear would crash if we tried to clear a NULL list. (It
can happen if we haven't tried to discover any services.)
|
|
mimxrt10xx: Fix bogus assertion.
|
|
This allows more options to be overridden to 0 in an mpconfigboard.mk.
Improved:
* FRAMEBUFFERIO, FULL_BUILD, BITOPS, PWMIO, RGBMATRIX, OTARYIO, PULSEIO, WATCHDOG
Still problematic (pull requests welcome):
* RP2PIO & NEOPIXEL_WRITE, possibly only if a status neopixel is defined
* BITBANGIO, possibly only if BUSIO is enabled
* RTC
Incidentally, with RP2PIO & NEOPIXEL_WRITE, BITBANGIO, and RTC re-enabled I get
```
323956 bytes used, 720524 bytes free in flash firmware space out of 1044480 bytes (1020.0kB).
12072 bytes used, 250072 bytes free in ram for stack and heap out of 262144 bytes (256.0kB).
```
Closes #4515
|
|
.. as noted by @d-c-d
|
|
.. and make the 'invalid pin' messages standard.
Closes #4502
|
|
Calculate RP2040 SDA hold time
|
|
[ure] to save space, disable debug dumps by default
|
|
|
|
remove duplicate RX/TX pin lines
|
|
Length RP2040 I2C SDA hold time
|
|
|
|
Has to stay enabled in unix port for the sake of tests/extmod/ure_debug.py
|
|
|
|
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)
|
|
.. and set the "MasterPcsContinuous" flag, which removes some of the
gap between bytes of a single SPI transaction
|
|
.. so that it is more conveniently like the metro m7 for my testing
|
|
|
|
RP2040: Remove short-write bitbang from I2C
|
|
|
|
|
|
mimxrt: SPI: Set the TCR value returned by MasterBaudSetRate
|
|
This hopefully fixes linking on Windows with cmd.exe
|
|
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.
|
|
|
|
Switch RP2040 flash settings to nvm.toml
|
|
swap recvfrom_into() port byte-order
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adventure together with rotary trinkey
|
|
|
|
|
|
mimxrt1011: Fix reset-to-bootloader
|
|
imxrt1010_evk: Delete pins that are not connected
|
|
metro m7: another place to fix flash capacity
|
|
There are DNP resistors on the MIMXRT1010-EVK board (see SCH-45852)
that lead to these pins on the arduino-style header not being connected
through. In theory someone could populate them, but as it the presence
of these names in the pins module caused problems when they didn't work
as expected.
Closes #3012
|
|
The definition of DBL_TAP_REG must match tinyuf2
|