Frans Skarman

Results 138 comments of Frans Skarman

I agree, DMA, and probably some other modules really do need a better usage example. In the meantime, I have a use case for DMA that is similar to what...

That's odd. I think I've successfully used USB with I2C before and had no issues. What board are you using, a blue pill?

This sounds super interesting and certainly needs more looking into, especially as it differs between opt modes. Out of curiosity, what rust version is this? Could it potentially be related...

This is indeed a probem. Timing and delays in general is something we should probably improve. For now, you can try doing something like this ```rust use nb::block; let timer...

> However, if I want to use two I2C sensors that both use a delay, I'll be in a dead end right? Not quite, you *could* make a wrapper struct...

Oh wow, that's quite an oversight! I'll make a note in the docs about this though we probably should change the API to either ensure that the DWT is on,...

Oh right, that's what I remembered which is why I suggested we should get rid of/rewrite the blocking i2c to use timer. Depending on debug hardware feels dirty and clearly...

Yep, things would certainly be easier with a better architecture. Since you're more familiar with other architectures, is this something that is unique to the f1 or are there a...

> Yes, however, there are two versions of the master, one blocker and one no. However, I noticed that only the blocking version is public (thanks to the embedded_hal traits)....