Altera_Forum
Honored Contributor
19 years agoProblem of TouchScreen
I added a touchscreen to my system and found some problems.
The touch screen controller is ADS7843. I want to use a SPI core inside Nios II to access the controller, but, failed. I found the timing graph for ADS7843 is not match with the SPI master core in Nios II. I use PIO to simulate the SPI protocal which ADS7843 needed, and everything is fine. The result is the code size and bad performance. Did anyone do this before? And in ADS7843, the master must read data from it 2 times without CS signal go high. But in Nios's SPI, if the data width is setted, 2 times data read will occur the event that CS signal back to high and go low again. How to solve it? Add a dedicated CS signal from PIO and controll it?