Dheeraj M Pai
/
XXX_SPORT_MoDE_INITIATION
ADF7023
Revision 1:700c4c6067ab, committed 2015-07-09
- Comitter:
- dheerajmpai23
- Date:
- Thu Jul 09 06:56:19 2015 +0000
- Parent:
- 0:314c556411b3
- Commit message:
- ADF7023
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 314c556411b3 -r 700c4c6067ab main.cpp --- a/main.cpp Fri Jun 26 14:03:17 2015 +0000 +++ b/main.cpp Thu Jul 09 06:56:19 2015 +0000 @@ -180,26 +180,27 @@ wait_ms(2); CS=0; - adf.write(0x1B); - adf.write(0xFA); - adf.write(0xA1); + adf.write(0x1BFAA1); +// adf.write(0xFA); +// adf.write(0xA1); CS=1; wait_ms(2); CS=0; - adf.write(0x18); - adf.write(0x0D); - adf.write(0x00); + adf.write(0x180D00); +// adf.write(0x0D); +// adf.write(0x00); CS=1; wait_ms(2); - + // CS=0; write_bbram_sequence(); CS=1; - wait_ms(2); - - cout<<"BBRAM_SEQUENCE WRITTEN"<<ENDL; - + wait_ms(500); +// cout<<"Please write BBRAM SEquence Fast"<<ENDL; +// wait(45); + cout<<"i HOPE BBRAM_SEQUENCE WRITTEN"<<ENDL; + wait(5); CS=0; adf.write(0xBB);//CONFIGURE_DEV CS=1;