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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...