TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Application which includes both scope and touch screen
Can anybody give me some suggestions about touchscreen-operation oscilloscope based on Stellaris ARM Cortex-M3?
Recently, we follow qs-scope demo application of SW-EK-LM3S3748-8049, however this demo is operated by 5-way navigation switch not touchscreen. When we port this demo to our product which employs a LM3S2793 and a QVGA touchscreen, the scope and touch cannot work simultaneously.
The demo of below picture is a good start, but the full source named SW-RDK-IDM-8555 downloaded from TI.COM doesn’t include this demo. How can we get this demo.
(Scope Demo of MDL-IDM28 Intelligent Display Module)
Thanks and Regards,
The example software that generated the image in the documentation has not been available for some time. It was replaced with an qs_application for a lock only.
zhidong zhuthe scope and touch cannot work simultaneously
So what debugging have you done to identify the problem(s) that prevent it from working...?
Do the scope & touch work separately...?
Scope and touch can work pretty good separately.
However, when I use push buttons based on Stellaris graphic driver to control parameters of scope, problems appear.
The system even cannot boot completely at this situation.
In the qs-scope demo, sampling tick is set by function SysCtlADCSpeedSet() or timer1. SysCtlADCSpeedSet() can set only five kinds of sampling rate,
they are SYSCTL_ADCSPEED_1MSPS SYSCTL_ADCSPEED_500KSPS SYSCTL_ADCSPEED_250KSPS and SYSCTL_ADCSPEED_125KSPS.
Timer1 is used for low sampling rate setting, which can generate low speed sampling clock for ADC.
When we disable timer1 of ADC, and use SysCtlADCSpeedSet() control speed of ADC, scope and touch can run simultaneously.
So far, the system can run. But there still is a question, why timer1 of ADC can interrupt timer0 of touch screen?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.