Skip to content

espp SPI driver #615

@ntremble-sst

Description

@ntremble-sst

Is your feature request related to a problem?

Espp has an I2C driver referenced via i2c.hpp, see for example the ICM42607 example project, and the actual component espp/i2c.

The espp/base_peripheral already claims to support I2C and SPI/SSI:

"It is primarily designed to be used as a base class for peripheral classes that communicate using I2C (address-based) or SPI/SSI (CS-based) protocols."

but I cannot locate any SPI equivalent to espp/i2c.

I am working on a product containing an ICM42670P IMU which is SPI connected. The espp/icm42607 driver looks interesting, but it is for an I2C connected device.

Describe the solution you'd like.

I would like to be able to use code simliar to the ICM42607 example to communcate with an ICM42670P IMU over SPI at 20MHz.

It seems that the only thing preventing this is the missing espp/spi component. I would like this component to be made available and officially supported.

Do you have any plans in the near term to implement an SPI driver for this framework?

I am using IDF 6.1.0 at this point, though that is flexible.

Describe alternatives you've considered.

I could create my own modeled on espp/i2c, after all I do not require the CLI interface etc. but I would prefer to use an officially supported version.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions