FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6421 Discussions

eSPI agent core, memory write and memory read access

Theja
Beginner
1,204 Views

Hi,

       I want to use Intel eSPI agent core in MAX10 device for accessing general addresses. Can I use peripheral channel with memory read(32-bit) and memory write(32-bit) for accessing the user defined addresses (or) Is it meant only for accessing the "PORT IO addresses " like port80 ?

  Could anyone confirm on this 

 

Regards

Theja

0 Kudos
6 Replies
Ash_R_Intel
Employee
1,163 Views

Hi,

As I understand from the eSPI Specification, any level of peripheral can be accessed by the eSPI Master provided correct chip select decoding happens.

Please go through the spec in detail, especially section 3.2 Architecture Descriptions.

Enhanced Serial Peripheral Interface (eSPI) Interface Base Specification (for Client and Server Platforms) (intel.com)

 

Regards

 

0 Kudos
Ash_R_Intel
Employee
1,118 Views

Hi,

Do you have any further queries on this topic?


Regards


0 Kudos
Theja
Beginner
1,090 Views

Hi,

Thanks for your reply. Actually want to use this espi agent core slave for register read/write access i.e., CPU(host) will access this user defined registers through eSPI. Whether this is possible ?.

It will be great help if you share the example design or test bench or any simulation setup ..

Theja_0-1696997187833.png

 

0 Kudos
Theja
Beginner
901 Views


Hi,
The Intel eSPI Agent Core is receiving a PUT_MEMRD32_SHORT (1 byte) packet from the eSPI master. I am reading out the Non-posted RX FIFO('h10) via IP core's Avalon MM bus until RX queue is empty. I am getting the address and like to respond the associated data. So I am writing the following data in the NPTXFIFO (14h) :

- Byte 1: 0Fh (cycle type)
- Byte 2: 00h (length MSB)
- Byte 3: 00h (length LSB)
- Byte 4: 55h (Data)

After that I am writing 02h (NPTXFIFO_AVAIL) to the IP core's Control Register (4h).

But the Agent is only sending DEFER, it doesn't send the response with the data.

 

Is I am doing in correct way?

 

Regards

Theja

0 Kudos
Ash_R_Intel
Employee
871 Views

Hi,

Are you generating the espi_cs_n while giving the commands to the eSPI agent core? It is difficult to tell the exact issue. Request you to send your design so that it can be simulated and checked for issues.


Regards


0 Kudos
Ash_R_Intel
Employee
773 Views

As there is no response to this case, I am setting it to closure. Please feel free to open a new case.


Regards


0 Kudos
Reply