Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by myjoe1026

  1. M

    Why do I need a high resistor while using a buffer ?

    Hi there, Does anybody know why I need a high resistor(like 1M ohm) connected between the input and output of a buffer?
  2. M

    SPI sample code using FPGA

    Hi Klaus, Thanks for your suggestion. The thing is, I'd like to output clkout like b010 transition while transmitting the data in register in order to follow the SPI protocol. But, using bit0 of the counter as clkout only outputs a high or low not b010. And a loop of posedge seems can only...
  3. M

    SPI sample code using FPGA

    Thanks! I understand that the clkout <= 1'b1 gets ignored, so the output always 0. But, I still can't fix it. How can I generate a high-then-low pulse after every output of the register[count], so the SPI rules can be followed? Thanks again.
  4. M

    SPI sample code using FPGA

    Hi, What I expect is when SS=0, the MOSI will output a bit of data in register, an then the clkout will output a 1'b1 and 1b0 as SPI rules. Both MOSI and register pins output are as required, but nothing at clkout pin. Any wrong in the codes? Thanks. - - - Updated - - - In every positive...
  5. M

    SPI sample code using FPGA

    Yes, I've complied it, but the clkout seems worng:cry:
  6. M

    SPI sample code using FPGA

    Anything wrong here? module SPI(clkin,clkout,SS,MOSI); input clkin; output reg clkout = 1'b0; output reg SS; output reg MOSI; reg [0:79] register = 80'h9E8280E700010060000; reg [0:6] count = 7'd0; always @(posedge clkin) begin if(count == 7'd80) begin count = 7'd0; SS = 1'b1...
  7. M

    SPI sample code using FPGA

    Hi all, I'd like to use FPGA, Lattice broad LCMXO2, as a mater to implement SPI command to control other ICs. I only need pins: SS(set low while transmitting), MOSI(send data transmit) and CLK (clock for trigger) Is there any sample code for me to start with it?
  8. M

    Amplifier oscillation while cascading other ICs

    Hi Klaus, Yes, an analog switch maybe can do this, but I haven't found a proper one to cover +-3V, 6M signal. I'll give it a try. Thanks!
  9. M

    Amplifier oscillation while cascading other ICs

    Thanks for you respond. As you can see, the 6M signal from the amplifier without connecting the multiplier, its shape is good(pink one). while connecting the 6M and 1M signal as the inputs of the multiplier, both 6M(pink) and 1M(yellow) signals have lots of noise. Don't know how the...
  10. M

    Amplifier oscillation while cascading other ICs

    Hi all, I would like to design a single multiplication circuit with a multiplier IC, AD835. The input of the AD835 is a 6M signal from an amplifier, MAX4451, and a 1M signal from an Ardunio broad. The problem is: when I check the 6M signal from the amplifier without connecting the multiplier...
  11. M

    FPGA WARNING of initial value is never assigned

    OK! Thanks guys. I've fixed the address (index) and then it worked well!
  12. M

    FPGA WARNING of initial value is never assigned

    Yes, my data is that huge! Seems like it is too huge to run in the compiler. I'll try to separate it into two registers. Thank you guys anyway.
  13. M

    FPGA WARNING of initial value is never assigned

    Thanks! But my compiler just stopped there. Does it have anything to do with that?
  14. M

    FPGA WARNING of initial value is never assigned

    Sorry, didn't get it. I just want to output the Data value, which is 12'hABC, I've assigned. Why I have to assign a value in runtime?
  15. M

    FPGA WARNING of initial value is never assigned

    But I've written reg [11:0] Data = 12'hABC; ?

Part and Inventory Search

Back
Top