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.

SPI Paramters in config object

Other Parts Discussed in Thread: SYSBIOS, AM3359

Hello,

I am using the starterware within sysbios ind sdk 2.1.1.2 for implementing SPI communication on an AM3359 ICEv2. When configuring the SPI with the configuration structure there are a lot of parameters to set. Most of them are clear to me. But in the header file "mcspi.h" there are the options for the "pinMode" in the form of a enum variable called "MCSPI_DATA_LINE_COMM_MODE_x"  For example:

MCSPI_DATA_LINE_COMM_MODE_1 = (MCSPI_CHCONF_IS_LINE0 |
MCSPI_CHCONF_DPE1_ENABLED |
MCSPI_CHCONF_DPE0_MASK)

I measured the differences between all the options on the scope in master mode and i know that it configures the D0 and D1 pin for the SPI. But i didn't see a difference between "...COMM_MODE_2 and 3" for D0 and between "...COMM_MODE_6 and 7" for D0.

Therefore my question is what do the options "LINE0", "MASK" and "ENABLED" mean and what influence do they have ?

Thanks in advance

Michael