I have a situation where I need to shift 20 bits of data to a device. (Actually 17 bits - but the shift register in the device in question is 20 bits long, so I an always pad.)
Is there any way in which I can get the SPI peripheral in an HCS08 part to transfer only half a byte? So, transfer one byte, another byte, then half a byte, to end up with 20 bits.
I can't see any indication in the datasheet that this is possible, and am assuming I'll have to bit-bang the interface, but thought I'd ask just in case there's some kind of magic that will allow me to use the native hardware.