Tool/software: Code Composer Studio
Hello,
I would like to know how to configure SDA and SCL as general purpose I/O and how to refer to them in the Code Composer Studio in order to activate/deactivate them.
Thanks!
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.
Tool/software: Code Composer Studio
Hello,
I would like to know how to configure SDA and SCL as general purpose I/O and how to refer to them in the Code Composer Studio in order to activate/deactivate them.
Thanks!
Hello,
Let me understand your use-case. I am assuming you are not using I2C in this case.
Also could you please provide some more details regarding "CCS usage".
Thanks
Yogesh
Hi,
I am still working on this. Please give me couple of days to come back.
Thanks
Yogesh
Hello,
Please check the following registers to configure SDA and SCL as GPIO @https://www.ti.com/lit/ug/swru522e/swru522e.pdf:
1) Section 25.6.17 ICPFUNC Register: For setting GPIO mode
2) Section 25.6.18 ICPDIR Register : For setting directions
You can refer to other register in the same sections as well for complete details.
Thanks
Yogesh