1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 15:45:18 +02:00

atusb/fw/board.c (reset_rf): increased 1 us delays to nominally 2 us

They should be at least 625 ns. Can't hurt to have a little tolerance.
This commit is contained in:
Werner Almesberger 2011-06-09 20:55:33 -03:00
parent 78ab017990
commit 256ac01ab2

View File

@ -68,12 +68,12 @@ void reset_rf(void)
/* AT86RF231 data sheet, 12.4.13, reset pulse width: 625 ns (min) */
CLR(nRST_RF);
_delay_us(1);
_delay_us(2);
SET(nRST_RF);
/* 12.4.14: SPI access latency after reset: 625 ns (min) */
_delay_us(1);
_delay_us(2);
/* we must restore TRX_CTRL_0 after each reset (9.6.4) */