Skip to content

Make the specified baudrate for busio.SPI be a ceiling, not an approximation #11079

Description

@dhalbert

Motivated by #11078.

Fix SPI baudrate setting so that the given baudrate is a ceiling for the actual rate. Don't allow the baudrate to be higher. The documentation current says it could be higher or lower, but this causes problems when a higher rate is too high for the attached peripheral.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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