Hi, I need to connect a SC16IS752 device (a Dual UART with I2C-bus/SPI interface, 64 bytes of transmit
and receive FIFOs, IrDA SIR built-in support) to flexspi0 on iMx8X, but (according to manual) it seems that flexspi0 support only:
" Flexible sequence engine (LUT table) to support various vendor devices
• Serial NOR Flash or other device with similar SPI protocol as Serial NOR Flash
• Serial NAND Flash
• HyperBus device (HyperFlash/HyperRAM)
• FPGA device
"
I tried to connect the device but, as I supposed, the driver failed to recognized the peripheral.
Is possibile to use this kind of device with flexspi0?
Thanks
Hi,
I am connecting FPGA as slave to imx8dxl board,can i know which driver are you using for flexspi.
thanks
Hi mirkoardinghi1
in general it is possibile to use this kind of device with flexspi0,
however it requires lut table and it may be not simple task.
One can consider more simple lpspi module.
As for flexspi, nxp has only mtd driver using flexspi and supporting spi-nor devices.
mt35xu512aba for i.MX8QXP MEK
LUT example for this device can be found in M4 SDK_MEK-MIMX8QX :
file flexspi_octal_polling_transfer.c, customLUT[CUSTOM_LUT_LENGTH] = {..}
SDK is available on https://mcuxpresso.nxp.com/en/welcome
Other LUT examples can be found in AN12183 How to Enable Debugging for FLEXSPI NOR Flash
Best regards
igor