Search found 166 matches

by GrumpyOldPizza
Sat Feb 25, 2017 1:52 am
Forum: Code snipplets
Topic: I2S example code
Replies: 106
Views: 11512

Re: I2S example code

Victor, that took a while to get to that. Code has now been updated on github.com. I ended up using this code: size_t I2SClass::write(int32_t sample) { if (_state != I2S_STATE_TRANSMIT) { if (!((_state == I2S_STATE_READY) || (_state == I2S_STATE_TRANSMIT))) { return 0; } _state = I2S_STATE_TRANSMIT;...
by GrumpyOldPizza
Wed Feb 22, 2017 3:11 pm
Forum: General discussion
Topic: iwdg_init() and iwdg_feed()
Replies: 26
Views: 1144

Re: iwdg_init() and iwdg_feed()

Quick question. If LSI feeds IWDG, could IWDG be disabled by turning off LSI ? Do anybody try ?
by GrumpyOldPizza
Thu Feb 16, 2017 1:32 pm
Forum: Code snipplets
Topic: I2S example code
Replies: 106
Views: 11512

Re: I2S example code

The API is not perfect ;-) Looking at all of this, it seems to be best to implement a switch between the I2S.write(sample) and I2S.write(data, size) way, so that the former one needs to check that all DMA has been finished before it could write directly. But then again writing directly is bad, becau...
by GrumpyOldPizza
Wed Feb 15, 2017 3:06 pm
Forum: Code snipplets
Topic: I2S example code
Replies: 106
Views: 11512

Re: I2S example code

Madias, did you ever turn the i2s code into a library? I am getting back to work on the stm32 and just ordered some pt8211. I want to clean up the wav player code and turn it to use one of those. ArduinoZero (MKRZERO) added a I2S class now that is also supported by a ArduinoSound libary: https://gi...
by GrumpyOldPizza
Wed Feb 01, 2017 12:25 pm
Forum: General discussion
Topic: STM32DUINO - Architecture questions
Replies: 39
Views: 708

Re: STM32DUINO - Architecture questions

As we're talking architecture: i would love to see some more attention to offering some async DMA libraries :). that's where the true IO power of these little guys is, and by sticking to the arduino API we're completely missing it >_<. Also for many of the reasons mentioned in this thread, i'm curr...
by GrumpyOldPizza
Sat Jan 21, 2017 7:39 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 112
Views: 5606

Re: STM32L4 Core

Thanks for the quick answer! I've tried manual installation but no luck... (Arduino 1.8.0 on W10-64) Best regards Guido What was the problem ? Normally using the json file is simpler, but does the very same thing. Sorry for the delay. Here the path to the json file. https://grumpyoldpizza.github.io...
by GrumpyOldPizza
Sat Jan 21, 2017 4:20 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 112
Views: 5606

Re: STM32L4 Core

Thanks for the quick answer! I've tried manual installation but no luck... (Arduino 1.8.0 on W10-64) Best regards Guido What was the problem ? Normally using the json file is simpler, but does the very same thing. Sorry for the delay. Here the path to the json file. https://grumpyoldpizza.github.io...
by GrumpyOldPizza
Thu Jan 19, 2017 12:22 am
Forum: Cores
Topic: STM32L4 Core
Replies: 112
Views: 5606

Re: STM32L4 Core

Guidoted wrote:Thanks for the quick answer!
I've tried manual installation but no luck... (Arduino 1.8.0 on W10-64)
Best regards
Guido


What was the problem ? Normally using the json file is simpler, but does the very same thing.
by GrumpyOldPizza
Wed Jan 18, 2017 10:27 pm
Forum: Libary request
Topic: IRlib on STM32?
Replies: 32
Views: 1885

Re: IRlib on STM32?

I was looking at that last year, and have intention to continue when i have time to dig the files and then continue with it. I was using the ST application note linked by Andy in the previous post. That AN is for F0 and F3 chips that include an internal circuit to connect 2 timer outputs, in a way ...
by GrumpyOldPizza
Wed Jan 18, 2017 10:26 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 112
Views: 5606

Re: STM32L4 Core

Sorry but I can't find the json file to install the package. Could you, please, give the correct path to be added on Arduino Preferences? Thanks a lot and ciao from Italy Sorry for the delay. Got to clean up a few things for Ladybug/Butterfly and then there will be a new *.json file. Sorry for the ...

Go to advanced search