Eduardo,
Yes, I understand the Session Registers persist only for the current communciation session. The EH_CONFIG_REG session register does not change (during the communication session) and there is no Energy Harvesting.
Do you have a working EH example using session registers to share?
Here are the Commands and Responses:
- VCD triggers current detection by by writing to EH_CONFIG_REG session register
(A7h) → EH_TRIGGER (Bit3) set to 1b
Command and Response to Trigger Current Detection
(A7h) → EH_TRIGGER (Bit3) set to 1b (Note: 0x08 = 0000 1000)
Command: 21 A7 08 00 00 00
Response: OK
- VCD polls EH_CONFIG_REG (A7h) until the available field strength is sufficient →
EH_LOAD_OK (Bit7) equal to 1b
Commands and Responses to Read EH_CONFIG Reg A7
Command: 20 A7
Response: 08 00 00 00
Command: 20 A7
Response: 08 00 00 00
Command: 20 A7
Response: 08 00 00 00
Command: 20 A7
Response: 08 00 00 00
- VCD enables the energy harvesting by writing to EH_CONFIG_REG session register
(A7h) → EH_ENABLE (Bit0) set to 1b and EH_TRIGGER (Bit3) set to 1b (Note: 0x33 = 0011 0011)
Enable Energy Harvesting
Command: 21 A7 33 00 00 00
Response: OK
- VCD polls STATUS1_REG (A0h) until VCC ramps up → VCC_BOOT_OK (Bit7) equal
to 1b
Commands and Responses to Read EH_CONFIG Reg A7
Command: 20 A7
Response: 33 00 00 00
Command: 20 A7
Response: 33 00 00 00
Command: 20 A7
Response: 33 00 00 00
Command: 20 A7
Response: 33 00 00 00
Command: 20 A7
Response: 33 00 00 00
Command: 20 A7
Response: 33 00 00 00