summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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