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 ?????.
Content originally posted in LPCWare by jdurand on Sat Jun 30 19:10:44 MST 2012 I haven't tried it, but since this is a 32 bit part, could you be swapping the upper 16 bits down to the lower 16 bits?