Search found 94 matches

by mlundin
Fri Apr 02, 2021 7:31 pm
Forum: General discussion
Topic: Mux errors...
Topic: Mux errors...
Replies: 9
Views: 4801

Re: Mux errors...

Use the loop, set a MUX_SEL combination and record current millis(), then on next loop check if a predetrmined number of millis has elapsed, if so read the MUX_OUTS and set next MUX_SEL and current millis(), if not just keep looping no delay, just keep looping until the intended delay has elapsed, f...
by mlundin
Fri Apr 02, 2021 5:57 pm
Forum: General discussion
Topic: LTO linker option
Replies: 20
Views: 10180

Re: LTO linker option

Sorry I was confused, now I realise you had 128+19 KB of program. So what to do, the Daisy Seed has 8MB of external flash, that should be useable to store a lot of presets. How that can be programmed and accessed can probably be found in Electrosmith documentation and or example code. Or you can rea...
by mlundin
Wed Mar 31, 2021 6:48 pm
Forum: General discussion
Topic: LTO linker option
Replies: 20
Views: 10180

Re: LTO linker option

Yes H7 boards typically has some MB or several of flash. So 19 kB is nowhere a flash limit.

So what board settings are you using?

The Daisy is not officially supported and they dont even tell what processor they use in their marketing, but a STM32 at 480 MHz sounds like STMH7
by mlundin
Fri Mar 26, 2021 11:03 pm
Forum: General discussion
Topic: Moving to STM32, noobs ask for help on selecting chip
Replies: 5
Views: 3678

Re: Moving to STM32, noobs ask for help on selecting chip

To test and learn, the Nucleo boards with ST-Link debug on board are extremely good value and superb platforms to evaluate your ideas. They dont need any extra bootloaders, and most modern ST chips have an on chip USB bootloader that is activated with a bit of BOOT magic when booting up so no extra ...
by mlundin
Wed Mar 17, 2021 9:15 pm
Forum: IDE's
Topic: Arduino IDE 2.0
Replies: 18
Views: 13050

Re: Arduino IDE 2.0

{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. "version": "0.2.0", "configurations": [ { "cwd": "${workspaceRoot}", "executable": "/var/folders/68/wh3qywr531q4dtp_nhmd79...
by mlundin
Sun Mar 14, 2021 7:33 pm
Forum: General discussion
Topic: Read String from EEPROM on STM32F411
Replies: 3
Views: 2839

Re: Read String from EEPROM on STM32F411

There are some deep issues with saving and restoring objects, for info search for "object serialization". For instance the data in a String object ( from WString.h ) is char *buffer; // the actual char array unsigned int capacity; // the array length minus one (for the '\0') unsigned int l...
by mlundin
Sat Mar 13, 2021 10:12 pm
Forum: General discussion
Topic: analogRead slow with ST libraries
Replies: 7
Views: 5474

Re: analogRead slow with ST libraries

analogRead() is a very nice and handy function, but so general, setup for all boards and all analog pins, there is a huge overhead. You can increase speed by using the HAL layer for ADC, this is a bit fiddly and requires different settings for different boards, the HAL is not totally identical. I am...
by mlundin
Sat Mar 13, 2021 12:50 am
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 79
Views: 1738149

Re: No one even mentioned the new Raspberry Pi Pico?

Teensy 4 is a Cortex M7 at 600Hz with hardware floating point, and the Pico is a dual core Cortex M0+ at 133Mhz Now for some very specialized tasks the Pico just might be faster, but overall its not in the same league. Teensy 4 has a quite extensive software support with both USB host and client, at...
by mlundin
Fri Mar 12, 2021 3:36 pm
Forum: General discussion
Topic: Read String from EEPROM on STM32F411
Replies: 3
Views: 2839

Re: Read String from EEPROM on STM32F411

Storing a String object with EEPROM.put will store the String object, but it will not store the character array. If you try it with put and get in the same code, you save and restore the String object and the string data is already in memory so it seems to work. So basically you must save and restor...

Go to advanced search