imxRT1062 FlexSPI2 interface

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

imxRT1062 FlexSPI2 interface

Jump to solution
1,860 Views
carlos_paiva
Contributor I

Hello,

We have a custom design that connects the FlexSPI2 peripheral to a QuadSPI device (it is not a memory device).

Is it possible to use FlexSPI peripheral as a generic SPI controller?

If so, can you please point me where to find some demo code?

Thanks in advance for your support.

0 Kudos
Reply
1 Solution
1,825 Views
martin_lapis
NXP Employee
NXP Employee

Hello Carlos.

Point to flexspi_nor_polling_transfer SDK example. Look into flexspi_nor_flash_ops.c file where you can find all interface functions you can use to interface any device with FlexSPI module.

If this access does not match your expectations and you would like to have more "classic" spi interface point to lpspi examples instead.

Regards.

Martin

 

View solution in original post

0 Kudos
Reply
4 Replies
1,855 Views
martin_lapis
NXP Employee
NXP Employee

Hello.

FlexSPI is universal IP module and it can be used to access any device based on serial interface in general.

Refer to EVK106x SDK where you can find QSPI IP or AHB access examples for i.mxRT106x.

Best Regards.

Martin

0 Kudos
Reply
1,834 Views
carlos_paiva
Contributor I

Hi Martin,

Thanks for your answer.

In EVK mimxrt1060 SDK there are only two examples with flexspi IP: one for hyper flash and one for nor flash.

I didn't manage to find a single example for use as a generic SPI controller. Can you please point me the exact location of the examples you are talking about?

Thanks for your support.

0 Kudos
Reply
1,826 Views
martin_lapis
NXP Employee
NXP Employee

Hello Carlos.

Point to flexspi_nor_polling_transfer SDK example. Look into flexspi_nor_flash_ops.c file where you can find all interface functions you can use to interface any device with FlexSPI module.

If this access does not match your expectations and you would like to have more "classic" spi interface point to lpspi examples instead.

Regards.

Martin

 

0 Kudos
Reply
1,819 Views
carlos_paiva
Contributor I

Hi Martin,

Thanks for your info.

I am trying to configure and implement the interface code to our device.

Anyway I cannot use another interface as the hardware is fully designed and built.

0 Kudos
Reply