Jump to content
Forum sending old emails Read more... ×

saintshark

Members
  • Content Count

    1
  • Joined

  • Last visited

About saintshark

  • Rank
    Noob Class

Profile Information

  • Github
    https://github.com/saint-shark
  1. I'm trying to use the UCA0 for SPI on MSP430FR2433 by using the SPI.setmodule(10); before SPI.begin(), but I'm not getting any data on the SPI lines. The default SPI on this launchpad is UCA1 and it works. After the above thing didn't work, I tried changing the core files: /home/username/.energia15/packages/energia/hardware/msp430/1.0.5/variants/MSP-EXP430FR2433LP/pins_energia.h In this file I changed: (from line 47 to 50) static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 7; /* P2.3 */ static const uint8_t MOSI11 = 15; /* P2.4 aka SIMO */ static const uint8_t MISO11 = 14; /* P2.5 aka SOMI */ to: static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 5; //P1_6 static const uint8_t MOSI11 = 4; //P1_4 aka SIMO static const uint8_t MISO11 = 3; //P1_5 aka SOMI And changed: #define DEFAULT_SPI 11 to: #define DEFAULT_SPI 10 But this also didn't work.pins_energia.h I have attached the changed file.
×