Hi
How to initialize the specific I2C instance i mean how can i initialize I2C0 or I2C2??
Curretly i'm working on TM4C1294XL trying I2C using sensor Si7021 but getting error undefined symbol "Driver_I2C0"
Please help me.
Do you want to know how to use the driver or how to write a driver?
The online help for the CMSIS Driver is a reasonable place to learn how to use a driver. I'm not aware of any books or online resources other than that, although a Google search might turn some up (say, on github or in Arm's mbed project).
Code examples will show both how to use the driver and how to implement the driver.
You can install source examples for any MCU or eval board using the Keil Pack installer -- they're free to download. You can use the Pack Manager to find and install them (painful!), or you can search the pack description files (*.pdsc), located in the ARM\PACK\.Web subfolder of your Keil installation. These are XML files: look for an element named example that has an attribute name containing I2C, where the example element has a child element component with attributes Cclass equal to CMSIS Driver and Cgroup equal to I2C.
The example will be for some other MCU, so you'll have to understand that MCU a little bit to help understand what the example code is doing, then apply that to your MCU.
Sir I basically i want to write a code of UART and I2C where Controller will be master and I'm using temp sensor as a slave using keil. This i have done in Code Composer already using TI-RTOS but now my task is to write code using RTX5 in Keil v5. So what happens Code Composer have there examples repositories so that we can lean how to write code but in case of Keil V5 i tried to find example UART code for other MCU also but there are only one example given which is led blinkey thats it!. I really tried to search on internet also i haven't found it anywhere not i want to write code for the uart and i2c using RTX5 and i have no idea how to write. Also sir i have studied the documentation of RTX5 they have given basic examples of UART and I2c but we cannot right click on structure and go and see how the structures are written just basic code is available. Now can you tell me how can i do my task from where i should start?? Also sir no codes on GitHub also.
There are freely available examples of drivers for I2C and UART available using the Keil Pack Installer. You can launch this tool from the Keil IDE (Project > Manage > Pack Installer). I've explained how to find relevant examples.
Sir actually I have visited already there but in pack installer I didn't found any uart or i2c RTX5 example rather there I found only examples like ledblink thats it!.
So finally I downloaded the "Tiva C Firmware development Package" and there I found "uart.c" driver file now I'm writing RTX5 uart driver by referring to that "Tiva C Firmware development Package".