From 7ba7c9e041822eb401556ecfe859432bf107672c Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 11 Sep 2005 19:58:20 +0000 Subject: 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 --- rc632.h | 5 +++++ rfid_asic_rc632.c | 1 + rfid_asic_rc632_14443a.c | 1 + 3 files changed, 7 insertions(+) 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) -- cgit v1.2.3