Hi All,
I've been using the Bare Metal Framework to develop code for the SC-589 both on custom hardware, and the ADZS-SC589-MINI development board.
Using the bm_spi driver, the SPI0 peripheral works fine, but SPI1 does not. A logic probe confirms normal function is observed for SPI0, however for SPI1, only chip select is actuated, but nothing happens on CLK and MOSI lines. The CLK and MOSI can be toggled manually, so I'm sure it's not a hardware issue, but I also cannot find and kind of peripheral clash for the pins in question that might prevent operation. Has anyone else had similar issues?
Example initialisation below,
spi_initialize(&device->spi,
SPI_MODE_0,
SPI_SSEL_MANUAL,
SPI_WORDLEN_8BIT,
112500000,
SPI0);
spi_transfer(&device->spi, command);
// works correctly
spi_initialize(&device->spi,
SPI_MODE_0,
SPI_SSEL_MANUAL,
SPI_WORDLEN_8BIT,
112500000,
SPI1);
spi_transfer(&device->spi, command);
// Does not
The correct CS, CLK and MOSI pins are monitored for each case, and CS is actuated manually within a transfer function.
Many thanks,
James