I am running the Beaglebone "Black" as "bare-metal" and want to add TouchScreen capability to my existing project.
I have the Starterware code and have taken the "touch-driver" files from the "DEMO" project and trying to use them. I encounter this problem: when I call "TouchInit()" function (located in "demoTouch.c" the processor appears to lock-up (ie no more UART / serial output) at the following line of code:
/* configures ADC to 3Mhz */
TSCADCConfigureAFEClock(SOC_ADC_TSC_0_REGS, 24000000, 3000000);
Is there something else that needs to be setup or configured BEFORE calling "TouchInit()"? In short, what is the bare-minimum setup that I need to do to be able to get ADC/Touchscreen samples?
I doubt that this is relevant but I am already driving the UART/serial output (for debug purposes) and successfully driving the LCD output channel (for a display). Now I need to add the "touch-screen" functionality to my project.
Sincerely,
Dean Wedel