Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Communication between microcontroller and RF device

Status
Not open for further replies.

dratthenez

Newbie level 3
Joined
Jul 7, 2010
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Malaysia
Activity points
1,309
Could anyone help me with C programming to create a function to transfer a 32 bits of data to RF device using msp430fg4618 and trf372017?

Need guidance immediately coz I have to complete my final year project...
 

your RF Device has a SPI interface protocol you need to program your MCU to handle SPI Communication
you can not simply send 32 bits of data first you need to configure your RF Device then you can send your data
 
How to configure my device? Or do you meant the circuitry connection?

And I have a simple program as followed, could anyone teach me how to spit in .h file and .c file
typedef struct RF{

int32 register1;
int32 register2;
int32 register3;
int32 register4;
int32 register5;
int32 register6;
int32 register7;
}register1,register2,register3,register4,register5,register6,register7;


void main(){

register1(....)


}
register1(){
.....
}


is the syntac ok? is int32 defined in msp430 compiler? what does for example 0x99 and 0x01 means in int32(interpretation in 32 bit)?
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top