Part Number: BOOST-TUSS4470
Hello,
Our customer uses MSP-EXP430F5529LP and BOOST-TUSS4470 with SPI communication. The initial code is as following:
//Clock Polarity: The inactive state is high
//MSB First, 8-bit, Master, 3-pin mode, Synchronous
UCB0CTL1 |= UCSWRST; // **Put state machine in reset**
UCB0CTL0 |= UCCKPL + UCMSB + UCMST + UCSYNC;
UCB0CTL1 |= UCSSEL_2; // SMCLK
UCB0BR0 |= 0x20; // /2
UCB0BR1 = 0; //
//UCA0MCTL = 0; // No modulation must be cleared for SPI
// SLAVE_CS_OUT &= ~SLAVE_CS_PIN;
SLAVE_CS_OUT |= SLAVE_CS_PIN;
UCB0CTL1 &= ~UCSWRST; // **Initialize USCI state machine**
UCB0IE |= UCRXIE; // Enable USCI0 RX interrupt
The questions are:
1. Are there any rules of 1 ODD parity bit for entire SPI frame? If you could provide the examples about how to send 16bit data?
2. The BPF_CONFIG_1 address 0X10 is SPI address of SPI protocal? If you could give the read or write examples.
Best regards
Kailyn