Home » RBC Forums » General Discussion » ProtoRC6, Prototype board for EPM570 CPLD (3.3V CPLD)
|
|
|
|
Re: ProtoRC6, Prototype board for EPM570 CPLD [message #10677 is a reply to message #10668] |
Sun, 07 April 2024 06:04   |
plasmo
Messages: 916 Registered: March 2017 Location: New Mexico, USA
|
Senior Member |
|
|
Added additional logic and I/O pins to control DS1302 RTC and SD card. RTC is located at default IO address of 0xC0; SD interface emulated the bit-bang PIO port at 0x69. RomWBW was able to detect and configure these devices. In fact, RomWBW used the RTC to calculate the CPU clock as 21.992MHz which closely matched the actual 22MHz clock.
The bit-bang SD interface is not as fast as a dedicated SPI interface and much slower than the CF interface. I measured disk copy time of a 1-megabyte file from SD disk to SD disk as 99.9 seconds; whereas copying the same file from CF disk to CF disk was 18.8 seconds. It makes sense to build a SPI circuit in CPLD to speed up SD access. Current consumption of the hardware is 46mA@3.3V when idling in CP/M; 60mA@3.3V when copying files from CF disk to SD card.
CPLD resource utilization is 24% of available macrocells and there are still 20 spare I/O pins available. I believe there are sufficient logic to do graphic and PS2 keyboard, but that'll wait for another day.
I'm done with the 3VRomWBW prototype for now. My last thought is EPM240 development board is readily available on eBay for about $8, so a low-cost daughter board consisted of Z80, 512K RAM, SD card, and RTC can be added to the EPM240 development board to make an economical RomWBW-capable Z80 computer. Furthermore, there may be enough logic remaining to add graphic and keyboard functions to make it a standalone computer.
Bill

|
|
|
|
|
|
Re: ProtoRC6, Prototype board for EPM570 CPLD [message #10742 is a reply to message #10716] |
Tue, 30 April 2024 19:51  |
plasmo
Messages: 916 Registered: March 2017 Location: New Mexico, USA
|
Senior Member |
|
|
This board looks the same as the board in the first post of this topic, but it isn't. Instead of EPM570, the part is EPM240. I found a good deal on eBay for EPM240, 10 pcs for $15.50, https://www.ebay.com/itm/292854449165 so I bought 20 pcs and check them out with the EPM570 prototype board. EPM240 has 4 extra I/O pins that are power/ground on EPM570, so as long as I define the 4 I/O pins as inputs, they won't cause problems. I built two protoboards with EPM240 and they checked out OK.
Bill
|
|
|
Current Time: Sat Feb 08 22:08:07 PST 2025
Total time taken to generate the page: 0.00839 seconds
|