Good afternoon~all
I am doing a project about wireless communication based on PIC24 while the chip I used is CC2500. In my laboratory,the program which run in the operate systems is written by myself. It receives and sends an array in the physical layer. I don’t know why the receiving program ran out after running Dozens of minutes and then the led can’t light as normal. I have checked it a long time. But I can’t still find where’s wrong !
Could you help me? (my code is so long that the lines have over ten thousands. )
Hi,
Unfortunately, what you are describing sounds like an integration issue. These are usually quite difficult to investigate and require in-depth knowledge of the platform/design and code being used.
Your issue is most likely caused by the main software loop locking up/getting stuck somewhere.
Typical things to look for are interrupt-related issues, buffer over/under-run, stack corruption and SFRs (special function register) having the wrong values.
Since you are using a PIC24 and a CC2500, you may be better off posting about this on the appropriate forum for those chips.
If you wish to receive more in-depth help when you do post there, you would most likely need to give more information (schematic, relevant code excerpts, architecture details, etc.).
Sincerely,