Strange DMA Behaviour.Can someone help ????

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by leonardo on Sat Jun 30 13:56:21 MST 2012
Hi to forum
I wish to transfer some data from an spi memory (at26df081) to the internal ram  of an LPC1754.I wish to use DMA in 16 bit mode which i found is the most efficient in terms of speed . I made the programming for the DMA controller and it works ok .After my first tests i show byte swapping since the writing is made in 8 bit mode.So i decided to use BIG endian mode transfer . Switching to big endian mode DMA fills the memory with zeros instead of my data . Has anybody noticed such a problem ?.Switching to little endian mode i see the data are correct but i must swap bytes .
Any ideas ?????.