Using QuadSPI to access SRAM Memory

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

Using QuadSPI to access SRAM Memory

1,246 Views
frk
Contributor III

Hi everyone,

I'm actually trying to use the QuadSpi bus to access to a SRAM memory with an i.MX8m (kernel 5.4.70) but I don't know where to begin with as I didn't find any drivers for the memory in the kernel sources.

The memory I want to use is a 65WVS5128GALL from ISSI.

How can I map the SRAM to QuadSpi and see the mtd device in the userspace? Using device tree I assume but without specific driver for the memory?

Labels (1)
0 Kudos
Reply
2 Replies

1,229 Views
frk
Contributor III

Hi Igor,

Thanks for these hints.

I've seen the following ressource : https://elixir.bootlin.com/linux/latest/source/drivers/mtd/devices/mchp23k256.c 

I'm wondering if it could be a good start too.

0 Kudos
Reply

1,241 Views
igorpadykov
NXP Employee
NXP Employee

Hi frk

 

unfortunately such devices are not supported in nxp bsps and new driver with

specific LUT (Look-up Table) for that device should be developed.

One can start with sect.3.8 SPI NOR Flash Memory Technology Device (MTD) 

i.MX Linux Reference Manual​

Look-up Table description can be found in sect.10.2.4.3.4 Look-up Table,

sect.10.2.7.1.3 Fast Read Quad Output (Winbond)

i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual

 

Best regards
igor

 

0 Kudos
Reply