Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I am using AM572x EVM board and Running TI RTOS in Cortex M4.
When I am running a program and configured GPIO as OUTPUT and doing GPIO HIGH and then to GPIO LOW and measuring the time using logic analyzer.
1. When using GPIO_write() API, it takes 48us to do GPIO HIGH and then to GPIO LOW.
2. When I use GPIOPinWrite() CSL API then it takes 6us to do GPIO HIGH and then to GPIO LOW.
3. When I use GPIOMultiplePinsWrite CSL API then it takes 3us which does both GPIO HIGH and then to GPIO LOW.
It looks like Cortex M4 is running at much slower clock speed than it supposed to run which is 212.8MHz.
When I check th config file Platform Information it shows the following:
Device name DRA7XX Clock rate(MHz) 212.8
Platform name ti.platforms.evmAM572x
Please let me know what is causing GPIO operation taking this much of time.
If it is set to lower clock speed, please let me know how to set the clock speed to Max.