Dheeraj M Pai
/
XXX_SPORT_MoDE_INITIATION
ADF7023
Diff: main.cpp
- Revision:
- 1:700c4c6067ab
- Parent:
- 0:314c556411b3
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;