AnsweredAssumed Answered

Imx6 - Configuring SPI in Application Level

Question asked by Narreddi Siva Prakash Reddy on May 23, 2018
Latest reply on May 28, 2018 by Carlos_Musich


I am using IMX6-duallite-A9 SOC for accessing a tuner via SPI-3 in that SOC.


My query is regarding to use SPI in user level application like configuring SPI in application itself and then exchanging data.


1. What are the dependencies to use SPI_3.? (I had done PIN Muxing, Clock enabled (CCM_CCGR1 register) I also enabled GPIO2_IO6 pin as an interrupt pin to transmit data from SPI_3).

2. Is it necessary to enable the SPI_3 in DTS for application level use.?


The code is attached at attachments, please refer.


Please respond as soon as possible