Hello,
I am currently using the Basic RF and HAL RF from the CC2530 Software Examples User's Guide. I am trying to transmit the Timer 2 values over RF but the payload are always zero when I am trying to read the timer values from the registers. If I set the payload to be any arbitrary integer, like 0xAA, I can see it transmitted in the Packet Sniffer. Here is my settings on transmitting the Timer 2 values:
T2MSEL &= ~0x77;
pTxData[0] = T2M0;
pTxData[1] = T2M1;
pTxData[2] = T2MOVF0;
pTxData[3] = T2MOVF1;
pTxData[4] = T2MOVF2;
I know that my Timer 2 is working and I can transmit any arbitrary integer using RF. Am I doing something wrong? Please help
- JC de Dios