tp-freeforall/prod

[MSP430] Can't use USCI A as SPI master

tgtakaoka opened this issue · 1 comments

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.

WDYT?

fixed by 5f9b2bf