AnsweredAssumed Answered

What is the Max Read/Write Buffer Sizes for BlueNRG

Question asked by shao.hui on Mar 23, 2015
Latest reply on Apr 3, 2015 by Marchese.Graziella

Doc UM1755 says slave header on SPI indicates read/write buffer size by bytes 1-2 and 3-4. If ACI command pkt is bigger than 128 bytes then mast has to send it in 2 SPI write transactions. Does it mean the size for either read or write can't be greater than 0x007F? Or  only higher byte matters?

In function BlueNRG_SPI_Write_Raw() of SDK_EVAL_Spi_Driver.c from DK1.6.0:
       if (header_slave[1] >= (Nb_bytes1+Nb_bytes2)) {

Does the line above support the understanding that only higher byte matters?