Hi All,
A while ago I had a problem interfacing to a device using a 9 or 10 bit address word (previous thread 17bit or 25bit spi frame using LPC546xx family ) which was solved with a change to the sdk and an extra function to change the bit width which worked well when using the spi blocking functions.
status_t SPI_ChangeTransferWidth(SPI_Type *base, spi_data_width_t datawidth){
uint32_t instance;
instance = SPI_GetInstance(base);
/* store configuration */
g_configs[instance].dataWidth = datawidth;
}
However we're now moving into production code using the non blocking functions for spi and these ignore the change to the width is there a way to achieve the same?
Kind regards
Ian