tgtakaoka / tinyos-msp430

TinyOS for small MSP430 chips with msp430-elf-gcc
Other
12 stars 0 forks source link

USI/USCI/USART SPI implementation seems not working correctly #23

Open tgtakaoka opened 6 years ago

tgtakaoka commented 6 years ago

I confirmed that at least USCI SPI implementation doesn't work and I'm afraid USI and USART don't work either. The BitBang SPI implementation still works fine.

tgtakaoka commented 6 years ago

I'm guessing that the issue is caused by clocking difference than tinyos-prod. I'm planning to revise the clocking code as close as tinyos-prod to solve this issue.

tgtakaoka commented 6 years ago

Confirmed that USI SPI implemenation works fine.

tgtakaoka commented 6 years ago

Confirmed that USCI SPI implementation for f2xxx works fine. Though USCI SPI implementation for g2xxx has issue on P1SEL2, that register isn't exist on f2xxx.

tgtakaoka commented 6 years ago

Confirmed pull request #30 fixes USCI A0/B0 SPI on MSP430G2553.

tgtakaoka commented 6 years ago

Remaining issues are MSP430F1232/USART0 and MSP430F1611/USART0,1.

tgtakaoka commented 5 years ago

I haven't confirmed but this commit probably fixes the remaining issue related to MSP430F1232/MSP430F1611.