AnsweredAssumed Answered

SPI Microwire mode

Question asked by Henrik Ebbekaer on Jul 5, 2016
Latest reply on Jul 19, 2016 by Rolf Meeser

Hi

I'm working with the LPCXpresso  LPC1115 and having problems with the SPI interface. The question is quite simple.

How is the Microwire interface used? From the manual UM10398 it should be possible to make a bit sequence looking like this:

I would like to transmit 24 bit. CR0 is the register where I have to select that I'm using Microwire. But I also have to select the data size, which can be up to 16 bits. Make sense. But in this Microwire interface a 8-bit control byte is defined. How do I write the control byte?

I can make the code so the CS is controlled manually and just use regular SPI mode, no problem. But it would be nice if the Microwire functionality worked.

Outcomes