Skip to content

spi: would be nice to have an LSBFIRST flag, like arduino #775

@jepler

Description

@jepler

e.g., in arduino code you can write SPI.beginTransaction(SPISettings(SPIRate, LSBFIRST, SPI_MODE0)); but there seems to be no equivalent in CP. A new kw-only parameter to SPI.configure could add this capability backward-compatibly.

This flag would be useful for controlling AD9850-family DDCs from CP; right now it looks like the manual bitswapping coded in Python is a main limitation of the update rate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions