- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
};
Solved! Go to Solution.
- Labels:
-
SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When spi.port=16 in the wiced_spi_flash definition, the init may be re written in the stm32fxxx_platform.c as the use of the wiced init wiced_spi_init makes the platform crash :
config :
BCM9WCDUSI09 eval board
spi to communicate with a 433 MHz tranceiver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When spi.port=16 in the wiced_spi_flash definition, the init may be re written in the stm32fxxx_platform.c as the use of the wiced init wiced_spi_init makes the platform crash :
config :
BCM9WCDUSI09 eval board
spi to communicate with a 433 MHz tranceiver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the extra information.
This has highlighted an item that's been on our todo list and has now been bumped up in priority.