TI E2E Community - Re: MSP430 vs Stellaris?ARM?Cortexâ„¢-M3 MCUs
I would say that for any application you are trying to develop, you want to see which device has hardware tools and software that are ready to be used. Specifically in your case: HID: Stellaris aleady has USB driver library in the...
2009年10月9日 星期五
Driver for RF CC1101 on TI Stellaris ARM Cortex-M3 MCU
Hi Guys,
Thanks for interested in this ported driver:
RF CC1100 on TI Stellaris ARM Cortex-M3 MCU
Part of the source code:
//Register Process API Function
void FWrite_one_byte_to_RF(unsigned char bData)
{
unsigned long ulData;
SSIDataPut(SSI0_BASE, bData);
SSIDataGet(SSI0_BASE,&ulData);
}
void FRead_one_byte_from_RF(unsigned long *ulData)
{
SSIDataPut(SSI0_BASE, 0x00);
SSIDataGet(SSI0_BASE,ulData);
}
void FWrite_register_to_CC2500_CC1100(unsigned char Bp_w_address,unsigned char Bp_w_data)
{
CSN_LOW();
while(Is_CC1100_BUSY());
FWrite_one_byte_to_RF(Bp_w_address);
FWrite_one_byte_to_RF(Bp_w_data); CSN_HIGH();
}
Please give me your e-mail, I will send the source code to you.
Try it, it is cool. Yeah!!!
Stan
Thanks for interested in this ported driver:
RF CC1100 on TI Stellaris ARM Cortex-M3 MCU
Part of the source code:
//Register Process API Function
void FWrite_one_byte_to_RF(unsigned char bData)
{
unsigned long ulData;
SSIDataPut(SSI0_BASE, bData);
SSIDataGet(SSI0_BASE,&ulData);
}
void FRead_one_byte_from_RF(unsigned long *ulData)
{
SSIDataPut(SSI0_BASE, 0x00);
SSIDataGet(SSI0_BASE,ulData);
}
void FWrite_register_to_CC2500_CC1100(unsigned char Bp_w_address,unsigned char Bp_w_data)
{
CSN_LOW();
while(Is_CC1100_BUSY());
FWrite_one_byte_to_RF(Bp_w_address);
FWrite_one_byte_to_RF(Bp_w_data); CSN_HIGH();
}
Please give me your e-mail, I will send the source code to you.
Try it, it is cool. Yeah!!!
Stan
訂閱:
文章 (Atom)