1016页的这一段话:
For receive operations through the DMA port, the DMA/CPU should read from the same RBUF
DMA port address to service all of the active receive serializers. In addition, reads from the active receive
serializers through the DMA port return data in incremental (although not necessarily consecutive) order.
For example, if serializers 1, 2, 3, and 6 are set up as active receivers, the DMA/CPU should read from
the RBUF DMA port address four times to obtain data for serializers 1, 2, 3, and 6 in this exact order,
upon each receive data ready event.
假如使能了4个serializers 做为接受数据端口,每产生一个event后需要EDMA去RBUF DMA port address读取四次数据,
1、这个四次读取是怎么实现的呢?是芯片内部的机制使然还是需要自行配置?
2、还有就是,如果是分四次读取的话,那每一次还是只能读取一个slot数据,这样,接受EDMA的配置的array偏移量参数SRC_DST_BIDX就和一路接受是相同的配置了,对吗?
求助!!!
Tony Tang:
jeremy shw
1、这个四次读取是怎么实现的呢?是芯片内部的机制使然还是需要自行配置?
如果是CPU读,则循环4次,如果是EDMA,则长度设为8个word(McASP配置的字长)
2、还有就是,如果是分四次读取的话,那每一次还是只能读取一个slot数据,这样,接受EDMA的配置的array偏移量参数SRC_DST_BIDX就和一路接受是相同的配置了,对吗?
DST_BIDX要看你想把收到数据怎么分开放。跟一路应该不一样吧,一路是,是连续放的。当然你也可以将几路连续放,怎么样方便后续处理就怎么放吧。