• AVR Freaks

Hot!is there a guide to starting a harmony Graphics project

Author
mattgreig
Starting Member
  • Total Posts : 82
  • Reward points : 0
  • Joined: 2003/11/07 12:39:01
  • Status: offline
2019/05/21 15:15:01 (permalink)
0

is there a guide to starting a harmony Graphics project

Hello All,
I have many years using a pic24 and older devices
But the PIC32 is new to me, lots of features to explore
 
We (at work) decided to use a PIC32MZ DA to build a LCD pendant around
it is designed around  a new haven display NHD-5.0-800480TF-ATXL#-T (resistive touch)(could Rev PCB to use 
and a PIC32MZ2064DAG176 (we can't do BGA in our lab, so TQPF was chosen)
 
the PCB also has a micro SD slot connected to the SDHD lines and a SQI memory chip as well (32mbit)
 
the PCB also supplies 3.3V and 1.8V to micro plus an LCD backlight driver with a connection to an OC module for PWM brightness control (I have the PWM working fine)
 
the device seems to run a bit below spec( I have a HS 24Mhz clock, verified to be working) the speed I get is a bit under the rated 330MIPS  when i run 100 NOPs and a OP pin toggle, i seem to recall comming across something about some other settings needed to get full speed, but cannot find it again.
 
 
I also have on hand the starter kit with MEBII board, (and am tempted to get the WVGA add on)
 
I have been looking through the Aria coffee maker example, but there is allot of features there I do not need, and my target PCB does not have the HW that is on starter PCB and MEB
 
 
I Have been looking through the harmony configurator to try and setup the hardware I need, I figure I can manage the ADC touch when I get there, but for now just want to get an image on the screen.
 
 
I have the harmony graphics stack setup for custom display with resolution and horizontal& vertical setting from datasheet entered
controller is set to GLCD (is this correct for controller less display)
and NANO 2D is selected
also using composer suite.
 
 
 
for devices with internal 32MB DDR2, under DEVCFG3 should EXTDDRSize be 32MB, or does this even matter?
 
Any tips for a greenhorn to PIC32 to just get a image on screen , once I am there I can likely manage , just looking a a steep learning curve at the moment
 
Thanks,
Matt
 

Matt Greig
Research Associate
PART Group
BCIT Technology Centre
Burnaby,BC, Canada
#1

3 Replies Related Threads

    mattgreig
    Starting Member
    • Total Posts : 82
    • Reward points : 0
    • Joined: 2003/11/07 12:39:01
    • Status: offline
    Re: is there a guide to starting a harmony Graphics project 2019/05/22 15:41:57 (permalink)
    0
    I have been working away at this, got the DDR initialization working, now gets and loops in SYS_Tasks.
     
    so I am getting somewhere.
     
    The screen I am using has a standby pin that the GLCD module is not connected to.
    I put it to a GPIO, in this case PORTC RC13
     
    I have this assigned as an GPIO_OUT in the harmony pin settings
     
    RC13 shares functionality with SOSC1
    the SOSC is disabled
     
    TRISC13 is 0
    and
    RPC13R = 0
     
    However the pic is still behaving as an input (floats high from LCD module)
    a 10k to ground does pull down to GND
    i am using the harmony generated 
    LCD_StandbyOn()
    LCD_StandbyOff()
     
    functions
    is there some other setting I am missing to get this pin as a GPIO
    other PICS had config to set osc pins as GPIO or osc pins, but I dont see anyhting in CFG registers, or have I missed it
     
    Cheers,
    Matt
     
     
    post edited by mattgreig - 2019/05/22 15:58:05

    Matt Greig
    Research Associate
    PART Group
    BCIT Technology Centre
    Burnaby,BC, Canada
    #2
    mattgreig
    Starting Member
    • Total Posts : 82
    • Reward points : 0
    • Joined: 2003/11/07 12:39:01
    • Status: offline
    Re: is there a guide to starting a harmony Graphics project 2019/05/28 13:50:39 (permalink)
    0
    After much playing around the overhanging learning wall has been mostly overcome.
     
    I have pictures on our LCD on our hardware.
     
    Given issues with RC13 not working and a few other things we will be revisioning the PCB, and I have switched displays to the
    NHD-5.0-800480TF-ATXL#-CTP
    for now. It uses the FT5426 touch controller
    Looking around online it seems if i change the setup to use the MTCH6303 touch software the changes to use the FT5426 are straight forward.
     
    how do set this up
     
    I assume I deselect HFC->Drivers->Input drivers->use MXT336T
     
    and select HFC->touch drivers->Touch(depreciated)->MTCH6303->use MTCH6303
     
    what else do I need to do, I am Getting
    libaria_harmony.c:48:1: error: unknown type name 'SYS_INP_InputListener'
    and many more such errors
     
    Cheers,
    Matt

    Matt Greig
    Research Associate
    PART Group
    BCIT Technology Centre
    Burnaby,BC, Canada
    #3
    mattgreig
    Starting Member
    • Total Posts : 82
    • Reward points : 0
    • Joined: 2003/11/07 12:39:01
    • Status: offline
    Re: is there a guide to starting a harmony Graphics project 2019/05/28 13:56:57 (permalink)
    0
    disregard, may have got around this
     

    Matt Greig
    Research Associate
    PART Group
    BCIT Technology Centre
    Burnaby,BC, Canada
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5