Author Topic: Arduino DUE + 4.3" TFT + NHD-4.3-480272MF-20: PIO issues  (Read 562 times)

MyNameIsMud

  • Newbie
  • *
  • Posts: 3
  • Karma: 2
    • View Profile
Arduino DUE + 4.3" TFT + NHD-4.3-480272MF-20: PIO issues
« on: June 16, 2017, 12:17:15 AM »
Hi,

I'm struggling a bit with the setup: I have the NHD-4.3-480272EF-ASXN display plus the NHD-4.3-480272MF-20 controller board. The example code provided for the setup works nicely with Mega but I'm having issues porting it for Arduino DUE.

The main issue is the PIO register manipulation, does anybody have idea how it should be done?

I've tried the following to configure the PIO (from Arduino forum):

  PIOC->PIO_PER = 0x01FF;  // Configure PORTC to PIO controller, pins 33-40
  PIOC->PIO_OER = 0x01FF;  // Enable PORTC to output
  PIOC->PIO_ODSR = something; // Write something on pins 33-40

It does not seem to work. Am I missing something completely?

I verified the wiring setup by digitalwriting the parallel port, and it works but is terribly slow.

BR,
Lassi
« Last Edit: June 16, 2017, 12:20:10 AM by MyNameIsMud »

 

Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 9311
Last post July 10, 2014, 08:46:06 AM
by Michael_L
MOVED: 320x240 sunlight readable dispaly to arduino + library

Started by Michael_LBoard Customer Projects

Replies: 0
Views: 2562
Last post October 23, 2015, 11:45:28 AM
by Michael_L
320x240 sunlight readable dispaly to arduino + library

Started by vonz66Board Graphic LCDs

Replies: 1
Views: 3235
Last post October 23, 2015, 11:46:04 AM
by Michael_L
Wiring connectiond between NHD-1.69-160128ASC3 SSD1351 and Arduino Nano

Started by amitkumarsharma008Board OLEDs

Replies: 3
Views: 3221
Last post March 23, 2016, 03:38:11 PM
by Paul_B
NHD-0420D3Z-NSW-BBW-V3 i2c display and Arduino missing characters

Started by 0miker0Board Character LCDs

Replies: 0
Views: 831
Last post July 06, 2017, 11:05:59 AM
by 0miker0