This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
could someone advise me how to override this function (for MSP430) ReceiveByte ADS1120 fot MSPM0G3507 with DL_SPI_transmitData8() and DL_SPI_receiveData8() ??
Thank you
Hi Jan,
For questions on the driver lib functions please post on the Microcontroller forum, as this is more a question about the MSPM0 rather than the ADC.
The Application Note "MSPM0 Design Flow Guide" and the MSPM0 are also good places to start development with the MSPM0G3507.
MSPM0 Design Flow Guide (Rev. D)
BR
Angel
This would probably look something like
unsigned char ADS1220ReceiveByte(void) { unsigned char Result; DL_SPI_transmitDataBlocking8(SPI_0_INST, 0xFF); // Dummy byte Result = DL_SPI_receiveDataBlocking8(SPI_0_INST); // Capture Rx side of byte exchange return Result; }
where (sysconfig name) SPI_0_INST is #defined (by sysconfig) as something resembling "SPI1_BASE" in ti_msp_dl_config.h.
As Angel said, for MSPM0 questions the place to look is: