lpcware

using SPI with an LPCXpresso 54102 digital microphone

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sbishop77 on Tue Nov 03 19:24:14 MST 2015
I am trying to figure out how to use the DMIC marked "M4" on the sensor shield of the LPCX54102, via SPI.  (This is also my first time using SPI.)

It looks like it's necessary to short jumpers JP2 and JP5, which I have done.  But I am confused regarding the SPI1_SCK and SPI1_MOSI traces.  (I'm looking at page three of the shield schematic.)  It seems like the LPC54102 would have to drive the clock (SPI1_SCK) as if it were the master and read the data (SPI1_MOSI) as if it were the slave.  And what about a slave-select pin?  How is this supposed to work?

Outcomes