From e1103a8b77fcaed931a905808f4cb4fe7b6e2194 Mon Sep 17 00:00:00 2001 From: travisutk Date: Thu, 8 Oct 2009 01:31:33 +0000 Subject: [PATCH] Chipcon reliability stuff. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@195 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/apps/chipcon/chipcon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/apps/chipcon/chipcon.c b/firmware/apps/chipcon/chipcon.c index 05349ea..c226361 100644 --- a/firmware/apps/chipcon/chipcon.c +++ b/firmware/apps/chipcon/chipcon.c @@ -36,7 +36,7 @@ //This could be more accurate. //Does it ever need to be? -#define CCSPEED 0 +#define CCSPEED 3 #define CCDELAY(x) delay(x) #define SETMOSI P5OUT|=MOSI @@ -331,6 +331,7 @@ unsigned char cc_debug(unsigned char len, unsigned char c){ unsigned char cmd=0x54+(len&0x3);//(len&0x3); CCWRITE; + cctrans8(0xFF);//resync cctrans8(cmd); if(len--) cctrans8(a); -- 2.20.1