mtthw-meyer / libdaisy-rust Goto Github PK
View Code? Open in Web Editor NEWHardware Abstraction Layer implementation for Daisy boards
License: MIT License
Hardware Abstraction Layer implementation for Daisy boards
License: MIT License
Hello,
When I try to flash my daisy board with an example (for instance blinky), the program does not start.
It works if I revert to stm32h7xx-hal 0.13.1 with the following patch:
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,8 +19,8 @@ debouncr = "0.2.2"
log = "0.4.11"
micromath = "1.1.1"
panic-halt = "0.2.0"
-stm32h7xx-hal = { version = "0.14.0", features = ["stm32h750v","rt","fmc", "xspi", "sdmmc", "sdmmc-fatfs", "usb_hs"] }
-stm32-fmc = "0.3.0"
+stm32h7xx-hal = { version = "0.13.1", features = ["stm32h750v","rt","fmc", "xspi", "sdmmc", "sdmmc-fatfs", "usb_hs"] }
+stm32-fmc = "0.2.0"
rtt-target = { version = "0.4.0", optional = true }
panic-rtt-target = { version = "0.1.2", features = ["cortex-m"], optional = true }
lazy_static = { version = "1.4.0", features = ["spin_no_std"], optional = true }
The issue seems to happen quite early at initialization: I tried to reduce the system::System::init() method to a minimal code that blinks a led, and it does not blink with 0.14.0 (while it blinks with 0.13.1).
I use rust 1.70.
Is anyone else seeing the same issue?
please @dobrite, can you confirm it's working on your side?
Hi,
I forked your library and updated the audio.rs file to support the new codec WM8731 of the Daisy Seed rev 1.1.
Unfortunately, I have some audio distortions when passing audio through. At 1 kHz, I can see on the oscilloscope that the wave has artifacts.
As stated here
Line 17 in 95fd6af
In case you want to take a look:
https://github.com/backtail/libdaisy-rust
Implement QSPI for flash memory access.
Implement working DMA. Enable dcache.
it has been released for a while..
@x37v has a WIP
see http://blog.reverberate.ca/post/zero-latency-convolution/
This would be my learning project, figure other might like it too, but you could get it working much fast than me. It's useful for reverb & cabinet/mic simulation via impulse responses. I assume it's what all the impulse response (IR) guitar pedals are doing.
After DMA lands write working looper demo.
I just wanted to query the status of this project. I would really like to start experimenting with rust on the daisy hardware platform, but it looks like it still needs a bit of work to make it work flawlessly. And as a total noob in rust and embedded rust I am quite sure to be currently completely useless as a contributor :)
How far do you think we are from that goal ?
What do you see as the biggest chalenges ?
After DMA lands have working delay example with delay length and echo controls. Other controls?
When creating a new libdaisy-rust project you'll need to copy or create your own memory.x and .cargo/config files to tell the compiler how to build the binary image.
blinky
works fine. passthru
doesn't pass audio through, but just produces a tone. I'm a total beginner with embedded programming, but it sounds like it produced one buffer of data and it's just looping that.
I don't know how to receive the log data, so I don't know if something is going wrong internally.
I don't know the revision of the Daisy Seed, but I get this from dfu-utils:
Found DFU: [0483:df11] ver=0200, devnum=1, cfg=1, intf=0, path="1-1", alt=1, name="@Option Bytes /0x5200201C/01*128 e", serial="200364500000"
Found DFU: [0483:df11] ver=0200, devnum=1, cfg=1, intf=0, path="1-1", alt=0, name="@Internal Flash /0x08000000/16*128Kg", serial="200364500000"
if not.. remove the _bss
from the name
After running for a minute or so the sound stops working in the volume example.
Need to update to work with stm32h7xx-hal 0.9.0.
Docs.rs compiler needs correct arguments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.