Jump to content
43oh

wnorcott

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by wnorcott

  1. OK here is an update I seem to have got the thing working with SPI on USCA0 of the MSP430G2553. I just modified pins_energia.h and one file of the existing SPI library (usci_spi.cpp). By working I mean I can hook up my SD card module to the A0 channel and with this code I am successfully logging to the SD card using the (unmodified) pfatfs library. pins_energia.h I added a preprocessor flag #define SPI_USE_CHANNEL_A0 1 to remap the SPI pins constants // wnorcott 5/18/2015 // Uncomment the following ifdef to use USCI channel A0 instead // of B0 for SPI. That means you can use hardware SP
  2. Thanks that confirms my doubts in that case I seemingly have to clone the pfatfs lib too since it includes SPI.h
  3. I notice that the usci_spi.cpp file for example hard codes references to channel B0 like register UCB0CTL1 and the like throughout.
  4. The MSP430G2553 has the UCSI hardware chip that supports UART, I2C and SPI. According to the user guide and a tutorial I read over on the Argenox Technologies web site (quote): The MSP430G2553 has two SPI interfaces, mapped with the following pins: UCA0 P1.1
×
×
  • Create New...