| Target Support Package™ TC2 | ![]() |
Configure inter-integrated circuit (I2C) module to transmit data to I2C bus
c280xdspchiplib and c2833xdspchiplib in Target Support Package™ TC2 software
Configure the I2C module to transmit data to the two-wire I2C serial bus. Also configure the
Note You can use this block to configure the I2C settings under the Peripherals tab of the target preference blocks for the Custom, F2808 eZdsp, and F28335 eZdsp boards. |

The I2C transmit block supports the 7–Bit addressing, 10–Bit addressing, and Free data format. The default setting is 7–Bit addressing.
Select the method for setting the slave address register of the I2C slave. Selecting Specify via dialog displays Slave address register parameter . Selecting Input port enables definition of the address register via the input port. The default setting is Specify via dialog.
When you select Specify via dialog, enter a value for the Slave address register. The default value is 80.
Set the bit count to 1 through 8. The default setting is 8.
Selecting this parameter enables the transmitter to accept a STOP condition from the C280x/C2833x I2C Receive block. The default setting is disabled (not selected).
Selecting this parameter enables repeat mode. The default setting is disabled (not selected).
Selecting this parameter creates a status output that indicates when the I2C transmit block is transmitting a message. The default setting is disabled (not selected).
For detailed information on the I2C module, see:
The TMS320x28xx, 28xxx Inter-Integrated Circuit (I2C) Module Reference Guide, Literature Number SPRU721, available at the Texas Instruments™ website, www.ti.com.
The Philips Semiconductors Inter-IC bus (I2C-bus) specification version 2.1 is available on the Philips Semiconductorswebsite at http://www.nxp.com/acrobat_download/literature/9398/39340011.pdf.
![]() | C280x/C2833x I2C Receive | C280x/C2833x SCI Receive | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |