about SPI HW chip select
Dear Sir,
I am porting RFAL now. Based on 5.8 in UM2890, for HW chip selection, macro ST25R_COM_SINGLETXRX should be set. In st25r3916_com.c, the following code declared a local buffer.
#if defined(ST25R_COM_SINGLETXRX) && !defined(RFAL_USE_I2C)
static uint8_t comBuf[ST25R3916_BUF_LEN]; /*!< ST25R3916 communication buffer */
static uint16_t comBufIt; /*!< ST25R3916 communication buffer iterator */
#endif /* ST25R_COM_SINGLETXRX */
I can understand why such local buffer is need. Is it dependent on some host specification which provide single byte access?
If I use a host that support multibytes access, is it not necessary
to use such local buffer for my case?
best regards
Dai Sai
