From 256ac01ab288da365cec3cd6628e2ffeb7bc7334 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 9 Jun 2011 20:55:33 -0300 Subject: [PATCH] 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. --- atusb/fw/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atusb/fw/board.c b/atusb/fw/board.c index 774eaac..a252393 100644 --- a/atusb/fw/board.c +++ b/atusb/fw/board.c @@ -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) */