AnsweredAssumed Answered

Register of PN5180

Question asked by sheng dang on Nov 27, 2016
Latest reply on Dec 6, 2016 by Kan_Li


Hi,

I have some questions when I transform the register of PN5180 .
When I want to transform the register :RF_CONTROL_TX register (address 0020h) ,(bit 13:17 TX_RESIDUAL_CARRIER).Just goto phhalHw_Pn5180.h and transform the value of PHHAL_HW_PN5180_MODINDEX_I14443B.
/** \name Modulation indices
*/
/*@{*/
#define PHHAL_HW_PN5180_MODINDEX_I14443B 0xCCU /**< Default modulation index for ISO14443B. */
#define PHHAL_HW_PN5180_MODINDEX_FELICA 0x17U /**< Default modulation index for Felica. */
#define PHHAL_HW_PN5180_MODINDEX_I15693 0x10U /**< Default modulation index for ISO15693. */
#define PHHAL_HW_PN5180_MODINDEX_EPCUID 0x10U /**< Default modulation index for EPC/UID. */
#define PHHAL_HW_PN5180_MODINDEX_I18000P3M3 0x10U /**< Default modulation index for ISO18000-3 Mode3. */
/*@}*/
This is right ?

I also want to kown if I want to transform the register: RF_CONTROL_RX_CLK register (address 0022h)
bit 2:3 RX_HPCF R/W High Pass Corner Frequency: 00->45 kHz, 01->85 kHz, 10->150 kHz, 11->250 kHz
bit 1:0 RX_GAIN R/W 0h*-3h Gain Adjustment BBA: 00->33 dB, 01->40 dB, 10->50 dB, 11->57 dB
If there is a place define the default value of them like this: #define PHHAL_HW_PN5180_MODINDEX_I14443B 0xCCU /**< Default modulation index for ISO14443B. */.
What should I do if I want to transform them.

Outcomes