Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
956 Views

CPLD with Skylake CPU via eSPI interface

Hi, 

I own a project and there is a Altera CPLD attached to Skylake CPU via eSPI, Im wondering port a embedded Linux to access CPLD. 

Im sure there is a master CPLD driver build-in Linux kernel, should I write a customize eSPI slave driver for accessing this specific CPLD? 

I trace the source code of linux kernel, there is a C file - spi-altera.c, did it support all Altera product and using eSPI interface? 

Thanks. 

 

--Dirk
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
142 Views

 

--- Quote Start ---  

Hi, 

Im sure there is a master CPLD driver build-in Linux kernel, should I write a customize eSPI slave driver for accessing this specific CPLD? 

 

--- Quote End ---  

 

Most likely, yes. 

 

 

--- Quote Start ---  

 

I trace the source code of linux kernel, there is a C file - spi-altera.c, did it support all Altera product and using eSPI interface? 

 

--- Quote End ---  

 

That driver is for interfacing to the Altera SPI IP block (e.g. from a NIOS or ARM), which is not what you are doing.
Reply