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.

TMS320F28377D: SYSCONFIG SPI UNUSED BITRATE MACRO

Part Number: TMS320F28377D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hello,

SYSCONFIG board.h contains:

#define W5x00_BITRATE 500000

But SYSCONFIG board.c contains:

	SPI_setConfig(W5x00_BASE, DEVICE_LSPCLK_FREQ, SPI_PROT_POL0PHA1, SPI_MODE_MASTER, 500000, 8);

I think it is better the W5x00_BITRATE macro is used as follows:

	SPI_setConfig(W5x00_BASE, DEVICE_LSPCLK_FREQ, SPI_PROT_POL0PHA1, SPI_MODE_MASTER, W5x00_BITRATE, 8);

I'm using C2000Ware 4.1.

Thank  you.