Hello, I’m using edma, but I’m confused with it, as the SPRU234C documented, thee are four sync type transfer, that is
Element-Synchronized Transfer: An element-synchronized transfer
submits a transfer request (TR) for a single element when a synchronization
event is received. The EDMA channel controller updates the source
address, destination address, element count, and frame count after each
TR.
_ Frame-Synchronized Transfer: A frame-synchronized transfer submits
a transfer request (TR) for a single frame of element count elements when
a synchronization event is received. The EDMA channel controller
updates the source address, destination address, and frame count after
each TR. Elements and frames are spaced by a programmable index.
Array-Synchronized Transfer: An array-synchronized transfer submits
a transfer request (TR) for a single array of element count elements when
a synchronization event is received. The EDMA channel controller
updates the source address, destination address, and array count after
each TR. Elements are always contiguous and frames are spaced by a
programmable index.
_ Block-Synchronized Transfer: A block-synchronized transfer submits a
transfer request (TR) for an array count arrays of element count elements
when a synchronization event is received. The EDMA channel controller
does not perform any address or count updates. Elements are always
contiguous and frames are spaced by a programmable index.
But from the EDMA Channel Options Parameter (OPT), I found the FS field controls the sync type, the description as follow:
as above,if I set FS=0, I can’t decide what sync type (Element-Synchronized or Array-Synchronized)it is , and I don’t know how to configure Block-Synchronized Transfer,.
Another question, in my opinion, I think if a sync event is received by the Channel controller, a TR will submit to the transfer controller , after that the channel will update the parameter when the sync event receive ,after the sync event received until the PaRAM channel entry exhaust, an transfer completion interrupt will interrupt, is this opinion right or wrong?
can someone help me , waiting for your help, thank you.