Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by JasonL

  1. Ok, just to be sure I understand what I'm supposed to do. So, I can ignore that for the launchpad they used the pin numbers for the headers, instead of the pin out on the 80 pin chip on the board, and replace it with the pin out of the 48 pin package that I used on my custom board.

    At line 45, I would change to SS0 = 16 because that's the pin that P4.0 is on the 48 pin package (if I had used that as the EUSCI_B0 chip select pin)

    line 216, I'll shorten the whole section to be 48 long, and match the pins to their function. So, whatever line is pin 16 will be:

         static const uint8_t P4_0 = 16;

    And then the arrays down below, I shorten them to be 49 long, since there is no pin 0, and rearrange them so the pins correspond to the position in the array. So, for example, digital_pin_to_timer[11]  or the 12th line of the array would be :

           T0B2, /* 11 - P1.5 */

    because on pin 11 there's the timer TB0.2 and the digital pin 1.5, even changing the comments so I don't confuse myself in case I have to come back to it in a few months. And then do the same for the other arrays.

    Did I miss anything? Other than trying to make the new board variant show up in the IDE, and maybe using different pins in the section at line 45 because I used EUSCI_A1 for spi, instead of B0. I'll make new threads for those if I can't figure them out.

    Thank you so much!

  2. I've been trying to get an Energia sketch for the MSP430FR5994 LaunchPad Development Kit to work with a custom board I made. I used a different MSP430FR5994 package than the one on the launchpad so I need to change the pins used. It sounds like typically the way to do that is to create a new board variant with its own pins_energia.h file with the pins changed. But, it looks like the FR5994 version of the file doesn't map the pins to the actual chip, but to the booster pack headers on the development kit, implying that those are mapped to the actual chip pins somewhere else, but I can't find where that happens. I'm obviously missing something.

    Thank you for your help

  • Create New...