180718 HJM : 8 Count sensing data RF send, certTest, temp(cold)Test
Fork of EV-COG-AD3029LZ by
Diff: source/SimpleSpirit1.cpp
- Revision:
- 60:956afcef7ef7
- Parent:
- 57:8cc871dc6cac
- Child:
- 64:28ef790e4ef7
diff -r 5dbfc9faf1c5 -r 956afcef7ef7 source/SimpleSpirit1.cpp --- a/source/SimpleSpirit1.cpp Mon May 15 16:19:21 2017 +0200 +++ b/source/SimpleSpirit1.cpp Wed May 31 09:30:04 2017 +0200 @@ -51,7 +51,7 @@ /* configure spi */ _spi.format(8, 0); /* 8-bit, mode = 0, [order = SPI_MSB] only available in mbed3 */ - _spi.frequency(1000000); // 1MHz // betzw: heuristic value // betzw - NOTE: high frequencies lead to instability of Spirit1 + _spi.frequency(10000000); // 10MHz (i.e. max speed allowed for Spirit1) /* install irq handler */ _irq.mode(PullUp);