About libertas_spi: 16 bit data transfer
Ivan Li
lijinlei1 at 163.com
Wed Feb 16 03:12:28 EST 2011
Hi guys,
I am using SD8686 on i.MX31 with SPI interface, and for now I can't make it work.
The i.MX31 supports 8, 16, 32bit for data transfer, and as I know the SD8686 transfers data in 16 bits.
So I made below setup callback:
static int mxc_libertas_setup(struct spi_device *spi)
{
spi->bits_per_word = 16;
spi_setup(spi);
return 0;
}
But, in if_spi.c, I still see the "word" data is tranmitting in bytes.
Can anybody explain a little bit? And is there anybody making sd8686 spi work on i.MX series?
Thanks!
More information about the libertas-dev
mailing list