• AVR Freaks

Helpful ReplyHot!PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM:

Author
karan123
Super Member
  • Total Posts : 791
  • Reward points : 0
  • Joined: 2009/02/02 11:11:21
  • Location: 0
  • Status: offline
2019/05/15 02:18:28 (permalink)
0

PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM:

Hi , 


I have worked on PIC32MZ"EF"  4.3 inch 480 x 272 with LCC and Internal SRAMwith Microchip Harmony V2_06 (RGB 5-6-5 Interface) .


 I have checked below link ..https://www.microchip.com/forums/m930656.aspx Is it Possible to interface 7 inch 800 x 480 Resolution With Internal SRAM PIC32MZ"EF" (RGB 332)  256 Colors ?



What could be the basic hardware connections ? 


Thanks in advance ..
 --Karan
post edited by karan123 - 2019/05/15 05:03:19
#1
NKurzman
A Guy on the Net
  • Total Posts : 17341
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/15 05:43:17 (permalink)
0
800 * 400 * 1 = 320,000 of RAM.
The connections are the same as the other.
You intended panel is 256 colors?
#2
karan123
Super Member
  • Total Posts : 791
  • Reward points : 0
  • Joined: 2009/02/02 11:11:21
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/15 07:01:23 (permalink)
0
800 * 400 * 1 = 320,000 of RAM. 
The connections are the same as the other. 
You intended panel is 256 colors?


Thanks

Yes, I have to use 256 colors only . Less Number of Colors are required.  Please Check attachments.Both Displays (7" and 4.3") are Pin to Pin compatible .


Which demo should I use for mine requirement ?C:\microchip\harmony\v2_06\apps\gfx

Do I need change only on MHGC?

 Thanks

 --Karan
post edited by karan123 - 2019/05/15 07:57:14

Attached Image(s)

#3
Ed@Microchip
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2017/04/06 09:39:29
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/15 13:29:49 (permalink) ☄ Helpfulby karan123 2019/05/15 18:36:30
0
We have not tried driving an 800x480 WVGA display w/ PIC32MZ EF LCC. Theoretically, it is possible, but there are a few things that need to be sorted out.
 
1.) First is the signal mapping. To drive 8-bit RGB332 data to a 24-bit panel, the MSBits of each color in the 8-bit RGB332 data will need to be mapped to the MSBits of each color in the 24-bit RGB888 input to the panel. Since the 8-bit RGB332 data will be coming out of the lower byte of the EBI data bus [7:0], the mapping will be as follows:
 
EBI RGB332[7:0] -> LCD RGB888[23:0]
R: EBI7 -> LCD23
R: EBI6 -> LCD22
R: EBI5 -> LCD21
G: EBI4 -> LCD15
G: EBI3 -> LCD14
G: EBI2 -> LCD13
B: EBI1 -> LCD7
B: EBI0 -> LCD6
 
The remaining pins on the LCD can be connected to the MSBit of each color in the RGB332 data:
R: EBI7 -> LCD[20:16]
G: EBI4 -> LCD[12:8]
B: EBI:1 -> LCD[5:0]
 
2.) The second thing is the refresh rate. With a WVGA display, the LCC will be driving about 3x the resolution of a 480x272 WQVGA panel. Which means that the resulting refresh rate can potentially slow down to 1/3th versus that with a WQVGA display. If the target WVGA display cannot support the slower refresh rate, the display output will not look good.
 
 
#4
karan123
Super Member
  • Total Posts : 791
  • Reward points : 0
  • Joined: 2009/02/02 11:11:21
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/15 18:44:41 (permalink)
0
@Ed@Microchip ,
 
Thanks for update ..
I will make changes in hardware as per your suggestion in Msg#4.
 
ed@microchip
2.) The second thing is the refresh rate. With a WVGA display, the LCC will be driving about 3x the resolution of a 480x272 WQVGA panel. Which means that the resulting refresh rate can potentially slow down to 1/3th versus that with a WQVGA display. If the target WVGA display cannot support the slower refresh rate, the display output will not look good.

 
On which factors  refresh rate will depends ? Means 7inch TFT will supports or not ?
Please check below links and attachments.
1) 4.3 inch TFT Timing Controller Datasheet
https://www.buydisplay.com/download/ic/ST7282.pdf
 
2) 7 inch TFT Timing Controller Datasheet
https://www.buydisplay.com/download/ic/EK9713.pdf
 
