• AVR Freaks

Hot!PIC32MX795F512L + SSD1963 with ( Resisitve Touch Four Wires)

Author
TS9
Super Member
  • Total Posts : 864
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
2019/12/19 01:49:16 (permalink)
0

PIC32MX795F512L + SSD1963 with ( Resisitve Touch Four Wires)

Hi,
 
I am working with MPLAB X IDE v5.20, MPLAB XC32 v2.10,  MPLAB Harmony 2.06
with 
PIC32MX795F512L Customized Board with 7 inch 800 x 480 TFT (Inbuilt GFX Controller SSD1963) with
four wires resistive touch .
I am able to use MHGC (aria library) with PIC32MX_SSD1963 GFX Controller.
 
Now I have to use RTP with that .. I have gone the demos for different GFX Controller.
 
C:\microchip\harmony\v2_06\apps\gfx\aria_quickstart\firmware\src\system_config\pic32mx_usb_sk2_s1d_pictail_wqvga
C:\microchip\harmony\v2_06\apps\gfx\aria_touchadc_calibrate\firmware\src\system_config\pic32mx_usb_sk2_s1d_pictail_wqvga
 
As seen the below link and steps:
https://www.microchip.com/forums/m1069348.aspx
 
1) I am unable to co-relate how physical ADC pins which is used for Resistive Touch and harmony setting as in demos and link provided like I am using AN10 and AN11 .?
2) How to do calibration ?
 
--
TS9
 
 
 

Attached Image(s)

#1

3 Replies Related Threads

    TS9
    Super Member
    • Total Posts : 864
    • Reward points : 0
    • Joined: 2010/05/07 10:52:22
    • Status: offline
    Re: PIC32MX795F512L + SSD1963 with ( Resisitve Touch Four Wires) 2019/12/20 02:53:09 (permalink)
    0
    Hi,

    I have tried resistive touch set up as link.
    https://www.microchip.com/forums/m1069348.aspx
     
    Still RTP not working and also even GFX is not initializing after RTP Configuration and Generation code in harmony and build successfull.
     
    Below is link for code..
    Should be placed in C:\microchip\harmony\v2_06\apps
    https://filebin.net/etc9cdhzppmflvih
     
    How do to calibration first time?
    Please update . Thanks in advance..
    --
    TS9
     
    post edited by TS9 - 2019/12/20 05:26:26
    #2
    TS9
    Super Member
    • Total Posts : 864
    • Reward points : 0
    • Joined: 2010/05/07 10:52:22
    • Status: offline
    Re: PIC32MX795F512L + SSD1963 with ( Resisitve Touch Four Wires) 2019/12/21 20:17:13 (permalink)
    0
    Hi,
     
    In MHC belew demo, I have checked Driver - > ADC but no specified ADC channels are selected according Pins
    C:\microchip\harmony\v2_06\apps\gfx\aria_touchadc_calibrate\firmware\src\system_config\pic32mx_usb_sk2

    /*** Functions for BSP_ADC_TOUCH_YPLUS pin ***/
    #define BSP_ADC_TOUCH_YPLUS_PORT PORT_CHANNEL_B
    #define BSP_ADC_TOUCH_YPLUS_PIN PORTS_BIT_POS_10
    #define BSP_ADC_TOUCH_YPLUS_PIN_MASK (0x1 << 10)
     
    /*** Functions for BSP_ADC_TOUCH_XPLUS pin ***/
    #define BSP_ADC_TOUCH_XPLUS_PORT PORT_CHANNEL_B
    #define BSP_ADC_TOUCH_XPLUS_PIN PORTS_BIT_POS_11
    #define BSP_ADC_TOUCH_XPLUS_PIN_MASK (0x1 << 11)
     
    /*** Functions for BSP_ADC_TOUCH_YMINUS pin ***/
    #define BSP_ADC_TOUCH_YMINUS_PORT PORT_CHANNEL_D
    #define BSP_ADC_TOUCH_YMINUS_PIN PORTS_BIT_POS_8
    #define BSP_ADC_TOUCH_YMINUS_PIN_MASK (0x1 << 8)
     
    /*** Functions for BSP_ADC_TOUCH_XMINUS pin ***/
    #define BSP_ADC_TOUCH_XMINUS_PORT PORT_CHANNEL_D
    #define BSP_ADC_TOUCH_XMINUS_PIN PORTS_BIT_POS_9
    #define BSP_ADC_TOUCH_XMINUS_PIN_MASK (0x1 << 9)

     
    --
    TS9
     
     
    post edited by TS9 - 2019/12/21 20:21:10

    Attached Image(s)

    #3
    TS9
    Super Member
    • Total Posts : 864
    • Reward points : 0
    • Joined: 2010/05/07 10:52:22
    • Status: offline
    Re: PIC32MX795F512L + SSD1963 with ( Resisitve Touch Four Wires) 2019/12/23 10:04:16 (permalink)
    0
    Anybody have some idea?
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5