When I loaded up Kicad and the boards I noted a few errors messages about libraries not found that I need to sort out.
So if there are no other volunteers I will work away and make some of the simple changes as I start up the learning curve.
Dave
VE7PKE
1. The signal to connect/disconnect power is PWREN1# and PWREN2#. The details are on page 7 of the BeMicro SDK schematic. There is a PWREN# (pin 4) on the BeMicro connector. Currently, I have added a jumper to the BeMicro to pull PWREN low. I do this not to connect the two 5V supplies, but to fool the FT245RQ. I must then also connect power and ground to the USB connector as well as the SDR. (If there is no "true" USB connection, I believe the FT245RQ detects this and prevents the BeMicro SDK from functioning.)
If I were to redesign this, I would have a jumper for PWREN# on the daughterboard and also tie the 5V digital supplies between the SDR and BeMicro. (Currently they are disconnected in the prototype, but with a test pad for experimentation.) Then, you could put the jumper on to pull PWREN# low and power everything through the SDR power with no need or noise hassles of a USB connection. You can also remove the jumper and power the BeMicro via standard USB for quick programming iterations. You will need to be able to power the BeMicro via standard USB for the initial boot and programming of the EEPROM.
I measure 230-240 mA at 4.86 V for the BeMicro SDK when running 2 receivers. I think this is close to the maximum you will see. You probably should add some margin.
By the way, the NCP111/ST33TG regulators will not handle >10V input. I almost fried my prototype by connecting it to 13V. Also, they burn a lot of power in heat. I saw them being used in either the Hermes, HiQSDR or AD9866 demo board, and just went with them. Some sort of low-noise switching supply design might be better. The BeMicro does this.
2a. The SPI bus from P1 to P17 should be wired as traces on the pcb. These connectors can be removed. They were included for flexibility during prototyping, but the FPGA SPI works find.
2b. The jumper from P14 to P13 supplies voltage to the +5V plane for the output amplifier in the AD9866. It is a jumper on the prototype to provide flexibility on what, if any, this voltage is.
R6, which was just a wire in the prototype, is included because of discussion on pages 30 and 31 of the data sheet, under "IAMP CURRENT-MODE OPERATION." It says, "The transformer should be specified to handle the dc standing current, Ibias, drawn by the IAMP. Also, because Ibias remains signal independent, a series resistor (not shown) can be inserted between AVDD and the transformer's center-tap to reduce the IAMP's common-mode voltage, Vcm, and reduce the power dissipation on the IC." I used a 0 Ohm resistor for R6 but was careful to adjust my 5V supply to just bellow 5V. Also, I determined the minicircuits device could not handle this standing current, and wound my own transformer.
Since you are using the medium output power path on the AD9866, be sure to read the section "IAMP CURRENT CONSUMPTION CONSIDERATIONS" on page 32 of the datasheet. It appears possible to exceed the device power dissipation limit, but maybe not with only the OUT_N.
2c. Regarding clocking, there are dedicated clock inputs on the FPGA, which appear on signals P1,P2,P35,P36 of the BeMicro connector. The clkout1 of the AD9866 should not connect to P12 (a generic IO) on the BeMicro connector, but should instead route to P1 (pin 1, test pad 5) of the BeMicro connector, which is a dedicated clock input. My prototype had routed to both pins, which is extra load on the clock. I never used the P12 input except for some early testing.
It looks like P54 is the other side of the differential output that is used to drive the Ethernet, which I think means it is off limits for us, because we need the Ethernet. Perhaps we can use the one that goes to the MicroSD card, but that one doesn't seem to go to the connector. I looked at the Altera Pin Planning Guide (which has the Cyclone IV data removed), the Cyclone IV Device Datasheet, and probably the most helpful the Quartus II Chapter 4 on I/O assignments. At this point, I don't see a good way to connect this to a PLL_CLKOUT pin, but there may be other better options than the general purpose I/O pins. I'm not familiar enough with this digital stuff to feel comfortable changing this. Maybe someone with more savvy can have a stab at it.
In full-duplex mode, "The AD9866 acts as the master, providing RXCLK as an output clock that is used for the timing of both the TX[5:0] and RX[5:0] ports." (datasheet pg. 24) In my current prototype, rxclk is connected to a general I/O on the FPGA (signal P13, pin 31). This signal is a ~147 MHz clock in full-duplex (2x the 73.768 MHz) and more thought should be given to it. (It may be one of the reasons for the noise I saw when experimenting with full-duplex.) My guess is that it should be carefully routed to an FPGA dedicated clock output. Signal P54 (pin 52) for example. I don't know off the top of my head, but I'd read the relevant sections of the Cyclone IV documentation and figure out the best thing to do. You want to use a FPGA pin capable of general I/O for half-duplex operation, and one that can drive a fairly high-speed clock when in full-duplex mode.
2d. Yes, P22 can be ommitted. CLKOUT1 is the recommended output clock to use.
3. The DIP switches pulled all 3 signals low. The various modes are described on page 19 of the datasheet. This makes half-duplex the default, but you can still switch to full-duplex by writing configuration registers via the SPI.
4. You may want to use 4 of the unused pins for a MAC/IP serial EEPROM as in the original Hermes. In the current Hermes-Lite RTL, the MAC address is hardcoded, and the IP can be hardcoded or set to use DHCP. Changing the hardcoded values requires recompilation with Quartus II. There is room on the BeMicro SDK EEPROM for these values, and eventually I'd like to use that, but it requires some work. The easiest would be to match the Hermes exactly with an extra serial EEPROM. Refer to their schematic.
Also, you may want to expose at least a few of these pins to pads or a simple header for experiments.
5. I can't think of anything else that can be removed. I see you still have just two regulators. How are you planning to address the excessive heating I saw with the AVDD_ADC/AVDD_DAC/CLKVDD regulator? One way is to add a third regulator that drives only AVDD_ADC.
6. "The nominal differential input impedance of the RxPGA input appearing at the device RX+ and RX− input pins is 400 Ω//4 pF (±20%) and remains relatively independent of gain setting." (pg. 33 of datasheet) I had planned to better match this impedance in a next pcb layout by using the solder side as a ground plane for these traces (nothing in between). Right now the trace impedance is much lower. Regarding terminiation resistors, I haven't thought much about this, and am no expert in this area, so do what you think is best.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Rob Frohne, PhD, PE Professor EF Cross School of Engineering Walla Walla University 100 SW 4th Street College Place, WA 99324 (509) 527-2075
Matt.
Hi Steve,
I have another question for you.....
On 05/04/2014 03:55 PM, Steve Haynal wrote:
1. The signal to connect/disconnect power is PWREN1# and PWREN2#. The details are on page 7 of the BeMicro SDK schematic. There is a PWREN# (pin 4) on the BeMicro connector. Currently, I have added a jumper to the BeMicro to pull PWREN low. I do this not to connect the two 5V supplies, but to fool the FT245RQ. I must then also connect power and ground to the USB connector as well as the SDR. (If there is no "true" USB connection, I believe the FT245RQ detects this and prevents the BeMicro SDK from functioning.)
If I were to redesign this, I would have a jumper for PWREN# on the daughterboard and also tie the 5V digital supplies between the SDR and BeMicro. (Currently they are disconnected in the prototype, but with a test pad for experimentation.) Then, you could put the jumper on to pull PWREN# low and power everything through the SDR power with no need or noise hassles of a USB connection. You can also remove the jumper and power the BeMicro via standard USB for quick programming iterations. You will need to be able to power the BeMicro via standard USB for the initial boot and programming of the EEPROM.
It looks to me as if when PWREN2# is low it connects VCC (the +5V input from the USB connector on the BeMicro) to the +5V bus that powers the rest of the BeMicro and which is connected to the 80 pin connector, (pins 79-80), and so it connects the external power to the FT245R, and pull its RESET# low, making turning off the FT245R nicely as you describe. However, what happens when someone removes the jumper and powers the board without the USB port of the BeMicro connected to the computer or other power? The max ratings say that the voltages on the bidirectional data pins of the FT245R must be lower than VCC+0.5 volts, but VCC will be 0 volts. The data pins are connected to the CPLD (EPM240ZM68C7N) and who knows what it might be putting on the data lines. I'm probably worrying about nothing, but would feel more comfortable with your take on how dangerous this is. I suppose we could make dire warnings in the documentation to not do this.
Any comments?
Thanks,
Rob
Thanks for the quick reply. I don't really think you want to use a device like this to run at 13.8 volts, unless the current is minimal. I think if it really is a maximum rating, it should me in the Makimum Ratings section, but I may be wrong. Usually the notes you took as absolute maximum ratings are for the test they are printing the spec for, at least that is how I've always interpreted them.
My tentative plan is to use a micro USB connector for the power. You can get chargers now that put out a couple of amperes, even though computer USB ports are limited at 500 mA. Other options I've thought about a little are to just put terminal screw connectors, or perhaps a more specialized connector, like a barrel connector?
Thanks again Steve!
Rob
On 05/05/2014 10:23 PM, Steve Haynal wrote:
Page 3 of the regulator datasheet you link to:
3.3 V (Vin = 5.3 V, Iout = 10 mA, TA = 25 °C)(Vin = 4.75 V to 10 V, Iout = 0 mA to 800 mA) (Note 4)
I read this as Vin should not be above 10V.
73,
SteveKF7O