delay to allow spi interface to initialize
This commit is contained in:
parent
13d9885da4
commit
665e84d183
@ -280,7 +280,7 @@ bool ams_init()
|
|||||||
|
|
||||||
// delay(10);
|
// delay(10);
|
||||||
SELECT();
|
SELECT();
|
||||||
// delay(1);
|
delay(2);
|
||||||
|
|
||||||
// Needs to be disabled for passive operation
|
// Needs to be disabled for passive operation
|
||||||
// if (0)
|
// if (0)
|
||||||
@ -293,7 +293,7 @@ bool ams_init()
|
|||||||
printf1(TAG_NFC, "Have wrong product type [0x%02x]. AMS3956 connection error.\n", productType);
|
printf1(TAG_NFC, "Have wrong product type [0x%02x]. AMS3956 connection error.\n", productType);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf1(TAG_NFC,"AMS3956 product type 0x%02x.\n", productType);
|
printf1(TAG_NFC,"AMS3956 product type 0x%02x.\n", productType);
|
||||||
|
|
||||||
ams_read_eeprom_block(AMS_CONFIG_UID_ADDR, block);
|
ams_read_eeprom_block(AMS_CONFIG_UID_ADDR, block);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user