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

An attempt to use DMA on DAC on L476 panics #102

Open
mbq opened this issue May 3, 2024 · 2 comments
Open

An attempt to use DMA on DAC on L476 panics #102

mbq opened this issue May 3, 2024 · 2 comments

Comments

@mbq
Copy link

mbq commented May 3, 2024

Hello,
I'm attempting to writing something like waveform_generator.rs for L476; unfortunately an attempt to use write_dma() ends up in panic:

ERROR panicked at [...]/stm32-hal2-1.8.2/src/dma.rs:304:18:
not implemented

Apparently the channel selection for dac is just commented out there...

@David-OConnor
Copy link
Owner

I just pushed a commit that should fix this.

@mbq
Copy link
Author

mbq commented May 6, 2024

Thanks; now the panic is gone, however the DMA seem to do nothing (DAC output stays at 0), while direct writes with write_voltage() work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants