Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

How to Interface 10M04SCU169 with Host processor

Hello All,

I am new in this forum and FPGA device exp.

I would like to know how we can interface MAX10 series FPGA to External MCU/ Processor

How can we decide the IO lines at FPGA side for interfacing

I want to interface FPGA using 16-bit Data, 7-bit address and control signals

But I don't know what are and how many control signals required for interfacing? (RD/ WR..?)

and Where to connect all 16-bit data, 7-bit address and the control signal at FPGA side

please, guide us for interfacing pin mapping at FPGA side?

I tried to use pin planner but I don't know how to use it?

please reply to my quires as soon as possible

Thanks in advance

16 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The address line usage doesn't seem to be well considered. You want mutual exclusive address ranges for network controller and FPGA. Can be either achieved by using different chip selects or a high address bit fed into an address decoder.

    The FPGA processor interface will preferably connect address bits starting at A0 (presumed this is lowest word address line) to get consecutive register addresses.

    If high bus throughput is an objective, you should check the option to clock the bus interface with BCLK.

    --- Quote End ---

    Thank you

    I will use BCLK for bus clock

    In our application, as i mentioned three major components

    FPGA MAX 10 series 10M04SCU169 , LAN9252 ESC and RX631 CPU

    All i want to interface to FPGA, Now which address and how many lines to use I don't know?

    please find attached block diagram - signal connection

    and revert back your review comments
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You've stated several times in this thread that you're using the RX631 in a 169 BGA package, but the package in your block diagram is clearly not a BGA. That's really not important to the discussion here but it indicates a lack of knowledge on your part about what you're doing. You have still not said what data will be passing between the FPGA and microcontroller, which is critical to knowing what kind of interface is needed. Is the interface just used for reading and writing FPGA registers? If so then a serial interface would probably suffice. If you're passing packets back and forth then the parallel interface is probably needed, but do you really need 15 address lines?

    The more information you provide about your application the better advice you'll get from the nice people here who are trying to help you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You should know how large the intended FPGA register map is, if you possibly want additional dual port RAM. The decision rules the number of required address lines. The other parameter is data throughput.

    I already suggested a separate CS line for FPGA interface. A serial (SPI) interface would be a low pin count alternative for moderate data throughput.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Thanks a Lot

    Micro is RX631 169 BGA package from Renesas, Working on 3.3V VDD

    FPGA is also working on single supply 3.3V voltage

    RX631 is having 2 WAIT signal, 6 Chip Select, Write and Read signals and 24 address and 16 data lines

    We have LAN9252 ESC interfaced to RX631 Micro by 4 address line and 15 Data Line

    So, please guide us about How to interface FPGA to Micro and LAN9252 to FPGA using address and data line

    i have attached pin mapping connection diagram

    pls. revert back with suggestion and comments

    --- Quote End ---

    Sorry,

    Micro is 100 LQFP package

    and FPGA is 169 BGA package

    Micro will read the DPRAM data (in FPGA ), its FPGA reads the timer pulses and stores the data in DPRAM register

    then micro will read it - we have one more interface with FPGA and MIcro and i,e LAN9252

    i am confused about connection between micro, FPGA , should A0 address bit required in interface?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You've stated several times in this thread that you're using the RX631 in a 169 BGA package, but the package in your block diagram is clearly not a BGA. That's really not important to the discussion here but it indicates a lack of knowledge on your part about what you're doing. You have still not said what data will be passing between the FPGA and microcontroller, which is critical to knowing what kind of interface is needed. Is the interface just used for reading and writing FPGA registers? If so then a serial interface would probably suffice. If you're passing packets back and forth then the parallel interface is probably needed, but do you really need 15 address lines?

    The more information you provide about your application the better advice you'll get from the nice people here who are trying to help you.

    --- Quote End ---

    Sorry,

    Micro is 100 pin LQFP package

    and FPGA is 169 BGA package

    Micro will read the DPRAM register (in FPGA ), actually FPGA connected to encoder and FPGA reads the timer pulses and stores the data in DPRAM register

    then micro will read it - we have one more interface with FPGA and MIcro and i,e LAN9252 EtherCAT slave

    i am confused about connection between Micro, FPGA , should I connect A0 address bit to A1 in micro side or how it is?

    pls confirm the connection diagram , if any correction pls correct and revert back attacehment

    we want to use parallel interface among all Ic's

    project timeline is only one month, and not enough time to read all datasheet of FPGA

    pls. help
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You should know how large the intended FPGA register map is, if you possibly want additional dual port RAM. The decision rules the number of required address lines. The other parameter is data throughput.

    I already suggested a separate CS line for FPGA interface. A serial (SPI) interface would be a low pin count alternative for moderate data throughput.

    --- Quote End ---

    yes, we want to use DPRAM from the FPGA

    if the signal diagram is incorrect, pls advise

    what and where to correct in diagram.