Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Description fix] spi.rs DMA support description #458

Closed
xiaguangbo opened this issue Jul 15, 2024 · 3 comments
Closed

[Description fix] spi.rs DMA support description #458

xiaguangbo opened this issue Jul 15, 2024 · 3 comments

Comments

@xiaguangbo
Copy link
Contributor

DMA 'N' need change to 'Y'?

//! Look at the following table to determine which driver best suits your requirements:
//!
//! |   |                  | SpiDeviceDriver::new | SpiDeviceDriver::new (no CS) | SpiSoftCsDeviceDriver::new | SpiBusDriver::new |
//! |---|------------------|----------------------|------------------------------|----------------------------|-------------------|
//! |   | Managed CS       |       Hardware       |              N               |     Software triggered     |         N         |
//! |   | 1 device         |           Y          |              Y               |              Y             |         Y         |
//! |   | 1-3 devices      |           Y          |              N               |              Y             |         N         |
//! |   | 4-6 devices      |    Only on esp32CX   |              N               |              Y             |         N         |
//! |   | More than 6      |           N          |              N               |              Y             |         N         |
//! |   | DMA              |           N          |              N               |              N             |         N         |
//! |   | Polling transmit |           Y          |              Y               |              Y             |         Y         |
//! |   | ISR transmit     |           Y          |              Y               |              Y             |         Y         |
//! |   | Async support*   |           Y          |              Y               |              Y             |         Y         |
//!
//! * True non-blocking async possible only when all devices attached to the SPI bus are used in async mode (i.e. calling methods `xxx_async()`

@Vollbrecht
Copy link
Collaborator

yes that is wrong. The spi driver internally handles all the dma stuff it the user sets to use one of the dma channels. Do you want to update it?

@xiaguangbo
Copy link
Contributor Author

yes that is wrong. The spi driver internally handles all the dma stuff it the user sets to use one of the dma channels. Do you want to update it?

Yes.

@xiaguangbo
Copy link
Contributor Author

@Vollbrecht #462

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants