Read/Write via IFC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read/Write via IFC

2,814 Views
bladerunner1010
Contributor III

Which address space should I use?

0 Kudos
Reply
7 Replies

2,802 Views
bladerunner1010
Contributor III

How do I read/write into memory of CPLD?

0 Kudos
Reply

2,795 Views
Pavel
NXP Employee
NXP Employee

See the follwoing NXP community about CPLD reading/writing under Linux:

https://community.nxp.com/t5/T-Series/Unable-to-read-write-to-CPLD-in-kernel-space-T1040RDB/m-p/5653...

0 Kudos
Reply

2,790 Views
bladerunner1010
Contributor III

./

0 Kudos
Reply

2,779 Views
Pavel
NXP Employee
NXP Employee

Below is example for CPLD reading on the LS1043ARDB board under Linux:

root@TinyLinux:~# devmem

BusyBox v1.31.0 (2020-09-17 08:00:32 UTC) multi-call binary.

 

Usage: devmem ADDRESS [WIDTH [VALUE]]

root@TinyLinux:~# devmem 0x7fb00000 8

0x01

root@TinyLinux:~# devmem 0x7fb00001 8

0x04

root@TinyLinux:~# devmem 0x7fb00002 8

0x02

root@TinyLinux:~# devmem 0x7fb00003 8

0x00

root@TinyLinux:~# devmem 0x7fb0000f 8

0x01

root@TinyLinux:~#

0 Kudos
Reply

2,709 Views
bladerunner1010
Contributor III

How do I read version number from CPLD?

 

 

0 Kudos
Reply

2,680 Views
Pavel
NXP Employee
NXP Employee

Base address of CPLD on the LS1043ARDB board is 7fb00000.

See the Section 6,1 in the LS1043ARDB Reference Manual:

https://www.nxp.com/webapp/Download?colCode=LS1043ARDBRM

0 Kudos
Reply

2,804 Views
Pavel
NXP Employee
NXP Employee

NXP offers the LS1043ARDB board:

https://www.nxp.com/design/qoriq-developer-resources/layerscape-ls1043a-reference-design-board:LS104...

 

There is the LS1043ARDB Reference Manual:

https://www.nxp.com/webapp/Download?colCode=LS1043ARDBRM

 

There is the LS1043ARDB schematic:

https://www.nxp.com/downloads/en/printed-circuit-boards/LS1043ARDB_PD-39019-DF.zip

 

Use this board as example for FPGA connection to the LS1043a.

0 Kudos
Reply