I'm tring to get some code I have working under IAR to run with CC (latest rev 4.1.2).
the code generated by code composer runs slower when it does run and fails when the firmware is placed in run mode. It appears the clock going out port 1 (TA1) is somehow being stepped on when I toggle a chip select on the same port. for some reason the ccs code uses the "AND" operation on the chip select instead of the Bit set/Bit clr. in the and operation will catch the state of the clock and set the value in the p1out reg so I only see the clock when the CS is low.
my code is.
#define ADC_SPI_CS_1pin 4
#define SET_ADC_CS() {P1OUT &= ~ADC_SPI_CS_1pin)
#define
1: how do I tell code composer to use the bit set instruction instead of the and operation? 2: where is the documentation for code composer for compiler level commands such as in-line assembly instructions? I have searched today web site and most of the documentation on assembly is dated 2002 (before CCS). the help within CCS is also pretty useless when it comes to the MSP430. thank you