On Fri, Mar 14, 2014 at 12:10:02PM +0100, Alexander Aring wrote: > While checkpatch another patch I got a: > > "WARNING: msleep < 20ms can sleep for up to 20ms" > > The datasheet of at86rf231 and at86rf212 says a minimum delay for reset > pulse width and spi access latency after reset is 625 nanoseconds. > > This patch removes the 1 milliseconds sleep and replace it with a 1 > microseconds udelay which should be also okay for these devices. > > To change the state from RESET -> TRX_OFF the device needs 26 microseconds. > After the reset pulse width we wait 26 microseconds for this. > second view on the at86rf231 datasheet t_TR13 takes 37 microseconds and 233/212 takes 26 microseconds. At least at86rf230 takes 120 microseconds for this.
I will change it to the worst case of 120 microseconds. Sry, there are too many datasheets for one driver. :-) - Alex ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel