Other Parts Discussed in Thread: TLK10031,
Hello,
I am trying to read and write registers of TLK10031 transceiver using TM4C129DNCPDT microcontroller's MDC and MDIO pins(PB2 and PB3).
So to use these GPIO pins(PB2 & PB3) in MDC and MDIO functionality, what all the configurations I need to do?
Like any specific API's are there to enable MDC and MDIO functionality?
Currently I have configured these GPIO pins as output pins only.
And one more question is how to generate exact 1 micro second delay using this microcontroller. As I know SysCtlDelay() API only takes clock cycles as input. So I have tried to generate 1 micro second delay using below method. Please let me know whether it is correct or I need to use any other method.
SysCtlDelay((clock_frequency/3) * 0.000001); //clock_freuency is our system clock i.e. 40MHz.
Thank you in advance.