Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

74e0d6e do not work in IAR5.3 #5

Open
maxever opened this issue Dec 24, 2015 · 0 comments
Open

74e0d6e do not work in IAR5.3 #5

maxever opened this issue Dec 24, 2015 · 0 comments

Comments

@maxever
Copy link

maxever commented Dec 24, 2015

Hello
74e0d6e do not work in query-ack mode under the condition IAR 5.3. (optimizations low or none)
I use the sense reader to query the wisp . Through oscilloscope, I found that wisp replied the reader's query command with RN 16,but did not reply the ack command with correct handle.
Then I changed the ack judgement code in case STATE_REPLY:
" if ( bits == NUM_ACK_BITS && ( ( cmd[0] & 0xC0 ) == 0x40 ) )"
to
"if ( bits >=8 && ( ( cmd[0] & 0xC0 ) == 0x40 ) )".
And changed the ack function:
"if ( NUM_ACK_BITS == 20 )
while ( TAR <90 );
else
while ( TAR < 400 ); "
to
"if ( NUM_ACK_BITS == 20 )
while ( TAR <800);
else
while ( TAR < 400 ); "
After changing
the reader can query the wisp very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant