summaryrefslogtreecommitdiff
path: root/openpicc/application/cmd.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-09 00:40:55 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-09 00:40:55 +0000
commit2bf5a3ae4e9356d80d6434e40e1e864ceb08d734 (patch)
tree2b36dfdfe8699009f4cfd2d71ebbf93329557155 /openpicc/application/cmd.c
parentb5be7c184f7d07b49a04098cd41d980f90f7e699 (diff)
Fix sending
Add Tx abort and SSC reset functionalities There is a bug workaround for a peculiarity in the SSC Tx: When it is set to START CONTINOUS while a transmission is in progress (started by START TF RISING EDGE, which is necessary for the correct timing) it will lose one (or two?) bits of sample data. The resetting of the start condition itself is necessary because the SSC will only transmit up to 64 bytes (32 bit times 16) per start condition Add performance counters for sent and received frames git-svn-id: https://svn.openpcd.org:2342/trunk@445 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/cmd.c')
-rw-r--r--openpicc/application/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/application/cmd.c b/openpicc/application/cmd.c
index 5991694..58b341d 100644
--- a/openpicc/application/cmd.c
+++ b/openpicc/application/cmd.c
@@ -30,7 +30,7 @@ xTaskHandle xCmdRecvUsbTask;
xTaskHandle xFieldMeterTask;
xSemaphoreHandle xFieldMeterMutex;
-volatile int fdt_offset=-20;
+volatile int fdt_offset=-20 -16; // -16 for the SSC Tx set to continous bug
volatile int load_mod_level_set=3;
#if ( configUSE_TRACE_FACILITY == 1 )
personal git repositories of Harald Welte. Your mileage may vary