Recent content by tannewt

  1. T

    Setting clock frequency in CircuitPython

    mjs513 has added settable clock frequency to CircuitPython for Teensy 4.x: https://github.com/adafruit/circuitpython/pull/6279
  2. T

    CircuitPython on Teensy 4!

    Also, for those following the discussion about changing the clock speed. The functionality was merged into CircuitPython main: https://github.com/adafruit/circuitpython/pull/6279
  3. T

    CircuitPython on Teensy 4!

    To be clear, CircuitPython has integrated changes from MicroPython since the original fork. We are currently up to date with the latest release, 1.18. This means the Python VM is almost identical between the two. This doesn't impact iMX port specific stuff though because our iMX ports were...
  4. T

    Raspberry Pi Pico

    Yup! I think the example is here: https://github.com/raspberrypi/pico-extras/
  5. T

    Raspberry Pi Pico

    CircuitPython on the Pico can do I2S. That may be enough for the Teensy Audio board.
  6. T

    CircuitPython on Teensy 4!

    Most development of CircuitPython is funded by Adafruit. (I'm paid full-time to work on CircuitPython for them. A couple others are paid as well.) That means we focus on adding support for Adafruit boards and many of them have the SAMD21. Adafruit doesn't currently make any iMX RT boards so they...
  7. T

    CircuitPython on Teensy 4!

    Not much has happened recently. Most focus has been on the ESP32-S2 and RP2040. We (Adafruit) do have a design of a metro with an iMX RT on it so we'll be revisiting iMX RT support when that launches. We'll at least make sure what we have now is solid. It's hard to know what additional work will...
  8. T

    Raspberry Pi Pico

    Right now we only use one core. MicroPython does allow both through the thread api I think. I’m thinking about treating the second core more like a pio state machine. Plenty to do before we use the second core.
  9. T

    Raspberry Pi Pico

    Each of the 8 PWM slices have two channels for output. They share a divisor so they'll share frequency but have separate compare registers. So, 16 is fair I think. I've had a couple RP2040s for a month or so and we have preliminary CircuitPython support (merged today!) You can get it here...
  10. T

    CircuitPython on Teensy 4!

    Thank you! My guess is the slight perf hit to OCRAM will cause any test that uses the heap to be a bit slower than the hacked version. This version works with USB though. :-)
  11. T

    CircuitPython on Teensy 4!

    Hi all, just wanted to mention I did a bit of work on the iMX RT in CircuitPython. In particular, I reworked how flash is configured (we now share config with the bootrom) and I enabled the DCache (but turning off OCRAM caching). These changes are in the latest unstable release, 6.0.0 Release...
  12. T

    CircuitPython on Teensy 4!

    CircuitPython does try to set them here: https://github.com/adafruit/circuitpython/blob/main/ports/mimxrt10xx/supervisor/port.c#L119 The setup is primarily for the 1011 so we may want to tweak it for the larger chips.
  13. T

    Teensy 4.1 PWM on D13 Invalid

    Generally, we add functionality at the module boundary and the circuitpython.org page lists the available modules under the version: https://circuitpython.org/board/teensy40/ Unfortunately, `analogio` is in an in-between state because AnalogIn is implemented but AnalogOut isn't. The best way to...
  14. T

    Teensy 4.1 PWM on D13 Invalid

    Yup, this sounds like a bug that we haven't implemented QuadTimer support. Would you mind filing an issue here? https://github.com/adafruit/circuitpython/issues/new Thanks!
  15. T

    CircuitPython on Teensy 4!

    Hi! Thanks for the interest in CircuitPython. I've answered each of your questions below. I also want to remind folks that Teensy support isn't a focus for Adafruit folks who work on CircuitPython. The features we add for the iMX RT benefit Teensy but aren't driven by the goal of supporting...
Back
Top