Newhaven Products > TFTs

EVE2 Git repository proting for PIC32MZ,NHD-7.0-800480FT-CSXV-CTP

(1/2) > >>

mrupprath:
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:
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:
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:
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:
Morning Marc,

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

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


--- Code: ---
// MOSI (11)
// MISO (12)
// SCK  (13)

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

--- End code ---

The pin assignments are located in FT_Platform.h

Navigation

[0] Message Index

[#] Next page

Go to full version