2 posts / 0 new
Last post
david.millan
Offline
Last seen:3 years 8 months ago
加入:2016-03-10 09:40
SPI BITMODE 16 BITS

Hi, do you have some example or documentation in order to implement the spi_read_byte() function in file reg_spi.h but reading 2 bytes instead of only 1?
I want this because I think I'm having problems related with the amount of time that my application spends attending the spi_receive_data_isr() from spi_hci.c, as it have to be called for each byte.

Device:
MT_dialog
Offline
Last seen:2 weeks 22 hours ago
Staff
加入:2015-06-08 11:34
Hi david.millan,

Hi david.millan,

There is no example in the hci implementation that reads more than 8 byte, but you can have a look at the generic spi.c driver in the spi_access() function where accoring to the set mode the application reads more that 8 BYTE of data.

Thanks MT_dialog