3.跟SPI通信频率是否有关?
/*Set SPI rate to less than 3 MHz to properly perform DW1000 initialisation.*/
void spi_set_rate_low (void)
{
SPI_ChangeRate(SPI_BAUDRATEPRESCALER_16); //2.0M
}
/*Set SPI rate as close to 20 MHz as possible for optimum performances.*/
void spi_set_rate_high (void)
{
SPI_ChangeRate(SPI_BAUDRATEPRESCALER_2); //16.0M 这里最高只能设置到16M 有没有影响?
}