We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
Agreed - corresponding example projects are tough to locate, as they get device specific soon.
I can also just confirm generic information here.
Keil Doku:
CMSIS-RTOS2 Documentation:
https://www.keil.com/pack/doc/CMSIS/RTOS2/html/index.html
I2C Interface (with examples):
https://www.keil.com/pack/doc/CMSIS/Driver/html/group__i2c__interface__gr.html#details
USART Interface (with examples):
https://www.keil.com/pack/doc/CMSIS/Driver/html/group__usart__interface__gr.html#details
See also: CMSIS Workshop Video Tutorials:
https://www.youtube.com/watch?v=4Ph0KrjwYPc
I.e. step 6 explains, a touch screen hardware connected via I2C peripheral:
https://www.youtube.com/watch?v=Ig3V2DoX8QA
Hope this helps!
Thank you so much sir for your detailed explanation I really appreciate this. Actually I simply tried "Software Development Kit" in which I found the driver and then I successfully completed my task.
I defiantly will go through the links you shared.