Jump to content

Recommended Posts

Posted

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)?

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...