:7.639MB : :1 :2022-10-10 15:46:23
STM32和PN5180的NFC开发包如果开发者对于本文件有需要的可以参考。
STM32和PN5180的NFC开发包,可实现ISO15693和ISO14443A协议读写卡。
uint16_t ISO14443_SendWakeUpTypeAAndReadATQA(void)
{
uint16_t ATQA = 0;
uint16_t Length = 0;
uint8_t Buffer[32];
uint8_t Command[3];
/* Sends WAKE-UP(Wake-UP command,Type A) command */
Command[0] = PHHAL_HW_PN5180_SET_INSTR_SEND_DATA;
Command[1] = 0X07; /* LSB先发,只发送0X52的7bits */
Command[2] = 0X52;
if (ISO14443_CommandSendAndRecvData(Command, sizeof(Command), Buffer, &Length) == 0)
{
if (Length == 2) /* 正确则返回2字节的ATQA */
{
ATQA = (Buffer[1] << 8) | Buffer[0];
}
}
// printf(" ----REQA");
return ATQA;
}
10-19STM32通过SD卡烧写程序到Flash
10-19stm32的全双工对讲机
10-19stm32的nrf24l01收发数据
10-19STM32F4 485例程
10-19STM32为主控带波型显示的MP3
10-19stm32实现SX1278通讯
10-19STM32F103RET6芯片手册