This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I tested example codes for Educational BoosterPack MKII with MSP-EXP430G2ET launchpad but none of them worked out.
Are they incompatible or I have wrong setting?
The board setting is MSP-EXP430G2ET w/ MSP430G2553 and codes are tested by Energia running on Windows 10.
For eaxmple, I uploaded code successful as follow but get no reaction on the Educational BoosterPack MKII.
int blue_led = 37;
void setup() {
pinMode(blue_led, OUTPUT);}
}
void loop() {
digitalWrite(blue_led, HIGH);
}
I'm pretty much newbie for micro controller so your help is very appreciated.
Hi Toshiki,
Where did you get the code? Maybe you need to provide the definition of these functions to help us diagnose the problem.
Our seems to only provide the MSP432 example program for Educational BoosterPack MKII, so it maybe not suitable for G2 series MCUs.
The G2ET program needs you to modify according to the hardware connection.
Best Regards
Johnson
Hi Johnson,
Thank you for your reply.
The code above was written by me to test since provided example programs seemed for MSP432 as you mention.
All definitions of the functions used are as follow. (Link to Energia website)
-setup()
https://energia.nu/reference/en/language/structure/sketch/setup/
-pinMode()
https://energia.nu/reference/en/language/functions/digital-io/pinmode/
-loop()
https://energia.nu/reference/en/language/structure/sketch/loop/
-digitalWrite()
https://energia.nu/reference/en/language/functions/digital-io/digitalwrite/
Please let me know if you need any additional information.
Thank you,
Toshiki
Hi Toshiki,
I check the hardware connect and found that G2ET cannot be connected to the LED pins on the Educational BoosterPack MKII board.
Attach partial schematic:
And you will found that G2ET lanuchpad just be able to connected 1-10 and 11-20 pin on the Educational BoosterPack MKII board.
However LED pin number is 37 38 39.
By the way, you set pin number as 37 is error, this is G2ET MCU pin number, this just have 20 pins.
Give you a BoosterPack Checker tools link:
https://dev.ti.com/bpchecker/#/
And I suggest you can use CCS software to develop your program, that is more convenient and more functional.
Best Regards
Johnson
**Attention** This is a public forum