Part Number: MSP430F5528
Tool/software: TI-RTOS
Hi , When I clean and build my rtos project I get a failure on all of the param write statements inside this structure.
The first of these is: #148 Declaration is incompatible with "USCI_B_SPI_initMasterParam param"
For my rtos project, I have checked my properties / products tab and found a listing that shows "MSP430 DriverLIb 2.70.0.08 "
So I believe that the DriverLib is installed for my MSP430F5xx_6xx Devices. However, I may be mistaken on this.
Could I be missing another include statement ?
Additionally, could I have a project setting that needs adjustment ?
#include <usci_b_spi.h>
//Initialize Master
USCI_B_SPI_initMasterParam param = {0};
param.selectClockSource = USCI_B_SPI_CLOCKSOURCE_SMCLK;
param.clockSourceFrequency = UCS_getSMCLK();
param.desiredSpiClock = SPICLK;
param.msbFirst = USCI_B_SPI_MSB_FIRST;
param.clockPhase = USCI_B_SPI_PHASE_DATA_CHANGED_ONFIRST_CAPTURED_ON_NEXT;
param.clockPolarity = USCI_B_SPI_CLOCKPOLARITY_INACTIVITY_HIGH;
returnValue = USCI_B_SPI_initMaster(USCI_B0_BASE, ¶m);
Thank you
Roy