Unfortunately current implementation of Msp430SpiNoDmaP.nc uses HplMsp430UsciB as USCI interface, and it works only for USCI B. If we choose USCI A as SPI channel, it ends up an error since it is incompatible with Msp430SpiA0NoDmaP.nc.
To solve this, we may want to refactor Msp430UsciA and Msp430UsciB interfaces into four, lets say, Msp430Usci, Msp430UsciSpi, Msp430UsciUart, and Msp430UsciI2C.
Unfortunately current implementation of
Msp430SpiNoDmaP.nc
usesHplMsp430UsciB
as USCI interface, and it works only for USCI B. If we choose USCI A as SPI channel, it ends up an error since it is incompatible withMsp430SpiA0NoDmaP.nc
.To solve this, we may want to refactor
Msp430UsciA
andMsp430UsciB
interfaces into four, lets say,Msp430Usci
,Msp430UsciSpi
,Msp430UsciUart
, andMsp430UsciI2C
.WDYT?