Tool/software: Code Composer Studio
I'm trying to implement an isoSPI Isolated Communications Interface IC with MSP430F5529 when I use arduino UNO with ltc6820 the isoSPI signal wave is shown in the 1st image It work correctly and received data. But MSP430 the wave shown in the 2nd image. What should I do to take 1st wave form using MSP430? And these are the settings void init_spi(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
UCBxCTL1 |= UCSWRST; // Stop USCI state machine
// SPI take control over the PINs
CLK_PxSEL |= IO_SPI_SCLK;
SIMO_PxSEL |= IO_SPI_SDI;
SOMI_PxSEL |= IO_SPI_SDO;
STE_PxSEL &= ~(IO_SPI_CS); // SPI_CS needs to be output driven by SW
STE_PxREN &= ~(IO_SPI_CS); // Pullup/Pull down resistor disabled
STE_PxOUT |= IO_SPI_CS; // Set CS to HIGH
STE_PxDIR |= IO_SPI_CS; // SPI_CS needs to be output driven by SW
UCBxCTL0 |= 0x29;//UCMSB + UCMST + UCSYNC; // 3-pin, 8-bit SPI mstr, MSB 1st
UCBxCTL1 |= UCSSEL_2; // SMCLK = 8MHz Hz
UCBxBR0 = 0x8;//SPI_BAUDRATE_REG; // SMCLK/8 = 1.04 MHz
UCBxBR1 = 0;
UCBxCTL1 &= ~UCSWRST; // Start USCI state machine
}