Search found 58 matches

by mlundin
Tue Apr 20, 2021 5:14 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 289

Re: USB Host, what solution?

I would try something like a single shot pwm pulse with 150us width, then you can set the interrupts at the end of this pulse if needed
by mlundin
Fri Apr 09, 2021 9:59 am
Forum: General discussion
Topic: Solved: USB serial CDC stalls at initial connection
Replies: 3
Views: 120

Re: USB serial CDC stalls at initial connection

A very common reason for connection problems under Linux is that the Modem Manager connects to the serial port automagically and blocks access from other applications. I dont have such a system set up for testing at the moment so cannot help much more, but I remember that I have previously uninstall...
by mlundin
Sun Apr 04, 2021 9:52 am
Forum: General discussion
Topic: Compile error - STM32F412VE
Replies: 10
Views: 764

Re: Compile error - STM32F412VE

Variants of STM32F412Vx with 100 pins or less dont have ports F and G according to datasheet, still GPIOF_BASE and GPIOG_BASE are defined in the stm32f412vx.h header file. Since PortNames.c only checks if GPIOF_BASE is defined that will fail since __HAL_RCC_GPIOF_CLK_ENABLE() is not defined, see &qu...
by mlundin
Sat Apr 03, 2021 11:00 am
Forum: STM32F4 based boards
Topic: Black STM32F407ZG Board and LEDs
Replies: 5
Views: 437

Re: Black STM32F407ZG Board and LEDs

If you look in variant.cpp for this board at line 161, PF_10 is entered before PF_9 into the digtalPin[] array. On the other hand in variant.h PF9 is declared before PF10, and after that LED_D1 and LED_D2 are declared as PF9 and PF10. So the end effect is that LED_D1 = PF9 = 94 maps to digitalPin[94...
by mlundin
Fri Apr 02, 2021 7:31 pm
Forum: General discussion
Topic: Mux errors...
Topic: Mux errors...
Replies: 9
Views: 458

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: 923

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: 923

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: 436

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: 17
Views: 1272

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...

Go to advanced search