When is it safe to access a UDB's accumulators (A0, A1) with DMA or CPU?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ChRe_4711096
Level 4
Level 4
50 replies posted 25 replies posted 25 sign-ins

I have a doubt regarding the use of DMA or CPU to access a UDB's accumulators:

AN82156 states "The accumulator registers operate asynchronously and may change at any time, including during CPU or

DMA accesses"

Is it safe to write into or read from the accumulators while the UDB is essentially just nop'ing around? I'd like to use D0 and D1 for static parameters used to process A0 and A1.

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Yes,it is safe if you don't use UDB.  But I think you should update the FIFO instead of using A0,A1.

View solution in original post

0 Likes
1 Reply
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Yes,it is safe if you don't use UDB.  But I think you should update the FIFO instead of using A0,A1.

0 Likes