mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
boards/samr30-xpro: fix AT86RF212B communication
This board is driven by a 16MHz clock source. In this case, the baud rate generator is able to clock the SPI interface with 4MHz or 8MHz only. Due to integer division and rounding, the interface is actually driven with 8MHz, which is too fast for the AT86RF212.
This commit is contained in:
parent
0611920f50
commit
a9faac7218
@ -36,7 +36,7 @@ extern "C" {
|
||||
#define AT86RF2XX_PARAM_INT GPIO_PIN(PB, 0)
|
||||
#define AT86RF2XX_PARAM_SLEEP GPIO_PIN(PA, 20)
|
||||
#define AT86RF2XX_PARAM_RESET GPIO_PIN(PB, 15)
|
||||
#define AT86RF2XX_PARAM_SPI_CLK SPI_CLK_5MHZ
|
||||
#define AT86RF2XX_PARAM_SPI_CLK SPI_CLK_1MHZ
|
||||
/** @}*/
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user