Content originally posted in LPCWare by Trung Thanh on Tue Aug 26 11:40:48 MST 2014
Quote: akmarov
Finally I've got some adequate results. ADCHS clock is 80MHz, but sample rate is only 40Msps, not 80Msps as I expected. Every time I've tried to set SAMPLERATE to values more than 4000000 - UART stopped working. Is it real to get 80Msps?
I've added my version of hsadc.c . It is just a composition of what dmorse and sundarapandian have done, and it can be compiled in Keil 4.73 without errors.
How can you know Check ADCHS clock is 80Mhz and Check Sample Rate in KeilC Complier?
I used unlink2 to debuger.
Thanks