Hi, thx for helping out.
I’ve bought the Patch.Init() panel with the Patch Submodule.
This works fine with web-uploaded code.
The Patch_SM reverb as well as the Audio_settings from the Patch_SM_gettingstarted worked fine.
Now I want to follow up with Arduino.
I’m familiar with Arduino for multiple years, but in this case I’m stuck and in need for help.
I’ve started with the windows store version 1.8.19, which I used for a long time.
As this didn’t worked I set up a clean portable version 1.8.19 instance with
- added board manager in preference, and installed the stm32 boards
- Installed the library
- already installed the STM32Duino
In arduino ‘Tools’ menu I select
Board : STM32H7
Board part : Daisy Patch SM
Generic Serial
USB Support None
USB Speed Low/Full
Optimize Smallest-default
Debug Symbols None
C Runtime NewLibe Nano
Upload STM32Cube DFU
I’m able to upload code to the PatchSM board.
Flashing the blink program does blink the led on the Patch SM.
I can change the blink speed, so I’m sure I can upload different code.
Using the PatchSM Momentary_Switch example code:
Using the button on the front panel: PIN_PATCH_SM_B7
I can blink via LED_BUILTIN the LED on the patch sm board on the back
And via PIN_PATCH_SM_C1 the LED on the front of the patch.init() board
I’ve read on this forum, the LED_BUILTIN
should point to the user LED (on the front).
I can upload any example, except, there is no audio.
Reading the LED_BUILTIN should light up the front panel LED, this steers me in the direction the pins are not correctly assigned or I selected a wrong board / part nr ?
Any help in how to proceed further is much appreciated