--
Karan
post edited by karan123 - 2019/05/15 18:47:04

Attached Image(s)

#5
NKurzman
A Guy on the Net
  • Total Posts : 17341
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 07:53:30 (permalink) ☄ Helpfulby TS9 2019/05/17 08:47:39
0
Not all 7"  TFT panels are the same.
You will need to insure the PIC ans clock rate will not give you any issue with your display.
It will take longer to send the data each frame.  and the CPU will need to work longer to service the display.
 
In short, it may work.  You would need to try and see,
#6
TS9
Super Member
  • Total Posts : 661
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 08:27:15 (permalink)
0
I have one question about external SDRAMs.
 
How to select RAM basis as Technically between these with LCC ?
 
SAM E70 Xplained Ultra Development Board
IS42S16100H-7BLI SDRAM -- 16Mb SYNCHRONOUS DYNAMIC RAM
https://www.mouser.in/Sea...yword=IS42S16100H-7BLI
Cost USD : 1.66
 
Multimedia Expansion Board II (MEB II)
IS61WV102416BLL-10TLI - SRAM 16M (1M x 16) 10 ns Async SRAM
https://www.mouser.in/Pro...252B4CchUtwbO0lwblE%3D
Cost USD : 21.12
 
 
Cost difference is 201% higher ?
Will  IS42S16100H-7BLI with PIC32MZ ?
--
TS9
post edited by TS9 - 2019/05/17 08:52:45
#7
NKurzman
A Guy on the Net
  • Total Posts : 17341
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 09:53:03 (permalink)
0
So you Priced the External RAM Chips?  An external GPU is cheaper.  Even a PIC32 DA is Cheaper.
The LCC design needs expensive Static RAM, not the cheaper Dynamic RAM.  I assume that at some point in the Past it made economic sense.  If you Need the Low Cost, then you can only use the Internal RAM.
 
A GPU will also solve  timing an CPU load Issues.
Easiest is on of the Harmony supported ones, But most are not that great.  But Adding similar Chips is Posible.
 
#8
TS9
Super Member
  • Total Posts : 661
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 10:01:07 (permalink)
0
--Repeated--
post edited by TS9 - 2019/05/17 10:10:02
#9
TS9
Super Member
  • Total Posts : 661
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 10:01:08 (permalink)
0
Ok ..Thanks ... But What is difference in operation between both the memories ?

Why there is much cost difference between two?

One is approximately $1.66 and other one is $22?

Why Cheaper RAM uses in
SAM E7 Board which is also based on LCC (I think)?
post edited by TS9 - 2019/05/17 10:39:45
#10
NKurzman
A Guy on the Net
  • Total Posts : 17341
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 11:47:34 (permalink)
0
Dynamic vs Static RAM.
DRAM requires a refresh circuit. SRAM does not. The ARM chip must have it. The PIC32 does not on the EF Chips. I suppose you could construct one.

There are other types of memory that may work, assuming they still exist. Like pseudo static RAM.
#11
TS9
Super Member
  • Total Posts : 661
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 16:54:51 (permalink)
0
--Repeated--
post edited by TS9 - 2019/05/17 17:00:34
#12
TS9
Super Member
  • Total Posts : 661
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 16:54:52 (permalink)
0
NKurzman
Dynamic vs Static RAM.
DRAM requires a refresh circuit. SRAM does not. The ARM chip must have it. The PIC32 does not on the EF Chips. I suppose you could construct one.

There are other types of memory that may work, assuming they still exist. Like pseudo static RAM.


Many of Thanks...Now I got the point.
The ARM Chip have inbuilt SDRAM Controller to interface SDRAM memory,for refreshing it

PIC32 EF doesn't have
post edited by TS9 - 2019/05/17 17:31:05
#13
karan123
Super Member
  • Total Posts : 791
  • Reward points : 0
  • Joined: 2009/02/02 11:11:21
  • Location: 0
  • Status: offline
Re: PIC32MZ"EF" : LCC 7 inch 800 x 480 Resolution With Internal SRAM: 2019/05/17 18:00:12 (permalink)
0
NKurzman
Not all 7"  TFT panels are the same.You will need to insure the PIC ans clock rate will not give you any issue with your display.It will take longer to send the data each frame.  and the CPU will need to work longer to service the display. In short, it may work.  You would need to try and see,


@NKurzman ..I will check then Update by next week. Thanks from my side.
#14
Jump to:
© 2019 APG vNext Commercial Version 4.5