Skip to content

MCP23S17 too slow #4

@robertspil

Description

@robertspil

Before and after each change of the pin_cs ( Chip Select pin ) there is a sleep_ms(1)
The SPI specifications for the MCP23S17 have some time delays for the CS signal, no more than 100 ns.
I use this code with a Raspberry Pico, WITHOUT any sleep, with a big performance increase .
Maybe a sleep of one microsecond may be safe for a very fast processor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions