lemonhorse Posted July 4, 2009 Report Share 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)? Quote Link to comment Share on other sites More sharing options...
TK. Posted July 4, 2009 Report Share 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. Quote Link to comment Share on other sites More sharing options...
lemonhorse Posted July 4, 2009 Author Report Share Posted July 4, 2009 ok, thanks :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.