2 Replies Latest reply on Feb 17, 2014 4:17 AM by nikvh

    word length of the spi port is always 8

      Hi,

      I want to drive a spi radio that talks in 16 bit word;

      At the SPI configuration i changed like this (it's similar to the spi flash exemple). In the oscope i see only 8 bits word length.

      Everything looks ok at stm32fxxx_platform.c and stm32fxxx_platform.c files.

      Any idea to solve this?

       

      wiced_spi_device_t wiced_spi_radio =

      {

          .port        = WICED_SPI_1,

          .chip_select = WICED_SPI_RADIO_CS,

          .speed       = 1000000,

          .mode        = SPI_CLOCK_RISING_EDGE | SPI_CLOCK_IDLE_HIGH | SPI_NO_DMA | SPI_MSB_FIRST,

          .bits        = 16

      };