how to update PN5180 DPC calibration data on custom boards

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to update PN5180 DPC calibration data on custom boards

Jump to solution
1,437 Views
devinpark
Contributor II

hi,

we can get calibration data from Cockpit. And Cockpit has a button to update EEPROM with new DPC calibration result..

I want to update EEPROM of another board with the same values.

I checked "secure f/w update library", where  I could see OPCODEs for accessing EEPROM.

Similary, I guess there will be for DPC area.

/* OPCODES */
#define PH_DLHAL_HW_PN5180_DL_OPCODE_DL_RESET              0xF0 /**<This command resets the IC. */
#define PH_DLHAL_HW_PN5180_DL_OPCODE_DL_GETVERSION         0xF1 /**<This command provides the firmware version. */
#define PH_DLHAL_HW_PN5180_DL_OPCODE_DL_GETDIEID           0xF4 /**<The command returns the die ID. */

BTW. I looks that Reader Library doesn't have EEPROM update feature. How can I update EEPROM?

BR,

Devin

Labels (1)
0 Kudos
1 Solution
1,188 Views
jimmychan
NXP TechSupport
NXP TechSupport

Hi Devin,

the NFC Cockpit allows a <dump EEPROM> (=store EEPROM into a file) + <load EEPROM> (store the file Content into the EEPROM).

 

For the same functionality in an own code, the PN5180 commands must be used.

For the "normal" area, containing the general settings and LUTs:

WRITE_EEPROM

READ_EEPROM

For the "Load Protocol" area:

UPDATE_RF_CONFIG

RETRIEVE_RF_CONFIG

BR,

Jimmy

View solution in original post

0 Kudos
1 Reply
1,189 Views
jimmychan
NXP TechSupport
NXP TechSupport

Hi Devin,

the NFC Cockpit allows a <dump EEPROM> (=store EEPROM into a file) + <load EEPROM> (store the file Content into the EEPROM).

 

For the same functionality in an own code, the PN5180 commands must be used.

For the "normal" area, containing the general settings and LUTs:

WRITE_EEPROM

READ_EEPROM

For the "Load Protocol" area:

UPDATE_RF_CONFIG

RETRIEVE_RF_CONFIG

BR,

Jimmy

0 Kudos