ADF ROllinG Buffer Final withhout comments

Dependencies:   mbed

Fork of SPI_HelloWorld_Mbed by mbed official

Committer:
krishanprajapat
Date:
Thu Jul 09 06:59:34 2015 +0000
Revision:
5:a5f3a97f419c
Parent:
4:f21e8a5740ba
Publishing purpose

Who changed what in which revision?

UserRevisionLine numberNew contents of line
krishanprajapat 4:f21e8a5740ba 1 //ISR=5 But receoived Data ISR =4
mbed_official 0:466ad3f38b6b 2 #include "mbed.h"
krishanprajapat 3:3e552e3f302a 3 #include <iostream>
krishanprajapat 3:3e552e3f302a 4 using namespace std;
krishanprajapat 3:3e552e3f302a 5 #include <bitset>
krishanprajapat 3:3e552e3f302a 6
krishanprajapat 3:3e552e3f302a 7 #define ENDL "\r" << endl;
krishanprajapat 3:3e552e3f302a 8 #define START_ADDRESS 0x020;
krishanprajapat 3:3e552e3f302a 9 #define PI 3.14
krishanprajapat 3:3e552e3f302a 10 SPI adf(PTA16, PTA17, PTA15);
krishanprajapat 3:3e552e3f302a 11 //MOSI, MISO, CLOCK
krishanprajapat 3:3e552e3f302a 12
krishanprajapat 3:3e552e3f302a 13 DigitalOut CS(D10);
krishanprajapat 3:3e552e3f302a 14 Serial PC(USBTX, USBRX);
krishanprajapat 3:3e552e3f302a 15 DigitalOut led2(LED_RED);
krishanprajapat 3:3e552e3f302a 16 InterruptIn IRQ(D8);
krishanprajapat 3:3e552e3f302a 17 Ticker ticker;
krishanprajapat 3:3e552e3f302a 18 int src=0;
krishanprajapat 3:3e552e3f302a 19 int irqsrc = 0;
krishanprajapat 3:3e552e3f302a 20 int j = 0;
krishanprajapat 3:3e552e3f302a 21 int k = 0;
krishanprajapat 3:3e552e3f302a 22 int irq1=0;
krishanprajapat 3:3e552e3f302a 23 //ISR= 5;
krishanprajapat 3:3e552e3f302a 24 //unsigned char data[]={0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x78,0xE5,0xFA,0xD6,0x5C,0xC1,0x32,0xB4,0x23,0x7B,0xE0,0x84,0x33,0x7E,0x05,0x06,0xFB,0xA5,0x94,0x60,0xA8,0xA4,0x0B,0x94,0xCF,0xDD,0x81,0x7E,0x61,0x27,0x7C,0x24,0x24,0xAA,0xA6,0x4E,0x0E,0x7E,0xA7,0xB4,0x25,0xBA,0x82,0x00,0x9C,0x29,0xE0,0x14,0x2C,0x6B,0x62,0xEC,0x26,0x85,0x8B,0xDE,0x3F,0x4A,0x8C,0xB2,0x1C,0x74,0x30,0xA2,0x29,0x8C,0x61,0x26,0x4A,0x62,0xAD,0x10,0xBF,0x7D,0x2B,0x20,0x6E,0xE2,0xEB,0xB6,0xF8,0xDC,0xF0,0x14,0xEE,0xBB,0xF4,0x92,0x58,0x82,0x24,0x0E,0x22,0xF9,0x95,0x4E,0x31,0xE8,0xC4,0xAC,0x7C,0x11,0x43,0x7E,0x10,0x96,0x7D,0xBA,0x30,0x7F,0x77,0x1A,0x5A,0x95,0xFA,0x48,0x83,0xC1,0xF6,0x30,0xFD,0x86,0x33,0x72,0x47,0x35,0x9E,0x16,0xCF,0x6C,0xE4,0x44,0x82,0x1E,0x39,0x7E,0x2D,0x77,0x30,0x4E,0xAB,0x48,0xDE,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x08,0x4C,0xDF,0x80,0x50,0x5E,0xE9,0x66,0xC6,0x2A,0x29,0x00,0xB9,0x73,0xF7,0x62,0x97,0xF8,0x49,0xDC,0xC2,0x49,0x2A,0xA8,0x64,0xE3,0x9F,0xAA,0xFB,0x49,0x6E,0xA2,0xA0,0x27,0x0A,0x78,0x01,0x4B,0x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CD,0xCC,0x70,0xD6,0x78,0x54,0xF6,0x33,0x91,0x18,0x20,0x78,0xE5,0xFA,0xD6,0x5C,0xC1,0x32,0xB4,0x23,0x7B,0xE0,0x84,0x33,0x7E,0x05,0x06,0xFB,0xA5,0x94,0x60,0xA8,0xA4,0x0B,0x94,0xCF,0xDD,0x81,0x7E,0x61,0x27,0x7C,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x24,0xAA,0xA6,0x4E,0x0E,0x7E,0xA7,0xB4,0x25,0xBA,0x82,0x00,0x9C,0x29,0xE0,0x14,0x2C,0x6B,0x62,0xEC,0x26,0x85,0x8B,0xDE,0x3F,0x4A,0x8C,0xB2,0x1C,0x74,0x30,0xA2,0x29,0x8C,0x61,0x26,0x4A,0x62,0xAD,0x10,0xBF,0x7D,0x2B,0x20,0x6E,0xE2,0xEB,0xB6,0xF8,0xDC,0xF0,0x14,0xEE,0xBB,0xF4,0x92,0x58,0x82,0x24,0x0E,0x22,0xF9,0x95,0x4E,0x31,0xE8,0xC4,0xAC,0x7C,0x11,0x43,0x7E,0x10,0x96,0x7D,0xBA,0x30,0x7F,0x77,0x1A,0x5A,0x95,0xFA,0x48,0x83,0xC1,0xF6,0x30,0xFD,0x86,0x33,0x72,0x47,0x35,0x9E,0x16,0xCF,0x6C,0xE4,0x44,0x82,0x1E,0x39,0x7E,0x2D,0x77,0x30,0x4E,0xAB,0x48,0xDE,0xF8,0x08,0x4C,0xDF,0x80,0x50,0x5E,0xE9,0x66,0xC6,0x2A,0x29,0x00,0xB9,0x73,0xF7,0x62,0x97,0xF8,0x49,0xDC,0xC2,0x49,0x2A,0xA8,0x64,0xE3,0x9F,0xAA,0xFB,0x49,0x6E,0xA2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xA0,0x27,0x0A,0x78,0x01,0x4B,0x1A,0xD8,0x2E,0xC9,0xA1,0x62,0x3D,0xEF,0xD2,0xA0,0xCB,0x27,0x1D,0x0E,0x8A,0x2A,0x63,0x18,0x12,0x72,0x98,0xA8,0xD1,0x2F,0xDF,0x48,0xB2,0x1B,0xB8,0xB8,0xBB,0x5E,0x37,0x3C,0x01,0x7B,0xAE,0xFC,0x49,0x36,0x20,0x88,0x40,0xE8,0xBE,0x64,0x54,0xEC,0x7A,0x32,0xCA,0xDF,0x04,0x50,0x37,0xE4,0x25,0x9C,0xDB,0xAC,0x1F,0xDC,0x71,0xB6,0xA5,0x7C,0xA4,0xA0,0xF0,0x7C,0x63,0x3F,0x61,0x8C,0x37,0x31,0xCD,0x64,0xE1,0x53,0xDB,0x3A,0xC4,0x60,0x87,0x8C,0x97,0xEB,0x5D,0xCC,0x04,0xCA,0xD2,0x34,0xEF,0x82,0x13,0x36,0x78,0x14,0x17,0xB8,0x96,0x51,0x8A,0x88,0x90,0x2E,0x5C,0xFC,0x76,0x05,0xFE,0x12,0x1D,0xF0,0x92,0x4A,0x2A,0x99,0x38,0xE4,0xFA,0x9E,0xD2,0x58,0xEA,0x08,0x09,0xC0,0xA7,0x80,0x52,0xC4,0xAD,0x8B,0xB2,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
krishanprajapat 3:3e552e3f302a 25 //ISR = 5 Data7.txt
krishanprajapat 4:f21e8a5740ba 26 //unsigned char data[]={0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x61,0x85,0xAF,0xFA,0x52,0xFA,0x9A,0x08,0x93,0x12,0x65,0x60,0x97,0x7F,0xE6,0x46,0xC0,0x94,0x26,0x4E,0x9B,0x1F,0x1C,0x5E,0x3C,0x8B,0x75,0x2C,0xD1,0x00,0xA5,0xCA,0x6F,0xB0,0xED,0x3E,0xE8,0x79,0xFD,0x9A,0x3A,0x4F,0xCA,0x38,0xC9,0x09,0xCF,0x06,0xE3,0xCA,0x4E,0x26,0x0A,0x5D,0xCB,0x50,0x9E,0x3A,0x1E,0xD6,0x8E,0x1D,0x81,0x9C,0xA2,0xFF,0x3D,0xD2,0x66,0x52,0x0E,0x28,0x86,0x03,0x7F,0x48,0x96,0x0D,0xDF,0xAC,0x00,0x96,0xAF,0xF6,0xFD,0xE9,0x7F,0x20,0xE9,0x16,0xBD,0xA6,0x43,0x5D,0xB4,0x78,0x8A,0x1C,0xEC,0x4A,0xDF,0xF8,0x6C,0x8E,0x06,0xC5,0xF9,0x9A,0x12,0xA3,0xC3,0x56,0xC9,0x65,0x93,0xF0,0x3D,0x08,0x02,0x76,0x54,0x03,0xE0,0x6C,0x99,0x3B,0xC1,0x36,0x3A,0x36,0x68,0x34,0x38,0x58,0x61,0x68,0xFF,0xB4,0xBE,0xA6,0x20,0xA4,0xC4,0x98,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x56,0x25,0xDF,0xFA,0xE4,0x50,0x25,0x08,0x64,0xC6,0xC7,0xC6,0x45,0xEF,0x22,0xDE,0xD2,0xF4,0x40,0x28,0x5C,0xBB,0xEC,0x38,0xD3,0xDA,0x1E,0x7E,0x59,0xAE,0x93,0xF2,0x23,0xB2,0x42,0x70,0xF0,0x58,0xF2,0x90,0xE2,0x62,0x97,0x72,0x35,0x27,0x8E,0x84,0xED,0x43,0x87,0x62,0x99,0xE8,0xBF,0xCE,0x5D,0x39,0x94,0x82,0x62,0xA1,0x80,0xDC,0xF4,0xA5,0x83,0x74,0xFA,0xC0,0x25,0xA8,0xFF,0x5F,0x7A,0x5E,0x72,0x3A,0x45,0xAE,0x5A,0x70,0xD7,0x6E,0xC7,0xA2,0x87,0x3A,0x44,0x97,0xFE,0x18,0xC8,0xE1,0xB1,0x7C,0x99,0xA4,0xA8,0xF0,0x35,0x52,0x59,0x64,0x3F,0x0F,0x42,0x00,0x27,0x75,0x00,0xF8,0x06,0xE6,0x4E,0xF2,0x93,0x6E,0x8D,0x98,0x83,0x4E,0x16,0x18,0x16,0xBF,0xED,0x2E,0x6A,0x68,0x29,0x30,0x49,0x95,0x89,0x74,0xFF,0x99,0x14,0x0A,0xD0,0x99,0x31,0xB2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xFC,0x71,0x7B,0xCA,0xAD,0xD4,0xBD,0x10,0x02,0x97,0x2E,0xFA,0x43,0xB4,0xF6,0x86,0x67,0xF6,0x6B,0xA6,0xBF,0x28,0xEC,0x90,0x27,0x3C,0x16,0x3E,0xA9,0x38,0x98,0xA6,0xF7,0x2D,0x49,0xE2,0x68,0x7B,0x50,0xE0,0x76,0x06,0x7A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E,0xA6,0x20,0xA4,0xC4,0x98,0x56,0x25,0xDF,0xFA,0xE4,0x50,0x25,0x08,0x64,0xC6,0xC7,0xC6,0x45,0xEF,0x22,0xDE,0xD2,0xF4,0x40,0x28,0x5C,0xBB,0xEC,0x38,0xD3,0xDA,0x1E,0x7E,0x59,0xAE,0x93,0xF2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x23,0xB2,0x42,0x70,0xF0,0x58,0xF2,0x90,0xE2,0x62,0x97,0x72,0x35,0x27,0x8E,0x84,0xED,0x43,0x87,0x62,0x99,0xE8,0xBF,0xCE,0x5D,0x39,0x94,0x82,0x62,0xA1,0x80,0xDC,0xF4,0xA5,0x83,0x74,0xFA,0xC0,0x25,0xA8,0xFF,0x5F,0x7A,0x5E,0x72,0x3A,0x45,0xAE,0x5A,0x70,0xD7,0x6E,0xC7,0xA2,0x87,0x3A,0x44,0x97,0xFE,0x18,0xC8,0xE1,0xB1,0x7C,0x99,0xA4,0xA8,0xF0,0x35,0x52,0x59,0x64,0x3F,0x0F,0x42,0x00,0x27,0x75,0x00,0xF8,0x06,0xE6,0x4E,0xF2,0x93,0x6E,0x8D,0x98,0x83,0x4E,0x16,0x18,0x16,0xBF,0xED,0x2E,0x6A,0x68,0x29,0x30,0x49,0x95,0x89,0x74,0xFF,0x99,0x14,0x0A,0xD0,0x99,0x31,0xB2,0xFC,0x71,0x7B,0xCA,0xAD,0xD4,0xBD,0x10,0x02,0x97,0x2E,0xFA,0x43,0xB4,0xF6,0x86,0x67,0xF6,0x6B,0xA6,0xBF,0x28,0xEC,0x90,0x27,0x3C,0x16,0x3E,0xA9,0x38,0x98,0xA6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
krishanprajapat 3:3e552e3f302a 27 //FF 00 Gen data FF 00
krishanprajapat 5:a5f3a97f419c 28 //iser 25 Data7.txt
krishanprajapat 4:f21e8a5740ba 29 unsigned char data[]={0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x65,0xD3,0x06,0x08,0xBB,0xE7,0xCD,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x3C,0x04,0x1E,0x08,0xAD,0x23,0x3F,0x66,0x6A,0xFF,0xD4,0xB2,0xE0,0xAB,0xA9,0x0A,0x20,0x57,0x3A,0x48,0xD7,0x75,0x9B,0x78,0x41,0x62,0x89,0x3C,0xA1,0x23,0x38,0xA2,0xDA,0x05,0xA9,0xA4,0x4F,0x91,0xE2,0x7E,0x31,0x1F,0x93,0x50,0x3D,0x77,0xE2,0x7A,0x2E,0x15,0x9E,0x28,0xA2,0x6D,0x91,0xDC,0x36,0xDF,0x9E,0x18,0x16,0x47,0x99,0xCE,0xA9,0xDB,0x17,0x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,0x52,0xC6,0x08,0xAE,0xA4,0x2A,0x04,0x5C,0xE9,0x2D,0x76,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x56,0x6D,0xE4,0x16,0x0A,0x24,0xFA,0x12,0x0C,0xE2,0x85,0xA2,0x96,0xA6,0x94,0xF8,0x47,0x89,0xFB,0x12,0xFE,0x4D,0x43,0xD4,0xDF,0x89,0xEA,0xE0,0x56,0x78,0xAA,0x24,0xB6,0x47,0x73,0x6C,0x7E,0x78,0x61,0x64,0x1E,0x67,0x32,0x9C,0x6C,0x5C,0x3D,0xFE,0xB1,0xBB,0xEC,0x16,0xB2,0xC7,0x9F,0xBC,0xB9,0x1B,0x46,0x00,0x07,0x1B,0xCF,0x92,0xCE,0x74,0xDA,0xDE,0x84,0x9F,0x42,0x6A,0xEF,0x2C,0x2F,0xA4,0x56,0xE5,0x77,0x04,0x4E,0x19,0x5F,0x4C,0x30,0x45,0xD6,0x0A,0x9A,0x47,0x4B,0x36,0xEC,0x97,0xE5,0x94,0x09,0x1B,0xD9,0x86,0x90,0x77,0x31,0xE6,0xEC,0x95,0xAD,0x72,0x26,0x5C,0xBD,0x6E,0x3C,0x04,0x1E,0x08,0xAD,0x23,0x3F,0x66,0x6A,0xFF,0xD4,0xB2,0xE0,0xAB,0xA9,0x0A,0x20,0x57,0x3A,0x48,0xD7,0x75,0x9B,0x78,0x41,0x62,0x89,0x3C,0xA1,0x23,0x38,0xA2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xDA,0x05,0xA9,0xA4,0x4F,0x91,0xE2,0x7E,0x31,0x1F,0x93,0x50,0x3D,0x77,0xE2,0x7A,0x2E,0x15,0x9E,0x28,0xA2,0x6D,0x91,0xDC,0x36,0xDF,0x9E,0x18,0x16,0x47,0x99,0xCE,0xA9,0xDB,0x17,0x0C,0xDF,0xCC,0x6E,0xFA,0x41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2A,0x04,0x5C,0xE9,0x2D,0x76,0x56,0x6D,0xE4,0x16,0x0A,0x24,0xFA,0x12,0x0C,0xE2,0x85,0xA2,0x96,0xA6,0x94,0xF8,0x47,0x89,0xFB,0x12,0xFE,0x4D,0x43,0xD4,0xDF,0x89,0xEA,0xE0,0x56,0x78,0xAA,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xB6,0x47,0x73,0x6C,0x7E,0x78,0x61,0x64,0x1E,0x67,0x32,0x9C,0x6C,0x5C,0x3D,0xFE,0xB1,0xBB,0xEC,0x16,0xB2,0xC7,0x9F,0xBC,0xB9,0x1B,0x46,0x00,0x07,0x1B,0xCF,0x92,0xCE,0x74,0xDA,0xDE,0x84,0x9F,0x42,0x6A,0xEF,0x2C,0x2F,0xA4,0x56,0xE5,0x77,0x04,0x4E,0x19,0x5F,0x4C,0x30,0x45,0xD6,0x0A,0x9A,0x47,0x4B,0x36,0xEC,0x97,0xE5,0x94,0x09,0x1B,0xD9,0x86,0x90,0x77,0x31,0xE6,0xEC,0x95,0xAD,0x72,0x26,0x5C,0xBD,0x6E,0x3C,0x04,0x1E,0x08,0xAD,0x23,0x3F,0x66,0x6A,0xFF,0xD4,0xB2,0xE0,0xAB,0xA9,0x0A,0x20,0x57,0x3A,0x48,0xD7,0x75,0x9B,0x78,0x41,0x62,0x89,0x3C,0xA1,0x23,0x38,0xA2,0xDA,0x05,0xA9,0xA4,0x4F,0x91,0xE2,0x7E,0x31,0x1F,0x93,0x50,0x3D,0x77,0xE2,0x7A,0x2E,0x15,0x9E,0x28,0xA2,0x6D,0x91,0xDC,0x36,0xDF,0x9E,0x18,0x16,0x47,0x99,0xCE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xA9,0xDB,0x17,0x0C,0xDF,0xCC,0x6E,0xFA,0x41,0x4C,0xB1,0xE6,0x7B,0xEE,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00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x7A,0x55,0xB9,0x5C,0x70,0x53,0x86,0x56,0x74,0xCC,0x11,0x74,0x60,0x86,0x91,0xD2,0x33,0x5B,0x25,0xFA,0xD9,0x42,0x46,0xF6,0x18,0x44,0x1D,0xCC,0x1E,0x5B,0x25,0x6A,0x57,0x29,0x97,0x2C,0xD6,0xEF,0x01,0x04,0xE0,0xAB,0x48,0xCC,0xF6,0x7A,0xBF,0xF6,0xCB,0x18,0x2A,0xE8,0x90,0xA8,0x15,0xCC,0xA4,0xB5,0xDD,0x66,0x37,0x90,0x58,0xA0,0x93,0xE8,0x48,0xCC,0x8A,0x16,0x81,0x6A,0x1A,0x53,0xE4,0x7A,0xA7,0xEC,0x47,0xE4,0x35,0x0F,0x5D,0xF8,0x27,0xAB,0x85,0x66,0x62,0xA8,0x9B,0x64,0x1D,0xCD,0xB7,0xE6,0x61,0x85,0x91,0xE6,0x1C,0xCA,0x76,0xC6,0xF0,0xF7,0xF3,0x1A,0x6F,0xB0,0x53,0x2C,0x1E,0x7E,0xFB,0x92,0xED,0x18,0x00,0x72,0xEF,0x3E,0x44,0xE4,0xD3,0x6B,0x70,0x4A,0xFD,0x09,0xA6,0xF2,0x30,0xBE,0x95,0x6C,0x95,0xDC,0x14,0xE0,0x65,0x7D,0x33,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x97,0x58,0x21,0xA6,0x9D,0x2C,0xD6,0xC8,0x5F,0x96,0x50,0x90,0x6F,0x66,0x11,0x06,0x5C,0xC7,0x96,0xC8,0x56,0xB5,0xCA,0x64,0x72,0xF5,0xBB,0xC0,0x10,0x78,0x2A,0xD2,0x0C,0xFD,0x9E,0xAC,0xFF,0x52,0xC6,0x08,0xAE,0xA4,0x2A,0x04,0x5C,0xE9,0x2D,0x76,0x56,0x6D,0xE4,0x16,0x0A,0x24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x56,0x74,0xCC,0x11,0x74,0x60,0x86,0x91,0xD2,0x33,0x5B,0x25,0xFA,0xD9,0x42,0x46,0xF6,0x18,0x44,0x1D,0xCC,0x1E,0x5B,0x25,0x6A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x57,0x29,0x97,0x2C,0xD6,0xEF,0x01,0x04,0xE0,0xAB,0x48,0xCC,0xF6,0x7A,0xBF,0xF6,0xCB,0x18,0x2A,0xE8,0x90,0xA8,0x15,0xCC,0xA4,0xB5,0xDD,0x66,0x37,0x90,0x58,0xA0,0x93,0xE8,0x48,0xCC,0x8A,0x16,0x81,0x6A,0x1A,0x53,0xE4,0x7A,0xA7,0xEC,0x47,0xE4,0x35,0x0F,0x5D,0xF8,0x27,0xAB,0x85,0x66,0x62,0xA8,0x9B,0x64,0x1D,0xCD,0xB7,0xE6,0x61,0x85,0x91,0xE6,0x1C,0xCA,0x76,0xC6,0xF0,0xF7,0xF3,0x1A,0x6F,0xB0,0x53,0x2C,0x1E,0x7E,0xFB,0x92,0xED,0x18,0x00,0x72,0xEF,0x3E,0x44,0xE4,0xD3,0x6B,0x70,0x4A,0xFD,0x09,0xA6,0xF2,0x30,0xBE,0x95,0x6C,0x95,0xDC,0x14,0xE0,0x65,0x7D,0x33,0x06,0x97,0x58,0x21,0xA6,0x9D,0x2C,0xD6,0xC8,0x5F,0x96,0x50,0x90,0x6F,0x66,0x11,0x06,0x5C,0xC7,0x96,0xC8,0x56,0xB5,0xCA,0x64,0x72,0xF5,0xBB,0xC0,0x10,0x78,0x2A,0xD2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x0C,0xFD,0x9E,0xAC,0xFF,0x52,0xC6,0x08,0xAE,0xA4,0x2A,0x04,0x5C,0xE9,0x2D,0x76,0x56,0x6D,0xE4,0x16,0x0A,0x24,0xFA,0x12,0x0C,0xE2,0x85,0x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86,0x91,0xD2,0x33,0x5B,0x25,0xFA,0xD9,0x42,0x46,0xF6,0x18,0x44,0x1D,0xCC,0x1E,0x5B,0x25,0x6A,0x57,0x29,0x97,0x2C,0xD6,0xEF,0x01,0x04,0xE0,0xAB,0x48,0xCC,0xF6,0x7A,0xBF,0xF6,0xCB,0x18,0x2A,0xE8,0x90,0xA8,0x15,0xCC,0xA4,0xB5,0xDD,0x66,0x37,0x90,0x58,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x93,0xE8,0x48,0xCC,0x8A,0x16,0x81,0x6A,0x1A,0x53,0xE4,0x7A,0xA7,0xEC,0x47,0xE4,0x35,0x0F,0x5D,0xF8,0x27,0xAB,0x85,0x66,0x62,0xA8,0x9B,0x64,0x1D,0xCD,0xB7,0xE6,0x61,0x85,0x91,0xE6,0x1C,0xCA,0x76,0xC6,0xF0,0xF7,0xF3,0x1A,0x6F,0xB0,0x53,0x2C,0x1E,0x7E,0xFB,0x92,0xED,0x18,0x00,0x72,0xEF,0x3E,0x44,0xE4,0xD3,0x6B,0x70,0x4A,0xFD,0x09,0xA6,0xF2,0x30,0xBE,0x95,0x6C,0x95,0xDC,0x14,0xE0,0x65,0x7D,0x33,0x06,0x97,0x58,0x21,0xA6,0x9D,0x2C,0xD6,0xC8,0x5F,0x96,0x50,0x90,0x6F,0x66,0x11,0x06,0x5C,0xC7,0x96,0xC8,0x56,0xB5,0xCA,0x64,0x72,0xF5,0xBB,0xC0,0x10,0x78,0x2A,0xD2,0x0C,0xFD,0x9E,0xAC,0xFF,0x52,0xC6,0x08,0xAE,0xA4,0x2A,0x04,0x5C,0xE9,0x2D,0x76,0x56,0x6D,0xE4,0x16,0x0A,0x24,0xFA,0x12,0x0C,0xE2,0x85,0xA2,0x96,0xA6,0x94,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x47,0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,0x78,0x61,0x64,0x1E,0x67,0x32,0x9C,0x6C,0x5C,0x3D,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0xB1,0xBB,0xEC,0x16,0xB2,0xC7,0x9F,0xBC,0xB9,0x1B,0x46,0x00,0x07,0x1B,0xCF,0x92,0xCE,0x74,0xDA,0xDE,0x84,0x9F,0x42,0x6A,0xEF,0x2C,0x2F,0xA4,0x56,0xE5,0x77,0x04,0x4E,0x19,0x5F,0x4C,0x30,0x45,0xD6,0x0A,0x9A,0x47,0x4B,0x36,0xEC,0x97,0xE5,0x94,0x09,0x1B,0xD9,0x86,0x90,0x77,0x31,0xE6,0xEC,0x95,0xAD,0x72,0x26,0x5C,0xBD,0x6E,0x3C,0x04,0x1E,0x08,0xAD,0x23,0x3F,0x66,0x6A,0xFF,0xD4,0xB2,0xE0,0xAB,0xA9,0x0A,0x20,0x57,0x3A,0x48,0xD7,0x75,0x9B,0x78,0x41,0x62,0x89,0x3C,0xA1,0x23,0x38,0xA2,0xDA,0x05,0xA9,0xA4,0x4F,0x91,0xE2,0x7E,0x31,0x1F,0x93,0x50,0x3D,0x77,0xE2,0x7A,0x2E,0x15,0x9E,0x28,0xA2,0x6D,0x91,0xDC,0x36,0xDF,0x9E,0x18,0x16,0x47,0x99,0xCE,0xA9,0xDB,0x17,0x0C,0xDF,0xCC,0x6E,0xFA,0x41,0x4C,0xB1,0xE6,0x7B,0xEE,0x46,0xD0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x60,0x01,0xC6,0xF2,0x79,0x13,0x9D,0x34,0xAD,0xC1,0x27,0xD2,0xA6,0x9B,0xCB,0x0A,0x7A,0x55,0xB9,0x5C,0x70,0x53,0x86,0x56,0x74,0xCC,0x11,0x74,0x60,0x86,0x91,0xD2,0x33,0x5B,0x25,0xFA,0xD9,0x42,0x46,0xF6,0x18,0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0x9C,0x6C,0x5C,0x3D,0xFE,0xB1,0xBB,0xEC,0x16,0xB2,0xC7,0x9F,0xBC,0xB9,0x1B,0x46,0x00,0x07,0x1B,0xCF,0x92,0xCE,0x74,0xDA,0xDE,0x84,0x9F,0x42,0x6A,0xEF,0x2C,0x2F,0xA4,0x56,0xE5,0x77,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x4E,0x19,0x5F,0x4C,0x30,0x45,0xD6,0x0A,0x9A,0x47,0x4B,0x36,0xEC,0x97,0xE5,0x94,0x09,0x1B,0xD9,0x86,0x90,0x77,0x31,0xE6,0xEC,0x95,0xAD,0x72,0x26,0x5C,0xBD,0x6E,0x3C,0x04,0x1E,0x08,0xAD,0x23,0x3F,0x66,0x6A,0xFF,0xD4,0xB2,0xE0,0xAB,0xA9,0x0A,0x20,0x57,0x3A,0x48,0xD7,0x75,0x9B,0x78,0x41,0x62,0x89,0x3C,0xA1,0x23,0x38,0xA2,0xDA,0x05,0xA9,0xA4,0x4F,0x91,0xE2,0x7E,0x31,0x1F,0x93,0x50,0x3D,0x77,0xE2,0x7A,0x2E,0x15,0x9E,0x28,0xA2,0x6D,0x91,0xDC,0x36,0xDF,0x9E,0x18,0x16,0x47,0x99,0xCE,0xA9,0xDB,0x17,0x0C,0xDF,0xCC,0x6E,0xFA,0x41,0x4C,0xB1,0xE6,0x7B,0xEE,0x46,0xD0,0x60,0x01,0xC6,0xF2,0x79,0x13,0x9D,0x34,0xAD,0xC1,0x27,0xD2,0xA6,0x9B,0xCB,0x0A,0x7A,0x55,0xB9,0x5C,0x70,0x53,0x86,0x56,0x74,0xCC,0x11,0x74,0x60,0x86,0x91,0xD2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x20,0xE5,0xEE,0x00,0x33,0x5B,0x25,0xFA,0xD9,0x42,0x46,0xF6,0x18,0x44,0x1D,0xCC,0x1E,0x5B,0x25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xB1,0xBB,0xEC,0x16,0xB2,0xC7,0x9F,0xBC,0xB9,0x1B,0x46,0x00,0x07,0x1B,0xCF,0x92,0xCE,0x74,0xDA,0xDE,0x84,0x9F,0x42,0x6A,0xEF,0x2C,0x2F,0xA4,0x56,0xE5,0x77,0x04,0x4E,0x19,0x5F,0x4C,0x30,0x45,0xD6,0x0A,0x9A,0x47,0x4B,0x36,0xEC,0x97,0xE5,0x94,0x09,0x1B,0xD9,0x86,0x90,0x77,0x31,0xE6,0xEC,0x95,0xAD,0x72,0x26,0x5C,0xBD,0x6E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x59,0x97,0x4C,0x18,0x22,0xEF,0x9F,0x34,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
krishanprajapat 3:3e552e3f302a 30 /***********************************************************************************/
krishanprajapat 3:3e552e3f302a 31 void bbram_write()
krishanprajapat 3:3e552e3f302a 32 {
krishanprajapat 3:3e552e3f302a 33 CS=0;
krishanprajapat 3:3e552e3f302a 34 adf.write(0xB0);//PHY_OFF
krishanprajapat 3:3e552e3f302a 35 wait_ms(2);
krishanprajapat 3:3e552e3f302a 36 CS=1;
krishanprajapat 3:3e552e3f302a 37
krishanprajapat 3:3e552e3f302a 38 // Write bbram
krishanprajapat 3:3e552e3f302a 39 CS=0;
krishanprajapat 3:3e552e3f302a 40 adf.write(0x19);
krishanprajapat 3:3e552e3f302a 41 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 42 adf.write(0x60);
krishanprajapat 3:3e552e3f302a 43 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 44
krishanprajapat 3:3e552e3f302a 45 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 46 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 47 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 48 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 49
krishanprajapat 3:3e552e3f302a 50 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 51 adf.write(0x33);
krishanprajapat 3:3e552e3f302a 52 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 53 adf.write(0xF4);//Frequency Register F9 = 435.802 MHz F4 = 435.800 MHz
krishanprajapat 3:3e552e3f302a 54
krishanprajapat 3:3e552e3f302a 55 adf.write(0xC2);
krishanprajapat 3:3e552e3f302a 56 adf.write(0x10);
krishanprajapat 3:3e552e3f302a 57 adf.write(0xC0);
krishanprajapat 3:3e552e3f302a 58 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 59
krishanprajapat 3:3e552e3f302a 60 adf.write(0x30);
krishanprajapat 3:3e552e3f302a 61 adf.write(0x31);
krishanprajapat 3:3e552e3f302a 62 adf.write(0x07);
krishanprajapat 3:3e552e3f302a 63 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 64
krishanprajapat 3:3e552e3f302a 65 adf.write(0x01);
krishanprajapat 3:3e552e3f302a 66 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 67 adf.write(0x7F);
krishanprajapat 3:3e552e3f302a 68 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 69
krishanprajapat 3:3e552e3f302a 70 adf.write(0x0B);
krishanprajapat 3:3e552e3f302a 71 adf.write(0x37);
krishanprajapat 3:3e552e3f302a 72 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 73 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 74
krishanprajapat 3:3e552e3f302a 75 adf.write(0x40);
krishanprajapat 3:3e552e3f302a 76 adf.write(0x0C);
krishanprajapat 3:3e552e3f302a 77 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 78 adf.write(0x05);
krishanprajapat 3:3e552e3f302a 79
krishanprajapat 3:3e552e3f302a 80 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 81 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 82 adf.write(0x18);
krishanprajapat 3:3e552e3f302a 83 adf.write(0x12);
krishanprajapat 3:3e552e3f302a 84
krishanprajapat 3:3e552e3f302a 85 adf.write(0x34);
krishanprajapat 3:3e552e3f302a 86 adf.write(0x56);
krishanprajapat 3:3e552e3f302a 87 adf.write(0x10);
krishanprajapat 3:3e552e3f302a 88 adf.write(0x10);
krishanprajapat 3:3e552e3f302a 89
krishanprajapat 3:3e552e3f302a 90 adf.write(0xC4); // Different
krishanprajapat 3:3e552e3f302a 91 adf.write(0x14);
krishanprajapat 3:3e552e3f302a 92 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 93 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 94
krishanprajapat 3:3e552e3f302a 95 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 96 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 97 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 98 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 99
krishanprajapat 3:3e552e3f302a 100 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 101 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 102 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 103 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 104
krishanprajapat 3:3e552e3f302a 105 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 106 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 107 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 108 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 109
krishanprajapat 3:3e552e3f302a 110 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 111 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 112 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 113 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 114
krishanprajapat 3:3e552e3f302a 115 adf.write(0x04);
krishanprajapat 3:3e552e3f302a 116 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 117 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 118 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 119
krishanprajapat 3:3e552e3f302a 120 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 121 adf.write(0x00);
krishanprajapat 3:3e552e3f302a 122 CS=1;
krishanprajapat 3:3e552e3f302a 123 wait(1);
krishanprajapat 3:3e552e3f302a 124
krishanprajapat 3:3e552e3f302a 125 }
krishanprajapat 3:3e552e3f302a 126
krishanprajapat 3:3e552e3f302a 127
krishanprajapat 3:3e552e3f302a 128 /******************************************************************************************/
krishanprajapat 3:3e552e3f302a 129
krishanprajapat 3:3e552e3f302a 130 void initiate(void){
krishanprajapat 3:3e552e3f302a 131
krishanprajapat 3:3e552e3f302a 132 CS=0;
krishanprajapat 3:3e552e3f302a 133 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 134 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 135 CS=1;
krishanprajapat 3:3e552e3f302a 136 wait_ms(2);
mbed_official 0:466ad3f38b6b 137
krishanprajapat 3:3e552e3f302a 138 CS=0;
krishanprajapat 3:3e552e3f302a 139 adf.write(0x08); // TRANSMIT_DATA LENGTH
krishanprajapat 3:3e552e3f302a 140 adf.write(0x14);
krishanprajapat 4:f21e8a5740ba 141 adf.write(0x2F);
krishanprajapat 3:3e552e3f302a 142 CS=1;
krishanprajapat 3:3e552e3f302a 143 wait_ms(2);
krishanprajapat 3:3e552e3f302a 144 CS=0;
krishanprajapat 3:3e552e3f302a 145 adf.write(0x08); // TRANSMIT_DATA LENGTH
krishanprajapat 3:3e552e3f302a 146 adf.write(0x15);
krishanprajapat 4:f21e8a5740ba 147 adf.write(0x10);
krishanprajapat 3:3e552e3f302a 148 CS=1;
krishanprajapat 3:3e552e3f302a 149 wait_ms(2);
krishanprajapat 3:3e552e3f302a 150
krishanprajapat 3:3e552e3f302a 151 CS=0;
krishanprajapat 3:3e552e3f302a 152 adf.write(0x09);
krishanprajapat 3:3e552e3f302a 153 adf.write(0x24); // TX_BASE ADDRESS 0x20(starting Tx Byte)
krishanprajapat 3:3e552e3f302a 154 adf.write(0x20);
krishanprajapat 3:3e552e3f302a 155 CS=1;
krishanprajapat 3:3e552e3f302a 156 wait_ms(2);
krishanprajapat 3:3e552e3f302a 157
krishanprajapat 3:3e552e3f302a 158 CS=0;
krishanprajapat 3:3e552e3f302a 159 adf.write(0x09);
krishanprajapat 3:3e552e3f302a 160 adf.write(0x37);// BUFFER SIZE 0xE0=224 Bytes 0x137 is adress of buffer size
krishanprajapat 3:3e552e3f302a 161 adf.write(0xE0);
krishanprajapat 3:3e552e3f302a 162 CS=1;
krishanprajapat 3:3e552e3f302a 163 wait_ms(2);
krishanprajapat 3:3e552e3f302a 164
krishanprajapat 3:3e552e3f302a 165 CS=0;
krishanprajapat 3:3e552e3f302a 166 adf.write(0x09);
krishanprajapat 3:3e552e3f302a 167 adf.write(0x36);//BB_Tx_Buffer Signal when Buffer is half filled
krishanprajapat 3:3e552e3f302a 168 adf.write(0x70);//0x70 = 112 >> When Half buffer interrupt is given
krishanprajapat 3:3e552e3f302a 169 CS=1;
krishanprajapat 3:3e552e3f302a 170 wait_ms(2);
krishanprajapat 3:3e552e3f302a 171
krishanprajapat 3:3e552e3f302a 172
krishanprajapat 3:3e552e3f302a 173 CS=0;
krishanprajapat 3:3e552e3f302a 174 adf.write(0x09);
krishanprajapat 3:3e552e3f302a 175 adf.write(0x39);//BB_Tx_Buffer Signal when Buffer is half filled
krishanprajapat 3:3e552e3f302a 176 adf.write(0x10);//0x70 = 112 >> When Half buffer interrupt is given
krishanprajapat 3:3e552e3f302a 177 CS=1;
krishanprajapat 3:3e552e3f302a 178 wait_ms(2);
krishanprajapat 3:3e552e3f302a 179
krishanprajapat 3:3e552e3f302a 180
krishanprajapat 3:3e552e3f302a 181
krishanprajapat 3:3e552e3f302a 182
krishanprajapat 3:3e552e3f302a 183 }
krishanprajapat 3:3e552e3f302a 184
krishanprajapat 5:a5f3a97f419c 185
krishanprajapat 3:3e552e3f302a 186 void write_data(void){
krishanprajapat 3:3e552e3f302a 187 cout<<"3"<<ENDL;
krishanprajapat 3:3e552e3f302a 188 wait_ms(5);
krishanprajapat 3:3e552e3f302a 189 CS=0;
krishanprajapat 3:3e552e3f302a 190 adf.write(0x0B);//IRQ_SOURCE_Random write //To read CMD = 2B 36 FF FF
krishanprajapat 3:3e552e3f302a 191 adf.write(0x36);//Address : 0x336
krishanprajapat 3:3e552e3f302a 192 adf.write(0xFF);//Put Low
krishanprajapat 3:3e552e3f302a 193 CS=1;
krishanprajapat 3:3e552e3f302a 194 wait_us(80);
krishanprajapat 3:3e552e3f302a 195 CS=0;
krishanprajapat 3:3e552e3f302a 196
krishanprajapat 3:3e552e3f302a 197
krishanprajapat 3:3e552e3f302a 198 CS=0;
krishanprajapat 3:3e552e3f302a 199 k=0;
krishanprajapat 3:3e552e3f302a 200
krishanprajapat 3:3e552e3f302a 201 if(!j){
krishanprajapat 3:3e552e3f302a 202 adf.write(0x18);
krishanprajapat 3:3e552e3f302a 203 adf.write(0x20);
krishanprajapat 3:3e552e3f302a 204 while(k<=223){
krishanprajapat 3:3e552e3f302a 205
krishanprajapat 3:3e552e3f302a 206 adf.write(data[k]);
krishanprajapat 3:3e552e3f302a 207 k++;
krishanprajapat 3:3e552e3f302a 208 }
krishanprajapat 3:3e552e3f302a 209
krishanprajapat 3:3e552e3f302a 210 }
krishanprajapat 3:3e552e3f302a 211
krishanprajapat 4:f21e8a5740ba 212 else if(j<=sizeof(data)/112){
krishanprajapat 3:3e552e3f302a 213 // if(src == 1){
krishanprajapat 3:3e552e3f302a 214 if(j%2){ //src== Buffer Half Full src == 1
krishanprajapat 3:3e552e3f302a 215 adf.write(0x18);
krishanprajapat 3:3e552e3f302a 216 adf.write(0x20);
krishanprajapat 3:3e552e3f302a 217 }
krishanprajapat 3:3e552e3f302a 218
krishanprajapat 3:3e552e3f302a 219 // else if(src==2){
krishanprajapat 3:3e552e3f302a 220 else{ //src== Buffer is Full src==2
krishanprajapat 3:3e552e3f302a 221 adf.write(0x18);
krishanprajapat 3:3e552e3f302a 222 adf.write(0x90);
krishanprajapat 3:3e552e3f302a 223 }
krishanprajapat 3:3e552e3f302a 224
krishanprajapat 3:3e552e3f302a 225
krishanprajapat 3:3e552e3f302a 226 while(k<=111){
krishanprajapat 5:a5f3a97f419c 227 if(((j+1)*112+k)>=sizeof(data))
krishanprajapat 5:a5f3a97f419c 228 {
krishanprajapat 5:a5f3a97f419c 229 ticker.detach();
krishanprajapat 5:a5f3a97f419c 230 break;
krishanprajapat 5:a5f3a97f419c 231 }
krishanprajapat 3:3e552e3f302a 232 adf.write(data[(j+1)*112+k]);
krishanprajapat 3:3e552e3f302a 233 k++;
krishanprajapat 3:3e552e3f302a 234
krishanprajapat 3:3e552e3f302a 235 }
krishanprajapat 3:3e552e3f302a 236 }
krishanprajapat 3:3e552e3f302a 237 j++;
krishanprajapat 3:3e552e3f302a 238 CS=1;
krishanprajapat 3:3e552e3f302a 239 wait_us(1);
krishanprajapat 3:3e552e3f302a 240 }
krishanprajapat 5:a5f3a97f419c 241
krishanprajapat 3:3e552e3f302a 242 void send_data(void){
krishanprajapat 3:3e552e3f302a 243
krishanprajapat 3:3e552e3f302a 244 CS=0;
krishanprajapat 3:3e552e3f302a 245 adf.write(0xBB);
krishanprajapat 3:3e552e3f302a 246 CS=1;
krishanprajapat 3:3e552e3f302a 247 wait_ms(2);
krishanprajapat 3:3e552e3f302a 248
krishanprajapat 3:3e552e3f302a 249 CS=0;
krishanprajapat 3:3e552e3f302a 250 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 251 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 252 CS=1;
krishanprajapat 3:3e552e3f302a 253 wait_ms(2);
krishanprajapat 3:3e552e3f302a 254
krishanprajapat 3:3e552e3f302a 255 write_data();
krishanprajapat 3:3e552e3f302a 256
krishanprajapat 3:3e552e3f302a 257 CS=0;
krishanprajapat 3:3e552e3f302a 258 adf.write(0xB1);
krishanprajapat 3:3e552e3f302a 259 CS=1;
krishanprajapat 3:3e552e3f302a 260 wait_ms(2);
krishanprajapat 3:3e552e3f302a 261
krishanprajapat 3:3e552e3f302a 262 CS=0;
krishanprajapat 3:3e552e3f302a 263 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 264 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 265 CS=1;
krishanprajapat 3:3e552e3f302a 266 wait_ms(2);
krishanprajapat 3:3e552e3f302a 267
krishanprajapat 3:3e552e3f302a 268 CS=0;
krishanprajapat 3:3e552e3f302a 269 adf.write(0xB5);
krishanprajapat 3:3e552e3f302a 270 CS=1;
krishanprajapat 3:3e552e3f302a 271 wait_ms(2);
krishanprajapat 3:3e552e3f302a 272
krishanprajapat 3:3e552e3f302a 273 CS=0;
krishanprajapat 3:3e552e3f302a 274 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 275 adf.write(0xFF);
krishanprajapat 3:3e552e3f302a 276 CS=1;
krishanprajapat 3:3e552e3f302a 277 wait_ms(2);
krishanprajapat 3:3e552e3f302a 278 }
krishanprajapat 3:3e552e3f302a 279 int x = IRQ;
krishanprajapat 5:a5f3a97f419c 280 void check()
krishanprajapat 5:a5f3a97f419c 281 {
krishanprajapat 5:a5f3a97f419c 282 x = IRQ;
krishanprajapat 3:3e552e3f302a 283 if(x){
krishanprajapat 3:3e552e3f302a 284
krishanprajapat 3:3e552e3f302a 285 write_data();
krishanprajapat 3:3e552e3f302a 286
krishanprajapat 3:3e552e3f302a 287 }
krishanprajapat 3:3e552e3f302a 288 }
krishanprajapat 5:a5f3a97f419c 289
krishanprajapat 5:a5f3a97f419c 290 int main()
krishanprajapat 3:3e552e3f302a 291 {
krishanprajapat 3:3e552e3f302a 292 cout<<"in MAin"<<ENDL;
krishanprajapat 3:3e552e3f302a 293 adf.format(8,0);
krishanprajapat 3:3e552e3f302a 294 adf.frequency(1000000);
krishanprajapat 3:3e552e3f302a 295 bbram_write();
krishanprajapat 3:3e552e3f302a 296 cout<<"bbram written"<<ENDL;
krishanprajapat 3:3e552e3f302a 297 initiate();
krishanprajapat 3:3e552e3f302a 298 cout<<"Initiated to Rolling buffer mode"<<ENDL;
krishanprajapat 3:3e552e3f302a 299 send_data();
krishanprajapat 5:a5f3a97f419c 300 ticker.attach_us(&check,32000);
krishanprajapat 3:3e552e3f302a 301 while(1)
krishanprajapat 3:3e552e3f302a 302 {
krishanprajapat 3:3e552e3f302a 303 // call();
krishanprajapat 3:3e552e3f302a 304 // led2=!led2;
krishanprajapat 3:3e552e3f302a 305 }
krishanprajapat 3:3e552e3f302a 306
krishanprajapat 3:3e552e3f302a 307 }