I noticed some discussion on this subject in 2006! Was there a conclusion on how best to read and write to Atmel dataflash from LPC? I am about to interface AT45DB041 to LPC1766. The NXP documentation described the CSEL chip select line as an input. The Atmel protocol requires the line to be used to bracket transfers. I could use a GPIO pin to drive the CSEL on the dataflash, but don't understand how this will effect the built in SPI functions of the LPC. Help! Working code?