How to read LPC4317 register via IFC bus in u-boot (LS1021A )

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

How to read LPC4317 register via IFC bus in u-boot (LS1021A )

855 Views
Saravanans1
Contributor III

Hi,

I am working with ls1021a custom board, which is having LPC4317 connected via IFC bus, I want to read the LPC4317 status , is their any command or other way to read the register in u-boot, please suggest me to get this.

 

Regards

Saravanan S

0 Kudos
Reply
4 Replies

792 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

You can read the registers in u-boot with the md command:

https://github.com/u-boot/u-boot/blob/master/doc/usage/cmd/md.rst

In this case you have write the md command and the address of the register, for example in the TWR-LS1021A there is a CPLD connected to the IFC, you can review it as reference. 

0 Kudos
Reply

774 Views
Saravanans1
Contributor III
Hi,

Thanks for the information. Could please provide the LPC4312 status read and write register details through LS1021A?
0 Kudos
Reply

767 Views
Oswalag
NXP TechSupport
NXP TechSupport

There isn't any predefined read and write register (we don't have any example with LPC4312 and ls1021a together), from the side of the ls1021a it could be the address assigned either in IFC region 1 or region 2,  chip-selects, for more information you can refer to the LS1021ARM Chapter 24 Integrated Flash Controller (IFC).

0 Kudos
Reply

752 Views
Saravanans1
Contributor III
Hi,

Thank you. Additionally, we require more details. For a 100 MHz system clock(LS1021A), is it possible to configure the DDR IFC clock to 192 MHz? If so, please provide the necessary information.
0 Kudos
Reply