This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TSC2046 interfacing issue

Dear Wendy,

I posted this to another thread which was answered by you in 2012 & probably cosed. Hence making a new post.

We were using TSC2006 so far & just few days back we got samples of 2046 as our old controller (ST10F276) is 5V.

We are also facing similar issue & we are getting same data on every read.

Even we got trapped in busy signal & were stuck, then got some code from net and were giving a clock delay after every transmit to read. 

For this reason we even scraped ur cntrers SPI driver & made a bit banging SPI.

But getting same results every time.

After reading this thread I have started modifying my code to check the penirq & on we see that the penirq is going low on every 5th clock and remains low till 15 cycles. Can you please send us the code sample to verify what is going wrong with our software.

I have attached our code & the file also contains the SPI wave forms.

Channel 1 is penirq

channel 2 is clock

channel 3 is MOSI

Kindly guide.

Thanks,

Sachin Shintre

TSC2046_SPI_TRY.zip