I have posted here previously regarding some difficulties I had with the CC110L functioning properly with a MSP430FR5728. The details of my posts can be found here
Since my posts, I was able to figure out my problem and get the wireless communication to work properly on its own. This is good, and helps bring me a step closer to completing my project. Now I am trying to incorporate ADC conversion within the code, as well as setting some pins to function as GPIO (particularly output state).
While doing so, a new problem has arisen in that the board I am using is no longer able to receive wireless signals after I set certain pins to an output state. These particular pins are not in any way connected to the CC110L, and should therefor have no affect on the workings of the wireless communication. The only reasoning I can think of that is causing this problem is that somewhere within the code I used as a base for my wireless communication, it set those pins for some other purpose that it then never uses.
The code I am using as a base for my wireless communication is something that was posted by a TI employee on this forum already. The link to the sample code can be found here
I have looked through the code myself and have thus far found no reference whatsoever to any of the pins I am using, and am therefor extremely confused. As a way to test and make sure that it isn't just my coding in general, I tested my code while setting a different pin to GPIO each time, and recorded the results. I even tested with pins that are not connected to anything at all. Below is a table detailing the results I collected
PXDIR |= BITY |
Running with Computer |
Running Independently |
No Pin |
Success |
Success |
Pin J.1 |
Success |
Success |
Pin J.3 |
Success |
Success |
Pin 1.5 |
Failure |
Success |
Pin 1.4 |
Failure |
Success |
Pin 1.3 |
Failure |
Success |
Pin 1.2 |
Failure |
Failure |
Pin 1.1 |
Failure |
Sometimes Success |
Pin 1.0 |
Success |
Success |
What also puzzles me is the fact that setting some pins causes the system to fail when running the code through my computer, but when I have it run on its own with an external power source (code is on the MSP430 and ready to work on its own) then the system will succeed.
Other important details to note about my setup are as follows:
- Both the board I am making and the booster pack run at 433MHz setting, and have confirmed that it works fine on its own
- The original code that I am working from was meant for a MSP430G2553, and I made some changes to the code that I am working with so it can run with the MSP430FR5728. So it is possible I overlooked something.
I'd appreciate it if anyone could either get in contact with the person that made the original code (again, can be found here) or if you might have an idea of what is causing this problem then please feel free to suggest an answer. This has taken much longer then should be necessary, and I really want to try and finish this soon.
Thank you