Rather than just refer to a port, can you reference the actual pin numbers (IC and board connection) used for D0-D15 of a display and WR, RD, CS, E, D/C used for LCD control? Also, does the code employ 8080 or 6800 timing? I have a new shield on order, but I would still like the pin numbers so that I can start looking at the code and understand the hardware. Also, if you have the pinout for the touch screen and the SD drive, that will be next.

Thanks!

coldtears

The data pins are routed to PC1-8 (lower 8 bit) and PC12-19 (higher 8 bit), so you probably need to shift your lower 8 bit to the right<<1, and higher 8 bit to the right <<12, and then you can strobe the WR pin. So you will need 3 arduino command for one WR strobe.Like this: REG_PIOC_CODR=0xFF1FE; REG_PIOC_SODR=(VL<<1) & 0x1FE; REG_PIOC_SODR=(VH<<12) & 0xFF000; pulse_WR();

For the 4 command pins, they are routed to PD1-4. This should be straight forward.This is possible because the creator of DUE has made perfect routing of these lines to the 2x20 header.

SD Card will be directly connected to the SPI interface on the 6pin header in the center of the DUE board(DUE only has SPI access on this 6pin header).

The data pins are routed to PC1-8 (lower 8 bit) and PC12-19 (higher 8 bit), so you probably need to shift your lower 8 bit to the right<<1, and higher 8 bit to the right <<12, and then you can strobe the WR pin. So you will need 3 arduino command for one WR strobe.Like this: REG_PIOC_CODR=0xFF1FE; REG_PIOC_SODR=(VL<<1) & 0x1FE; REG_PIOC_SODR=(VH<<12) & 0xFF000; pulse_WR();

For the 4 command pins, they are routed to PD1-4. This should be straight forward.This is possible because the creator of DUE has made perfect routing of these lines to the 2x20 header.

SD Card will be directly connected to the SPI interface on the 6pin header in the center of the DUE board(DUE only has SPI access on this 6pin header).

I have this screen and adapter from Sainsmart http://www.sainsmart.com/arduino-compatibles/module/lcd-module/sainsmart-3-2-tft-lcd-display-touch-panel-pcb-adapter-sd-slot-for-arduino-2560.html

Can anyone tell me if I can make the screen work with the Due by removing the resistors from the adapter shield? I am thinking that they used resistors to lower the voltage of the Arduino Mega from 5 volts to 3.3 volts. Therefore, if you have a Due producing only 3.3 volts, then the resistors can be removed to make it work.

pagoda

The stuff you are looking for used to be marketed in car accessory shops for repairing rear screen heaters.It is basically like a small bottle of nail varnish - but loaded with either silver or aluminium powder for conductivity.You can certainly use it to fix damaged pcb tracks (remove varnish from the good area first!!) , so shorting out a couple of SM resistors should be easy. Just don't splash it around...

Thanks for the replies from both of you! I wanted to be sure that I had the correct idea before I did anything drastic. I can solder down to 805 resistors with good results so, I think I will be able to solder out or jumper those resistors.

jchalo99

I have a older shield for the mega, want to make it work the the due. how can i do this, mine the display is soldered on the shield, and there are surfacemount resisters, i can get to the resisters with a soldering iron if need be.

I'be been using both the CTE class and the UTFT class on a Digix and both are flawless, The CTE shield and class being noticeably faster compared to the class Mr Karlsen wrote last year. Screamer fast)Apparently when he rewrote the class to better encompass the Arm Avr and Pic processors he changed a substantial amount of code. I have had.. some code for the class written early last year and the speed differences are substantial... One of the Very few times I've "Donated" to a project and really got my $0.50's worth.. The Manuals... "Manuals"? who ever heard of actually supplying manuals with Arduino code...? The manuals are an encyclopedia compared to the Arduino Manuals? and are actually useful.If you use Mr Karlsen's code a donation would be a sign that you appreciate what he has done and how much it's made your own work easier. FWIW I own 3, 3.2" displays (5 if you cound 2, 4D Systems 3.2" displays and an Itead 4.3 which was junk defective out of the box (randomly shows a silver screen and the postage to return it is more than the 'thing' is worth) and a CTE 4.3 which is beautiful.All in all the best display of it's class I've ever seen.

Doc

--> WA7EMS "The solution of every problem is another problem." -Johann Wolfgang von GoetheI do answer technical questions PM'd to me with whatever is in my clipboard