Other Parts Discussed in Thread: UNIFLASH, LMFLASHPROGRAMMER
Hello Everyone!
We are trying to program tm4c123gh6pge on our custom board for a project which uses ADC and CAN.
At first we didn’t entered any clock setting and it runed at 16mhz with PIOSC. With this clock ADC worked but CAN did not. So we tried to run our tm4c123gh6pge at 80mhz and used the code below for this:
SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
But when this code runs (we debugged it and see) tm4c123gh6pge stop responding like it is completely death.
We have already broken 4 of our boards by just adding this code and read the datasheet, searched the internet can’t figure it out why.
What can be the problem and is there a way to recover our broken boards? Any help will be appreciated.
Note: We are using tm4c 1294xl development boards to test our code so we are sure our code is good.
Note2: We use Code Composer Studio to program and debug our board via 1294 development board from tm4c123gh6pge's JTAG pins.