AnsweredAssumed Answered

Using SRAM on SPI interface on IMX6UL

Question asked by justinwave on Jun 12, 2018
Latest reply on Jun 18, 2018 by justinwave

Hello,

 

I have a custom board designed off the IMX6UL EVK board and what to access SRAM loacted on the SPI interface. The SRAM chip is the 23LC1024 and am using the 4.9.11_1.0.0_ga kernel. I was unable to find a driver for the SRAM and am unsure of how to configure it in the device tree and then how to read and write to it from user space.

 

In the device tree, what should I set the the compatible field to? Should it be "mtd-ram", "spidev" or "mmio-ram"?

 

Also, how then would I access the SRAM from a user space application?

 

Any help is greatly appreciated, thank you.

Outcomes