AnsweredAssumed Answered

SPI Xmit question ?

Question asked by H.Rick on Jan 21, 2016
Latest reply on Jan 22, 2016 by lopez.dean
Guys,

I have a question for transmitting multiple bytes on STM32CubeMX,

Can I make like this :
/* Send a data block fast */
static
void xmit_spi_multi (
    uint8_t p[],    /* Data block to be sent */
    UINT cnt       
)
{
    HAL_SPI_Transmit(&hspi2,p,cnt,100);
}
Thanks

Outcomes