Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFX on pic32MK #17

Open
raf6410 opened this issue Mar 24, 2021 · 9 comments
Open

GFX on pic32MK #17

raf6410 opened this issue Mar 24, 2021 · 9 comments

Comments

@raf6410
Copy link

raf6410 commented Mar 24, 2021

Hi,

I use the project "legato_quickstart" on my dev board curiosity pic32 mz ef.
it's works
i have try to convert this project to a PIC 32MK1024MCM100 and now it NOT working.
After many try, nothings works.
they are no activity on SPICLK pin.
I use terminal ( putty) to try to debug, the program it still running.

Please, could you help me.

@MHGC
Copy link
Contributor

MHGC commented Mar 24, 2021

Hi,

Is this flavor of the legato_quickstart the one you are based off of?
https://microchip-mplab-harmony.github.io/gfx_apps_pic32mz_ef/apps/legato_quickstart/firmware/legato_qs_mzef_cu2_cpro_spi.X/

Are you using the same display for the PIC32MK1024MCM100?

@raf6410
Copy link
Author

raf6410 commented Mar 24, 2021

hi,

Yes i use this one. I try :

  1. in properties i change the ref of the pic => building ok => but nothings on the screen
  2. use the files .MHC of the exemple in a new project base on pic 32MK => building ok => but nothings on the screen
  3. I switch the display on my board curiosity board pic 32mz => it works on this one

@MHGC
Copy link
Contributor

MHGC commented Mar 24, 2021

Do you have the datasheet for your display?

Also, can you post a picture of the MHC project diagram (the one in the Harmony Configurator) for 2.?

@raf6410
Copy link
Author

raf6410 commented Mar 25, 2021

hi,

this is my display : http://www.lcdwiki.com/3.5inch_SPI_Module_ILI9488_SKU:MSP3520

I use harmony 3 :
- core v3.9.0
- csp v3.9.0
- gfx v3.9.2

MHC project diagrm

@MHGC
Copy link
Contributor

MHGC commented Mar 26, 2021

Ok. Next is the pin manager.
Do these pin definitions:
GFX_DISP_INTF_PIN_RESET (GPIO OUT/LATCH HIGH)
GFX_DISP_INTF_PIN_RSDC (GPIO OUT/LATCH HIGH)
GFX_DISP_INTF_PIN_CS (GPIO OUT/LATCH HIGH)
GFX_DISP_INTF_PIN_BACKLIGHT (GPIO OUT/LATCH LOW)

match with the pins from your PIC to the interface?

@MHGC
Copy link
Contributor

MHGC commented Mar 26, 2021

Can you measure the pin output of each of these pins? Compare the behavior out of the MZ EF Curiosity 2.0 vs your board?
See which ones have similar behavior and which one does not?

@raf6410
Copy link
Author

raf6410 commented Mar 31, 2021

HI,
i have check pin manager these signals are OK and correctly attributed
I measure each signal, all Signals are differents GPIO PIN and SPI PIN
SPI pin are correctly attach in PIN manager

PIN
SPI_Setting

@MHGC
Copy link
Contributor

MHGC commented Apr 5, 2021

Hi,

"all Signals are differents GPIO PIN and SPI PIN"
Do you mean these signals look different coming out of MZ EF versus your MK board?

Can you probe the 4-line SPI pins durng driver initialization in DRV_ILI9488_Configure and send picture of the probe signals?

@raf6410
Copy link
Author

raf6410 commented Apr 19, 2021

Hi,

Sorry for my response late.

For exemple below the signal SPI Clock on initialization phase on my custom PIC32MK board
048

and now the same signal on the PIC32 MZ EF curiosity
045

I try to connect my display on all SPI on the PIC, it is the same probleme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants