Software Jitter Filter Improving for Touch Screen Sampling

Post Reply
esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Software Jitter Filter Improving for Touch Screen Sampling

Post by esky-sh » Thu Oct 15, 2009 1:50 am

#define TSP_SAMPLE_NUM 20
#define TSP_ADC_DELAY = 4000;
TIMER interrupt frequency reduce to 50Hz
#define TSP_SAMPLE_RATE_LOW (50) // 50 Samples per Sec
#define TSP_SAMPLE_RATE_HIGH (50) // 50 Samples per Sec
( Re-calculate PCLK and PWM_REGS to ensure if sample frequency equal 50Hz)

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests