AnsweredAssumed Answered

BF533 AMI trouble if interrupt during access to block devices

Question asked by robin.hu Employee on Nov 15, 2011
Latest reply on Nov 22, 2011 by PrasanthR

BF533, silicon rev 0.2 or 0.5. Result same error.

 

1. code as following to run on BF533 EZKIT-Lite:

------------------------

rdat = &(buf[0]);

for(j=0;j<10;j++)
        {
            temp = (unsigned short)*pHDD_DATA;
            ssync();
            *(rdat+j)=temp;
            ssync();
        }
----------------------

 

There is a timer interrupt frequently, possibly happen inside the loop.

 

2. Probe with Logic Analyzer on AMS3, OE, WE

We can catch 12 read pulse (OE asserted)

 

Please help explain. Don't want to do interrupt disable as normally need long time to do block device access.

Attachments

Outcomes