Hi all,
im new to the ARM processors and have recently purchased a Stellaris Launchpad (EK-LM4F120XL) (which i now realise have been rebranded as Tiva).
Nevertheless i am attempting to use the ADC module with sequencer one to experiment with the on chip temperature sensor in C using IAR Embedded Workbench. Essentially I'm following section 5.5 of this guide:
http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/GSW-Stellaris-LaunchPad/StellarisLaunchPadWorkbook.pdf
but without using the libraries (because it will force me to learn the fundamentals of the Micro, and also because i cant seem to find the .h files anywhere!).
Anyway:
Once i've set the PLL for 40Mhz and turned on the ADC to my specified freq, attempting to disable sample sequencer 1 generates a bus fault. when simulating on the board and i cant figure out why.. i have attached the corresponding c code and also the disassembly listing. any help would be much appreciated.