changing GPO source of st25dv04k
Hello everyone,
I'm currently working with the ST25DV NFC tag and I've encountered an issue with configuring GPO (General Purpose Output) interrupts. My goal is to trigger interrupts using various GPO masks, but I've run into a problem where only 'ST25DV_GPO_FIELDCHANGE_MASK' mask seems to work. I configured this register with this function
CUSTOM_NFCTAG_ConfigIT(CUSTOM_NFCTAG_INSTANCE, ST25DV_GPO_ENABLE_MASK | ST25DV_GPO_FIELDCHANGE_MASK );
I also used other masks but they are not working. I know that I am changing the register because i can read the gpo register with
HAL_StatusTypeDef statuss = HAL_I2C_Mem_Read(&hi2c1, 0b1010111 << 1, 0x0, 2, &nfcPasswordd, 1, HAL_MAX_DELAY);
Maybe someone knows how I can configure the GPO to generate an interrupt when a message is sent to the mailbox, instead of when the field changes.
