Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: Here is an example of RX63N uart code ported to Synergy

$
0
0

hello, pls allow one comment...

Indeed one 32-Bit read or write access is translated in one instruction, from the CPU perspective / boundary.

However I believe writes might be grouped / rescheduled as for the AXI write buffers.

And, in between a read / modify / write cycle (to hold-release a mutex) you could get interrupts, so potentially an issue /  lock condition, if the same mutex is to be accessed by two different "threads" or routines.

I would rather recommend using load / store exclusives for a "bare metal" mutex

infocenter.arm.com/.../index.jsp

At the end of the chapter, there are even some implementation examples / code snippets


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>