cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt problem with ST25DV64KC

GOODTHINK
Associate II

I'm trying to change from ST25DV16K board to ST25DV64KC and use it.
The board setup part seems to be fine, but there's a problem with the interrupt setup part.
When writing data to the EEPROM of the tag board with RF from NFC08A1, the code that worked on 16K doesn't work on 64KC. What's the problem?
This is my code.

int nfc_gpo_it_init()
{
    int ret = 0;
    ST25DV_PASSWD passwd = {.MsbPasswd = 0, .LsbPasswd=0};  

    if (ST25DV_PresentI2CPassword(&NfcTagObj, passwd) < 0)
    {
        printf("Error Point1\n");
        return -1;
    }
    ret = Nfctag_Drv->ConfigIT(&NfcTagObj, ST25DV_GPO_ENABLE_MASK | ST25DV_GPO_RFWRITE_MASK);
    if(ret != 0)
    {
        printf("error\n\r");
    }

    passwd.MsbPasswd = 123;
    passwd.LsbPasswd = 123;
    if (ST25DV_PresentI2CPassword(&NfcTagObj, passwd) < 0)
    {
        printf("Error Point2\n");
        return -1;
    }
    return ret;

}
Thank you!
0 REPLIES 0