kingbo 发表于 2018-1-1 13:24:35

请教FM1701读取S70卡7字节UID步骤

FM1701读取S50 4字节的UID没有问题,读取7字节的UID,首次0x93 0x20 也能返回   0x88 UID0 UID1UID2BCC   接下来打开CRC,用选卡命令0x93 0x70 是怎样的步骤呢?一直没有试成功

                                                resig_write(ChannelRedundancy,0x0f);
                                                resig_write(Control,0x08);
                                                temp=resig_read(Control);
                                                temp=temp|0x01;
                                                resig_write(Control,temp);

                                        Fbuff=0x93;
                                        Fbuff=0x70;
                                       for(i=0;i<5;i++)
                                        {
                                              Fbuff=UID;
                                        }   
                                        fifo_write(7,Fbuff);
                                        resig_write(Command,0x1e);
                                        delay(2);
                          
                                        Fbuff=0x95;
                                        Fbuff=0x20;
                                        fifo_write(2,Fbuff);
                                        resig_write(Command,0x1e);
                                        delay(2);                                                          
                                        temp=resig_read(FIFOLength);读出FIFO一直为0
页: [1]
查看完整版本: 请教FM1701读取S70卡7字节UID步骤