This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C epi -eTHERNET CONFIGURATION

Hello,

We are using TM4c controller to get Data from FPGA and send out as UDP Packets.CTI_NODE1_4_Manager.rar

FPGA IS working in 20 MHz sending out data in 250us(micro second).

In controller side we are using EPI-GPmode in 120mhz. EffectivelyEffectively we can receive the data from FPGA, But the difficulty what we are facing is getting FPGA DATA IN INTERRUPT and sending it as udp out in 250 us.....OUR EPI configuration is correct we checked with different data's.

Now what we think is some timing issue like we want to improve the rate at which interrupt is serviced and data is send out.

For optimization purpose in ccs properties we put 2)global optimizations 

Speed 5

I am attaching my entire project folder.....

Any suggestion to sort out my issues ,please......

Regards,

Krishnan

  • In EPI/FPGA communication, EPI is the mater. When FPGA has data to transfer, It needs to notify MCU so that MCU can read the data via EPI. I guess that this is the interrupt you are talking about. FPGA needs to generate this interrupt by toggling a pin. This FPGA pin will be connected to an interruptable MCU GPIO pin to interrupt the MCU.

    Thanks and regards,

    Zhaohong
  • Hello,

    What you mentioned are exactly correct.We are able to get interrupts from FPGA which is working at 20mhz at every 250 microsecond.1024 bytes are transferred to controller from FPGA TO Controller via EPI in General purpose mode.Controller is able to receive data.Controller have to receive data from FPGA and send out each packets as UDP......Individually every modules we tested succesfully .

    But problem is when we receive data and send out as udp its taking more time for controller to handle ,so its getting halted or udp packets are missing,our epi clock is 120 mhz.........This is our actual problem and what we are expecting is a solution to this...

    Any Help Please ,if possible...........

    Regards,

    Krishnan