write to external SPRAM from interrupt?

greengnu
Posts: 27
Joined: Wed May 08, 2019 8:45 pm

write to external SPRAM from interrupt?

Postby greengnu » Wed Nov 20, 2019 9:16 pm

Is it valid to write (without reading back) to PSRAM while within an interrupt?

My code works, I'm just not sure if it's well-defined/legal or not.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: write to external SPRAM from interrupt?

Postby WiFive » Thu Nov 21, 2019 6:46 am

Should work as long as cache is enabled so not an IRAM interrupt

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], MicroController and 61 guests