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.

SysCtlPeripheralEnable documentation correct?



Hi,

I am trying to use I2C6 on the DK-TM4C129x board.  I noted in the TIvaWare Peripheral Driver Library User's Guide that the SysCtlPeripheralEnable is to be used with a specific set of peripherals, and SYSCTL_PERIPH_I2C6 is not listed among them,  Only I2C0 through I2C5 are listed.  I wonder - is this just an oversight? or is it really not supported to call SysCtlPeripheralEnable with parameter set to SYSCTL_PERIPH_I2C6?  If not OK, what is recommended alternative?

Thanks,

Jill

  • Yes, since there are a different number of I2C modules available depending on your package size, the user's guide does not list them exhaustively.  The part number used on the DK-TM4C129x has nine(9) I2C modules.  The define for SYSCTL_PERIPH_I2C6 (and other modules) is located in sysctl.h. 

    -Joel