LPC1769 SPI clock for receiving (SOLVED)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by otxoasound on Mon Mar 23 10:41:16 MST 2015
Hello everybody!

               I need to set up communnications using SPI peripheral. The LPC1769 will work as master and an lcd controller (RA8875) as slave. I try an example and SPI works good if I only have to transmit. The LPC1769 does not generate clock after trasnmission of a byte. I need clock generation after transmit because the slave needs clock to send the information the master requests. So I need the same clock cycles as if I were transmitting 16 bits. I try to set 16 bit mode and the slave sends the information, but maybe there is a more elegant way to do it. Somebody could help?

                          Thank you!!