lemonhorse Posted July 4, 2009 Report Posted July 4, 2009 subject:[mbhp core8]---serial data (simplified SID Shift Register Service Routine[sid_sr.inc (ay_sr.inc)])--->[ay chip]description:i had occasionally failures (glitches) with the "Shift Register Service Routine" till i found out, that i have to disable the irq via IRQ_DISABLE for the time-critical period. now it seems that the glitches are gone. question:should i also suspend all user tasks (MIOS_UserSuspend) for more operating safety (i'm unsure)?
TK. Posted July 4, 2009 Report Posted July 4, 2009 No, this isn't required for MIOS8, as there is only a single interrupt level (for MIOS32 it's a completely different story...)Disabling interrupts is sufficient for "atomic operations"Best Regards, Thorsten.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now