Part Number: LMH0318
Hi,
I would like to use a LMH0318 with a PIC microcontroller (SPI controlled) but I am facing an issue when I read the datasheet. Currently I can't test the interface and code made to drive the chip.
Anyway, in the datasheet, in the SPI protocol part, it is said that Each SPI transaction to a single device is 17 bits long [...]. But the PIC only support 8-bit or 16-bit format (to send or receive). How am I supposed to do ? The only thing I can think of is to send 3 bytes (so 8-bit format) with :
- First byte contains R/W bit and ADDR[7:1] ;
- Second byte contains ADDR[0] and DATA[7:1]
-Third byte contains DATA[0] and dummy data (7 bits).
Is that so ? Will the LMH0318 discard the last 7 bits (dummy bits) ? Nothing is said in the datasheet (or I missed it).
Thanks for your help !