Author Topic: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP  (Read 2625 times)

mrupprath

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Dear all,
i have downloaded the examples for the Eve2 Modules.
I bought NHD-7.0-800480FT-CSXV-CTP, and wan't to use the 7 ich examples with this device
together with PIC32MZ and MPLABX.

Unfortunately there is no examples for PIC and i have to Port the code.
Question does someone have examples for PIC32MX / Or MZ and MPLABX together with 7 Inch EVE2 Modules ?
Can someone give me a hint how to start with porting ?

Thanks in advance

Besides That:
I also tried to use the examples with Arduino due and Arduino IDE latest Versions.

I can't compile the examples duoe to errors according to missing EEPROM.h / Missing avr/EEPROM.h "file not found.
It would be nice if someone can give me a hint how to fix this.


Thanks in advance

Marc



Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 299
  • Karma: 18
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #1 on: February 01, 2018, 08:11:06 AM »
Morning Marc,

Thanks for reaching out, I believe FTDI recently released a Library for the PIC MCUs (see link below).

http://www.ftdichip.com/Support/SoftwareExamples/FT800_Projects.htm#Creating_Simple_EVE_Library_For_PIC_MCU








Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 299
  • Karma: 18
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #2 on: February 01, 2018, 08:23:45 AM »
Lastly, would it be possible for you to try a fresh install of the latest Arduino IDE?

Arduino files are found in 3 locations: The installation folder, the sketchbook folder, and the Arduino15 folder. The installation folder should be removed when you uninstall but the other two folders remain so you will need to remove those also to get a completely clean install. The Arduino15 folder is located at:

On Mac OS X:
/Users/(username)/Library/Arduino15

On Windows:
Arduino IDE 1.6.5r5 and previous:
C:\Users\(username)\AppData\Roaming\Arduino15
Arduino IDE 1.6.6 and later:
C:\Users\(username)\AppData\Local\Arduino15

On Linux:
/home/(username)/.arduino15    (a.k.a. ~/.arduino15)

If you delete this folder then you will need to reinstall any Boards you have installed using Boards Manager after you reinstall the Arduino IDE.

The sketchbook folder location is set in File > Preferences if you have any sketches or libraries that you want to save in there then back them up before removing it.

mrupprath

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #3 on: February 01, 2018, 04:27:52 PM »
Hello Paul,
thanks for your help,it compiles now but the display remains black

I noticed the follwoing:
When i connect the backlickt to +.3.3V  Backlight is turned on
When i then connect pin1 to +3.3 Volt backlickt is switched of.
Display is dark
I measured the current on the Pin 1; it is ca 30mA

I something wrong with my display or is this a normal behaviour on "power up" ?

According to the Examples for the 7 inch modules:
I missed a dicument wich SPI pins are used on the arduino.

Where to find this in the examples ?

Thanks again

Marc

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 299
  • Karma: 18
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #4 on: February 02, 2018, 08:17:50 AM »
Morning Marc,

Good news, sounds like we are making some progress  ;)

On the Arduino Uno and compatible boards the following pins used are:

Code: [Select]

// MOSI (11)
// MISO (12)
// SCK  (13)

#define FT800_CS                 (10)
#define FT800_INT                (9)
#define FT800_PD_N               (8)
#define FT_SDCARD_CS             (5)

The pin assignments are located in FT_Platform.h

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 299
  • Karma: 18
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #5 on: February 02, 2018, 08:23:19 AM »
Please note that we sell a Arduino Shield for the EVE2 TFT Modules.

http://www.newhavendisplay.com/nhdft81xshield-p-9581.html

IMPORTANT: If you are trying to connect the bare EVE2 TFT Module to a 5V system (i.e. Arduino Uno) without a logic level converter this could damage the device.

mrupprath

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Does NHD-FT81x-SHIELD support Arduino due ?
« Reply #6 on: February 13, 2018, 01:21:17 PM »
Does the  NHD-FT81x-SHIELD support the Arduino due, and do i have to make changes on the example code when using the icsp header for SPI ?

Thanks

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 299
  • Karma: 18
    • View Profile
Re: EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP
« Reply #7 on: February 14, 2018, 09:14:18 AM »
Since you are utilizing the Arduino Due you can safety interface directly to the EVE2 TFT Modules without a logic level converter.

Please note that the NHD-FT81x-SHIELD features a logic level converter for the classic Arduinos (UNO/MEGA/Diecimila). If you utilize the shield this will be redundant since the Due's logic is already 3.3V.

The EVE2 example code on our Github page was originally written for the classic Arduinos (UNO/MEGA/Diecimila... etc). I believe the example Sketches use direct pin manipulation to make things faster. However the Due is a completely different architecture to the Uno, so direct pin manipulation is done differently. Modification to the example code maybe required in order for it to compile.

 

EVE2 TFT Module VHDL Code Support (NHD-3.5-320240FT-CSXN-CTP)

Started by bivinBoard TFTs

Replies: 0
Views: 1342
Last post March 19, 2018, 12:06:34 AM
by bivin
New Support library for Screen EVE2 NHD Playback videos

Started by lightcalamarBoard Customer Projects

Replies: 7
Views: 2420
Last post July 12, 2018, 12:43:01 PM
by lightcalamar
EVE2 Startup for 7" Display

Started by warriorofwireBoard TFTs

Replies: 2
Views: 1002
Last post May 22, 2018, 01:18:23 AM
by warriorofwire
EVE2 TFT Modules VHDL Coding

Started by bivinBoard TFTs

Replies: 2
Views: 262
Last post October 03, 2018, 09:06:30 PM
by bivin
Introducing our New EVE2 TFT Modules

Started by Robert_HBoard New Product Releases

Replies: 0
Views: 1987
Last post December 11, 2017, 09:59:41 AM
by Robert_H