Quantcast
Viewing all articles
Browse latest Browse all 36216

Re: Where could I find the SPI address in system.xml

Hi Istvan,

 

Thank you for your detailed note. I just found them as follows:

 

 

/* Definitions for driver SPIPS */

#define XPAR_XSPIPS_NUM_INSTANCES 1

 

/* Definitions for peripheral PS7_SPI_0 */

#define XPAR_PS7_SPI_0_DEVICE_ID 0

#define XPAR_PS7_SPI_0_BASEADDR 0xE0006000

#define XPAR_PS7_SPI_0_HIGHADDR 0xE0006FFF

#define XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ 166666672

/******************************************************************/

/* Canonical definitions for peripheral PS7_SPI_0 */

#define XPAR_XSPIPS_0_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID

#define XPAR_XSPIPS_0_BASEADDR 0xE0006000

#define XPAR_XSPIPS_0_HIGHADDR 0xE0006FFF

#define XPAR_XSPIPS_0_SPI_CLK_FREQ_HZ 166666672

/******************************************************************/


My guess is that the original form of word SPIPS is  Serial Peripheral Interface of  Processing system.

Is that right?


Why does the file define XPAR_PS7_SPI_0_BASEADDR as 0xE0006000 just like  XPAR_XSPIPS_0_BASEADDR?

And there are two more similar definition usages.

 

I think the key to answer my question maybe is the complete form of XPAR_XSPIPS_0 and  XPAR_PS7_SPI_0 ,which can show the difference.

 

What does canonical mean here really? Basic, accepted or authorized?

 

 

Thanks in advance!

 

 

Jie

 

2014/11/26

 

CsomI


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>