Skip to content

Support for SAM E53 family of devices #3839

Closed

Description

@tohox

Board / MCU

Other

LED Chipset

WS2811

FastLED Version

3.10.15

Arduino / PlatformIO version

2.3.10

Operating System

Windows

Description

Not strictly a bug but I don't want to create a formal feature request as this device family is not very popular as far as I can tell.

I'm trying to use Fastled with Teknic's Clearcore industrial controller which is based on the SAME53N19A but it is not currently supported.

Since the SAMD21, SAMD51 and apparently some SAME51 devices are currently supported by Fastled and since these devices are quite similar to the SAME53, I first tried adding some || defined(SAME53N19A) whenever I encountered some issues (in platforms.h, is_arm.h and led_sysdefs.h to name a few) and by reusing the existing SAMD51 code I got pretty far. I'm now stuck with a series of errors similar to this:
\FastLED\src/fl/system/pin.cpp.hpp:52:16: error: 'digitalWrite' is not a member of 'fl::platforms'

My understanding is that Fastled redefines many of the standard Arduino methods pertaining to IO pins such as pinMode(). digitalWrite(), digitalRead() etc. depending on the platform in order to optimize use of the IO but I have no idea how I can get around this issue in order to adapt the existing code to work with the SAME53 family of devices.

Any help much appreciated!

Steps to reproduce

  • install Teknic Clearcore v1.7.1 board from Arduino board manager
  • install Fastled 3.10.15 from from Arduino library manager
  • open Fastled blink example and compile

Minimal sketch

Serial / debug output

Checklist

  • I have searched existing issues for duplicates
  • I have tested with the latest FastLED release or git master
  • I can reproduce this with a minimal sketch

Activity

  1. added
    status: triage
    type: bug
    on Aug 3, 2026
  2. zackees commented on Aug 21, 2026

    @zackees
    Member

    Burn-down disposition: DEFER. No merged implementation or linked PR resolves this on current master, and this is not a safe one-line SAMD51 alias.

    Two-pass evidence:

    • FastLED recognizes SAMD51/SAME51, but not Teknic ClearCore's __SAME53N19A__ / ARDUINO_ARCH_SAM identity across the platform, sysdefs, ARM/SAMD traits, pin, and channel-dispatch layers.
    • The D51 clockless driver requires a valid compile-time FastPin<DATA_PIN>::port() and mask.
    • ClearCore connector IDs (IO0?IO5) explicitly do not map directly to MCU pins; some connectors are mediated, analog, or H-bridge outputs. The core does not supply standard Arduino pin-map macros or ClearCore FastPin specializations.
    • Treating SAME53 as SAMD51 would only bypass the first fl::platforms::digitalWrite failure and could address the wrong hardware.

    Restart criteria:

    1. A contributor with ClearCore hardware defines the electrically safe connector subset and maps those connectors to the actual SAME53 PORT registers, or designs a dedicated output backend.
    2. Add coherent SAME53/ClearCore detection across platform traits, sysdefs, pin selection, and channel initialization.
    3. Add Teknic core 1.7.4 to a focused compile fixture and prove a representative FastLED sketch.
    4. Validate WS281x waveform timing and connector electrical safety on real ClearCore hardware before claiming family support.

    No speculative pin mapping or fabricated vendor register shim was added.

  3. added
    deferred
    platform: samd
    status: blocked
    on Aug 21, 2026
  4. moved this from Triage to Done in FastLED Trackeron Aug 21, 2026
  5. zackees commented on Aug 21, 2026

    @zackees
    Member

    This is by no means finished ClearCore support. What we have now is compile-only coverage backed by a real ClearCore/SAME53 build workflow and a persistent build badge:

    https://github.com/FastLED/FastLED/actions/workflows/build_clearcore.yml

    The badge gives us an ongoing signal and ensures the target fails visibly if compile support regresses or is missing. It does not yet claim complete pin coverage, hardware timing validation, or full runtime support. We’ll keep ClearCore on our radar and continue improving the port as hardware validation and additional use cases become available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredplatform: samdstatus: blockedstatus: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions