Usama 0 Posted July 4, 2018 Share Posted July 4, 2018 Hi, Is there any GPS library for energia that supports MSP430g2553? TinyGPS++ doesn't seem to work. Please help. Thank you. Quote Link to post Share on other sites
NurseBob 111 Posted July 4, 2018 Share Posted July 4, 2018 I have had no problems with TinyGPS on a MSP430F5529. Given that the communication is Serial, have you correctly configured your '2553 for Serial? Your statement "doesn't seem to work" is so broad that there's virtually no way to offer any specific or more useful suggestions. Usama 1 Quote Link to post Share on other sites
Usama 0 Posted July 4, 2018 Author Share Posted July 4, 2018 Yes, it is configured for Hardware Serial. As a matter of fact the code I used can be found here:http://www.electronicwings.com/ti-launchpad/gps-module-interfacing-with-msp-exp430g2-ti-launchpad Unfortunately, I am not getting any output on the Serial Monitor, even when I interfaced with an LCD I don't see any GPS data. Quote Link to post Share on other sites
Usama 0 Posted July 5, 2018 Author Share Posted July 5, 2018 SOLVED! When I reduced the code size by removing unwanted functions (memory usage reduced to 48%) and when I took it very close to a window, it worked perfectly! Quote Link to post Share on other sites
energia 485 Posted July 6, 2018 Share Posted July 6, 2018 Thank you for reporting back that you got it solved. You probably suffered from out of heap memory. If the library makes extensive use of the String library or does malloc() (Both not recommended for small memory micros). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.