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.
I was successful in using dht-11 sensor with tm4c129, but when i tried the same code on tm4c123 it entered in infinite loop. I think the problem is due to the clock because, the other part of the code is the same.
I am using sysctlclock freqset((sysctl_xtal_25Mhz | sysctl_osc_main| sysctl_use pll | sysctl_cfg_vco480), 40000000);on TM4C129 this is giving me clk frq of 40Mhz.
SysCtlClockSet(SYSCTL_SYSDIV_5| SYSCTL_USE_PLL | SYSCTL_OSC_MAIN |SYSCTL_XTAL_16MHZ); on TM4C123 this gives me frq of 40Mhz when i do syscltclockget();
I still dont get value on TM4C123. what might be the reason? is it due to the vco?
How to get similar functionality like sysctlclock freqset using SysCtlClockSet?
Hello Ankeet
Ankeet Gugale said:I am using sysctlclock freqset((sysctl_xtal_25Mhz | sysctl_osc_main| sysctl_use pll | sysctl_cfg_vco480), 40000000);on TM4C129 this is giving me clk frq of 40Mhz.
SysCtlClockSet(SYSCTL_SYSDIV_5| SYSCTL_USE_PLL | SYSCTL_OSC_MAIN |SYSCTL_XTAL_16MHZ); on TM4C123 this gives me frq of 40Mhz when i do syscltclockget();
If you are getting 40MHz with the TM4C123 on calling the function SysCtlClockGet, then what is the issue?