cancel
Showing results for 
Search instead for 
Did you mean: 

Confused about the 'load modulation' setting of CHIP_INIT configuration in ST25R3916 GUI and 'analogConfigTbl_NFC06A1.c'

diverger
Senior
  1. I loaded the ​MB11414-A_v1.xml into ST25R3916 Discovery GUI. And find there is a register '0x68', but in ST25R3916's datasheet, I can't find 0x68, only 0x28. Where 0x68 comes from.
  2. If it's a typo, that is 0x68 is actually 0x28, write 0x00 to mask 0x20 should disable the external load modulation, right? But the comment is 'Disable Internal Modulation', why ?
  3. Similar to above, write 0x10 to mask 0x10 should enable the internal load modulation, right? But the comment is 'use external load modulation'.
  4. In analogConfigTbl_NFC061A1.c, same problem exist there

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hi,

sorry for the confusion. Unfortunately the comments are wrong - they were manually created.

Regarding register addresses: If you read the DS there are registers in register space A and other in space B at the same addresses. So our software has refrained from providing separate functions for reading A vs B registers and has put both into a virtual register space with A being at base address 0x00 and B at base address 0x40.

So this 0x68 translates into 0x40|0x28: space B register 0x28.

Regards, Ulysses

View solution in original post

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

Hi,

sorry for the confusion. Unfortunately the comments are wrong - they were manually created.

Regarding register addresses: If you read the DS there are registers in register space A and other in space B at the same addresses. So our software has refrained from providing separate functions for reading A vs B registers and has put both into a virtual register space with A being at base address 0x00 and B at base address 0x40.

So this 0x68 translates into 0x40|0x28: space B register 0x28.

Regards, Ulysses