Hi everyone,
I am trying to get CC2500 working and I can't even achieve to create a link between them two. I have an AP which is trying to create a link and I have an End Device always listenning for a link request in an infinite loop. The ED routine is:
- Turn radio on.
-SMPL_LinkListen
- Turn radio off
And do it again and again and again.
I checked the physical connexion and everything looks good. When I the AP try to create the link, I can see GDO0 going from low to high and then to low again. Apparently, this mean that something has been received.
So first, I put a breakpoint in Mrfi_SyncPinRxIsr (mrfi_radio.c). Nothing happend. So I thought it was something about interruption. I looked for it hardly, and I found the magic thing:
- If I stop my debug right after GDO0 went from high to low, the software stopped in BSP_Delay (in bsp_board.c) on the while(!(TACCTL0 & CCIFG));.
- Then, I pressed "play" again, and the debugger reached my breakpoint! However if I don't stop it manually, it won't reach them. (I tried to turn on a LED instead and run it not in debug mode and then in debug mode, the result was the same).
I put this strange thing on a side. Then I realized that rxBytes value was 0XC1, which means FIFO OVERFLOW. And it is always the case! I have no idea why. Does someone have a lead on a potential solution? Any help will be much appreciate!
Here is my configuration:
- µC: MSP430F2617
- RF Chip: CC2500
The registrer of the CC2500 are (same for AP and ED):
(Please visit the site to view this file)
Thank you a lot!!
Have a good day
Regards,
Sébastien