MINEO A - a 16-bit XC3S400 board

Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL.
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

MINEO A - a 16-bit XC3S400 board

Post by enso »

I just received the prototype boards from the fab for the first iteration of MINEO. I had to compromise a little to get the project moving (18 bit RAMS will have to wait for a while). The board wound up with:
  • -XC3S400 FPGA
    -XCF02 platform flash
    -JTAG port as usual
    -2 x 128K (or 512K) SRAMS wired as 16-bit-wide memory
    -uSD card connector
    -CP2102 USB-serial converter (I am having issues with the circuit, will probably not populate for now)
    -USB for power (and serial when it works)
    -regulators for 3.3V, 2.5V and 1.2V
    -lots and lots of IO
    -a small prototyping area near RAMS for extra circuitry
MINEO-A.board.jpg
I don't have time to check it now... I am sure I made some stupid mistake and will have to run another PCB.

My hope is to use this board as a reference platform for the 65org16 processor family. My price target is $50; I think I can make it work.
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Re: MINEO A - a 16-bit XC3S400 board

Post by ElEctric_EyE »

Looks good. One note: I've had great success using the MCP2200 USB to serial converter. I've gotten speeds up to 1Mb using the Br@y terminal program. Free drivers are on Microchip's website. I used their windows drivers when I was experimenting with the 65Org16 Devboard.
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

I'll take a look at MCP2200. I've been using factory boards with CP2102 which is why I stuck with it. The 2102 in my CHOCHI-F board did not work - and I copied the circuit to MINEO for expediency. I have to look at it again - I think it's my learning disability acting up again. I am sure it's something simple.

EDIT: MCP2200 seems to need an external oscillator... I'd rather not...
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

I feel a little stupid having missed your 65Org16 Devboard thread altogether, ElEctic_Eye!

Upon a second look, the MINEO is a little different.
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Re: MINEO A - a 16-bit XC3S400 board

Post by ElEctric_EyE »

It's your choice, I'm not pressuring you. What frequency oscillator are you using BTW?
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

The main oscillator is 60MHz, same as the CHOCHI/DILDAR. I have a reel:)

CP2102's need no oscillator, which is why I was drawn to them...
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Re: MINEO A - a 16-bit XC3S400 board

Post by ElEctric_EyE »

I believe I used an external clock signal from the FPGA to feed the 12MHz. It is a clean multiple of 60MHz too... Let me know if you do decide to use it, I have the Devboard board layout and can write up a simple schematic.
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

Thanks! I still have 9 2102s, so I will try to fix the circuit first. If I give up, I'll take you up on your generous offer...
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Re: MINEO A - a 16-bit XC3S400 board

Post by ElEctric_EyE »

enso wrote:
The main oscillator is 60MHz, same as the CHOCHI/DILDAR. I have a reel:)

CP2102's need no oscillator, which is why I was drawn to them...
Maybe also because your SiLabs IC supports drivers for Windows, Linux and Mac. Nice choice.
User avatar
Arlet
Posts: 2353
Joined: 16 Nov 2010
Location: Gouda, The Netherlands
Contact:

Re: MINEO A - a 16-bit XC3S400 board

Post by Arlet »

In my USB serial converter I use a FT230x. It also does not require an external oscillator, and has good driver support.
Attachments
usb-ttl.jpg
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

I am beginning to suspect that a batch of XCF02s and XCF01s I bought on AliExpress are fake. They are slightly different from the XCF01s I have that work (they are flat, the good ones have a dimple on top). I now have 4 CHOCHIs that just don't work.

The MINEO board would not scan via JTAG until I replaced the XCF02 with a good XCF01. I put another XCF02, and it's not scanning again...

I will try sticking and XCF01 again and see if I can actually configure the XC3S400. The '01 is not big enough to keep the bitstream, but is required for the JTAG chain to operate.

EDIT
Argh, the board is too fried now. I'll have to reflow another one.
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Re: MINEO A - a 16-bit XC3S400 board

Post by ElEctric_EyE »

enso wrote:
I am beginning to suspect that a batch of XCF02s and XCF01s I bought on AliExpress are fake. They are slightly different from the XCF01s I have that work (they are flat, the good ones have a dimple on top)...
How do you know where pin 1 is on the ones you suspect are fake, since these do not have dimples?
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

Instead of the slight round indentation, they have a silksreened dot! Bastards.

I am getting more and more convinced that the XCF02s are problematic. I built another board. It does not scan with the 'XCF02'. It works without the XCF02 (at least IMPACT recognizes the XC3S400) after I short a couple of pins to complete the JTAG circuit. It also works with my tried and true XCF01s (Both XCF01 and XC3S400 are recognized).

Aw, heck. That's the last thing I need to deal with.

EDIT: At least I have a MINEO board that may work! I'll have to scramble to make a bitstream to flash the LED...

EDIT: I also got the CP2102 working in a semi-populated MINEO board.
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

Here is a pic of the fake chip. Note that there is no dimple, just a painted dot. Sorry about the quality of the image...
FAKE.JPG
Here is a picture of what's likely to be a good chip:
NOTFAKE.jpg
NOTFAKE.jpg (9.37 KiB) Viewed 3658 times
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
User avatar
enso
Posts: 904
Joined: 29 Sep 2012

Re: MINEO A - a 16-bit XC3S400 board

Post by enso »

Good news, friends!

I am flashing an LED with my torture setup for Mineo:
mineo.double.jpg
That means that power connections, clocking and at least some IOs are OK.

The bottom board provides USB power and was the initial build. The top board has the FPGA and the crystal. Perhaps it's time to build a full board...
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
Post Reply