Part Number: MSP430FR6047
Other Parts Discussed in Thread: MSP-TS430PZ100E, DAC7750
Hello All;
I'm trying to communicate via SPI with DAC7750. I'm using MSP-TS430PZ100E target board.
I tried to set the register like this;
UCB0CTLW0 |=UCSWRST;
UCB0CTL1 |= UCSWRST; // Enable SW reset
UCB0CTL0 |= (UCMST+UCMSB+UCSYNC+ UCCKPH); // SPI Master, 3 wire, synchronous mode
UCB0CTL1 |= UCSSEL_2; /* SMCLK */
UCB0BR0 = 8;
UCB0BR1 = 0;
UCB0CTL1 &= ~UCSWRST;
But the register won't get set. What am I doing wrong? As can see below, that register doesn't change but the UCB0BR register does get changed.
I'm using UCA2 for RS-485 communication and it's working well. It's registers get set without problem.
Is UCB0 a special thing?
Please help me!!!!
Sukho
