summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-09-11 19:58:20 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-09-11 19:58:20 +0000
commit7ba7c9e041822eb401556ecfe859432bf107672c (patch)
treedddac378f7795b3a5ee066ca5e82fe003ade7656
parent242b57ecd7e2b967822e6a4d74ca3acfc5880c21 (diff)
Some updates and remarks referring to mc073930.pdf (Errata?) by Juergen Heinzl
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1423 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--rc632.h5
-rw-r--r--rfid_asic_rc632.c1
-rw-r--r--rfid_asic_rc632_14443a.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/rc632.h b/rc632.h
index 41beb2a..4ad0e99 100644
--- a/rc632.h
+++ b/rc632.h
@@ -117,7 +117,12 @@ enum rc632_reg_coder_control {
RC632_CDRCTRL_TXCD_ICODE_STD = 0x04,
RC632_CDRCTRL_RATE_848K = 0x00,
+#if 0
+ /* See mc073930.pdf, page 41 */
RC632_CDRCTRL_RATE_424K = 0x80,
+#else
+ RC632_CDRCTRL_RATE_424K = 0x08,
+#endif
RC632_CDRCTRL_RATE_212K = 0x10,
RC632_CDRCTRL_RATE_106K = 0x18,
RC632_CDRCTRL_RATE_14443B = 0x20,
diff --git a/rfid_asic_rc632.c b/rfid_asic_rc632.c
index 3f7cd11..09b4f42 100644
--- a/rfid_asic_rc632.c
+++ b/rfid_asic_rc632.c
@@ -461,6 +461,7 @@ rc632_iso14443a_init(struct rfid_asic_handle *handle)
if (ret < 0)
return ret;
+ /* Since FORCE_100_ASK is set (cf mc073930.pdf), this line may be left out? */
ret = rc632_reg_write(handle, RC632_REG_MOD_CONDUCTANCE,
CM5121_MOD_CONDUCTANCE);
if (ret < 0)
diff --git a/rfid_asic_rc632_14443a.c b/rfid_asic_rc632_14443a.c
index 53297d2..4c8a37b 100644
--- a/rfid_asic_rc632_14443a.c
+++ b/rfid_asic_rc632_14443a.c
@@ -51,6 +51,7 @@ rc632_iso14443a_init(struct rfid_asic_handle *handle)
if (ret < 0)
return ret;
+ /* Since FORCE_100_ASK is set (cf mc073930.pdf), this line may be left out? */
ret = rc632_reg_write(handle, RC632_REG_MOD_CONDUCTANCE,
CM5121_MOD_CONDUCTANCE);
if (ret < 0)
personal git repositories of Harald Welte. Your mileage may vary