hi guys !
i am trying to send and receive a byte by using cc110ldk_em_433 and MSP-EXP430F559
by now i can config cc110l via spi
i wroted value to registers and read them. so i think i configed cc110l truthly
i use smartstudio to get vale for each register
problem is cc110l can not send data (GDO0 not change , althought i set IOCFG0 =0x06
this my code
void RFSendPacket(char *txBuffer, char size)
{
//TI_CC_GDO0_PxIE &= ~TI_CC_GDO0_PIN;
TI_CC_SPIWriteBurstReg(TI_CCxxx0_TXFIFO, txBuffer, size); // Write TX data
TI_CC_SPIStrobe(TI_CCxxx0_STX); // Change state to TX, initiating
// data transfer
while (!(TI_CC_GDO0_PxIN&TI_CC_GDO0_PIN));while (TI_CC_GDO0_PxIN&TI_CC_GDO0_PIN);
//_delay_cycles(15000);
TI_CC_GDO0_PxIE |= TI_CC_GDO0_PIN;
TI_CC_GDO0_PxIFG &= ~TI_CC_GDO0_PIN; // After pkt TX, this flag is set.
// Has to be cleared before existing
}
fullcode i'll upload later (my company's internet doesnt allow upload anything)
please help. thanks
sory for bad english