commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6724 - gnuradio/branches/developers/matt/u2f/firmware


From: matt
Subject: [Commit-gnuradio] r6724 - gnuradio/branches/developers/matt/u2f/firmware
Date: Sun, 28 Oct 2007 16:33:16 -0600 (MDT)

Author: matt
Date: 2007-10-28 16:33:16 -0600 (Sun, 28 Oct 2007)
New Revision: 6724

Modified:
   gnuradio/branches/developers/matt/u2f/firmware/ibs_tx_test.c
Log:
more tests for ibs on tx


Modified: gnuradio/branches/developers/matt/u2f/firmware/ibs_tx_test.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/ibs_tx_test.c        
2007-10-28 22:32:17 UTC (rev 6723)
+++ gnuradio/branches/developers/matt/u2f/firmware/ibs_tx_test.c        
2007-10-28 22:33:16 UTC (rev 6724)
@@ -45,8 +45,18 @@
     buffer0[i] = i;
   sim_puts("Filled in RAM\n");
   
+  buffer0[0] = 7; // start and end of buffer, send immediately
+  buffer0[1] = 0x0000;  // start time
+  bp_clear_buf(0);
+  bp_send_from_buf(0, 1, 1, 0, 9);
+  while (buffer_pool_status->status == 0)
+    ;
+  while(timer_regs -> time < 0x6000)
+    {}
+
   buffer0[0] = 3; // start and end of buffer
   buffer0[1] = 0x8000;  // start time
+  bp_clear_buf(0);
   bp_send_from_buf(0, 1, 1, 0, 9);
   while (buffer_pool_status->status == 0)
     ;
@@ -75,14 +85,23 @@
   while (buffer_pool_status->status == 0)
     ;
 
+  
+  buffer0[0] = 0x3;  // first and last
+  buffer0[1] = 0x8000;  // Time in the past
+  bp_clear_buf(0);
+  bp_send_from_buf(0, 1, 1, 0, 9);
+  while (buffer_pool_status->status == 0)
+    ;
+
+  /*
   buffer0[0] = 0x2; // not last
   buffer0[1] = 0x9600;  // start time
   bp_clear_buf(0);
   bp_send_from_buf(0, 1, 1, 0, 9);
   while (buffer_pool_status->status == 0)
     ;
+  */
 
-
   while(timer_regs -> time < 0xa000)
     {}
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]