Breakouts for P2 Eval
Rayman
Posts: 14,646
in Propeller 2
I know Parallax is coming out with add on boards for P2 EV.
But, I just turned the one I did to add HyperRam to P123 into a board for P2 EV.
Mostly because I already have a stencil and I know the design works...
Thought I'd share... You can only connect one side or the other.
One side gives HyperRam and a few servo headers.
Other side gives QPI Flash, uSD, regular flash and two USB ports.
Since I'm at it, doing my own VGA breakout too. Still thinking about what else to add to this one...
VGA only uses 5 of 8 P2 pins...
But, I just turned the one I did to add HyperRam to P123 into a board for P2 EV.
Mostly because I already have a stencil and I know the design works...
Thought I'd share... You can only connect one side or the other.
One side gives HyperRam and a few servo headers.
Other side gives QPI Flash, uSD, regular flash and two USB ports.
Since I'm at it, doing my own VGA breakout too. Still thinking about what else to add to this one...
VGA only uses 5 of 8 P2 pins...
Comments
Connect them along with GND and 3.3 or 5V to a 6 pin header so they can be used for things like audio, pwm, serial i/o, keyboard, mouse, etc. The unused pin could be cut/left off so the connector could not be reversed.
Add audio, and one empty DAC.
Was just looking at this ESD chip for VGA:
http://www.ti.com/product/tpd7s019?qgpn=tpd7s019
It also does level shifting on DDC lines.
Interesting to think about, but don't think we need ESD protection or DDC, right?
well PS2 Keyboard/mouse comes to my mind and would make sense with VGA.
Mike
5" and higher, I'd have to think about it...
EVE2 is great for GUI applications. Wouldn't work so well when fast, dynamic full screen updates are needed...
I do feel the need to make a 4.3" LCD board now, especially since you reminded me that don't need external ADC chip for resistive display...
Hopefully garryj can get it working with p2 eval (and also find a way to get it all in one cog).
Will be nice to have the option, do not get me wrong. Being able to use other input devices may make sense, as might storage.
As long as there are reasonable adapters, I will use the simlle, low resource option for keyboard and mouse.
Wil be super interesting to see what tradeoffs are worth what as people ramp up.
Maybe allow footprints for 1 or 2 of these ?
https://www.electrodragon.com/product-tag/ram/
https://lcsc.com/product-detail/RAM_Lyontek-Inc-LY68L6400SLIT_C261881.html
Those are SO8, PSDRAM, so they have refresh rules similar to hyperram, but are not DDR and not BGA
One idea was to connect 4 of these to a 16W LCD BUS, and use 2 carefully paced clocks, one for LCD one for PSRAM.
RAM->LCD is set RAM address then any LCD command, then clock both. Gaps are used for writes.
There is also
http://www.jeju-semi.com/Products/OctaRAM
they claim M/P on JSC64SSU8AGDY-75I (24B BGA 6x8mm), but data is elusive.
There is also Macronix part code MCP = MX65L12A64AA, 512Mb OctaFLASH 64Mb OctaRAM x8 x8 3V 6x8mm 24-TFBGA - maybe has 2 chip selects ?
That has a subset of RaspPi 40W as 10w + 4w female box headers, for power and SPI ends.
To hit 128MHz the leads would need to be sort, given the comments already around SD track lengths and MHz impacts.
I see two main mechanical designs - one where the P2 is right behind the LCD and direct parallel connect is fine, and another where the LCD(s) is remote from the P2, and a serial display cuts cables.
Longer term, we can imagine LCD modules like that CPLD one, use a P2 instead, for serious flexibility
Those displays were nice and bright, and ideaal from a ram usage viewpoint. It'd be great to see them up and running with P2
Just don't want to use a ton of pins...
Think I can use 3 octal D flops to latch in 24-bit color...
Maybe something like this: SN74LVC574A
Then, can just use one edge of eval board...
Max dotclock is 15 MHz. Seems like would have all day with P2 at 300 MHz...
Oh yes, I would buy one
Mike
You might mange just 2 latches, and feed the other 8 bits straight thru, with careful timing.
Tpds,Tpdh look to be 10ns, for a 15MHz period of 67ns
Streamer does not mention 24b mode, and it's not clear if P2 can stream HUB -> LUT at fp/3, or fp/4, and then LUT.24 or LUT.32 -> 8 pins at fp ?
A MUX of LUT.32 -> 4 x 8 @ fp, could help the reduced-latch design, ie by repeating the last value 8 bits in LUT, it gives 50% of the LCD timing for Tsu/th
I also see there are bus-hold and series terminated D-Latches, but more fringe parts :
SN74LV574A is listed as cheapest at TI.com, then SN74LVC574A, SN74AHC574,SN74HC574
The Nexperia 74AHC574 has Schmitt triggers on all pins, and does not have the very high drive of LV/LVC, so has less ringing. Nexperia AHC parts spec at 125MHz typ
Looking more at the clocks, & data flows, the AHC377 appeals, (alternate could be LVC377) as it has a Data Enable, which allows this scheme, where LCD_DE == 377_DE
and separate clocks/clock gating are avoided. (fixed 377 has active low Enable)
Or, a CPLD could do this too...CPLD could create the LCDCLK/377DEN as needed.
Here is a variant that uses a lower CLK frequency in a 2 phase, 4 state scheme, with 2 x x574, and a Single-Gate XOR to set the LCD polarity.
This is both SW and HW compatible, should be good for 15~30MHz LCD clks, either polarity
This could prune to a 16b interface, with a single clock (uses both edges), and 1 Octal D-FF
For a non-bluetooth wireless dongle that supports mouse/keyboard and boot protocol and a P2 at 180MHz+, I'm pretty sure a single-minded host/driver mash-up would be doable in one cog.
I just picked up a little wireless Bluetooth keyboard with a mouse pad thingy. It looks a little like a game controller. When I'm close to it again I'll provide a link. But it could be really cool to work with P2. Could change my mind on USB in some occasions.
Guess I'll just tie up and left to 3.3V and connect bottom and right to P2 pins...
http://ww1.microchip.com/downloads/en/DeviceDoc/40001393C.pdf
Think I need 4 P2 pins to work it without a touchscreen controller...
Guess I'll either go without or drop in the TSC2003 I2C controller I usually use...
If you need more pins for touch, I find this mention of DE-Only displays :
https://hackaday.io/project/8146-ridiculous-lcd-display-hacks/log/47770-de-only-displays-no-hsyncvsync
These parts have min/max specs for DE line and Frame pauses, that are enough to extract all sync info.
Some parts call this HV mode / DE mode.
Tried again and found it, it's the 3.5" that has DE mode
It's OK, I have plenty of TSC2003 chips around...
Here's the 4.3" TFT board (screen grabs and eagle source attached).