Using Core0 #58
Replies: 5 comments 1 reply
-
Do you run your own version actually or the latest, original code from GitHub? |
Beta Was this translation helpful? Give feedback.
-
I guess it's my own version at this point. So I'd have to map all my
changes to upgrade. Not that many changes, trying to use per design. Mostly
add ons.
Regards
Michael
…On Mon, Jul 19, 2021, 01:22 Marcel ***@***.***> wrote:
Do you run your own version actually or the latest, original code from
GitHub?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALTDOQ74Z2YIG52MFTBYHSLTYMLW5ANCNFSM5ASIWFVA>
.
|
Beta Was this translation helpful? Give feedback.
-
Hm okay when there are modifications then it would be very hard to support. I would like to convert this issue into a discussion then. |
Beta Was this translation helpful? Give feedback.
-
Ok - you made me realize that. However, i was just surprised since I was
doing it all without Core0Task and then I got ... less performance by using
it?
So that part ... is more like an issue but its not shared software. Was
just thinking you might have tips or have experienced same along the way.
Please convert.
Regards
Michael
…On Mon, Jul 19, 2021 at 11:22 PM Marcel ***@***.***> wrote:
Hm okay when there are modifications then it would be very hard to
support. I would like to convert this issue into a discussion then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALTDOQ7UJO66YKYLFNL3Z43TYRGMBANCNFSM5ASIWFVA>
.
|
Beta Was this translation helpful? Give feedback.
-
Yes I can confirm doing SPI during the audio loop is very problematic. In addition to that there are two functions for USB processing because otherwise you can also get problems when both cores want to access same data or may interfere with each other. Thank you for your feedback =) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I moved some processing to the Core0 task loop
At first it wasn't being called but I checked your code and it was updated to the MIDI_VIA_USB... module
so adding that in now it works.
In the first 30-60 seconds I get audio glitches - even one where it was making a rough popping on left side then right side alternating.
So processing Core0 seems to slow auto processing which we assume only happens on Core1 in arduino.
Therefore, generally no improvement - but over time things seem to buffer or perform ok.
So I'll look at having a kind of reduced frequency of calls in the Task0loop using some kind of loop count variable to see if that removes that glitch.
Beta Was this translation helpful? Give feedback.
All reactions