i.MX 8M Mini: SPI-bus native CS

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

i.MX 8M Mini: SPI-bus native CS

Jump to solution
1,592 Views
ristohedman
Contributor II

Hi,

I would like to ask NXP experts about SPI (ECSPI). My company is switching to iMX8 and in order to desighn the HW we need to know these details.

I've been studying 

     IMX8MMRM.pdf 

     8.1 External Signals and Pin Multiplexing

    10.1 Enhanced Configurable SPI (ECSPI) 

And asked my EVA- manufacturer but have not got an answer:

      How are SPI chip selects SS1, SS2 and SS3 muxed to hardware pins, (or balls or pads - which way ever one calls them) ?? 

      I heard that NXP is recommending to use gpio for chip selects (in Linux??) - is that true and if is, why?

Best Regards,

 

Risto H.

 

0 Kudos
1 Solution
1,559 Views
ristohedman
Contributor II

Hi Yuri,

Finally an answer - not a good one for me but answer anyway.

BR, ristoH

View solution in original post

0 Kudos
4 Replies
1,586 Views
Yuri
NXP Employee
NXP Employee

@ristohedman 
Hello,

   Customers can use Table 8-1 (Muxing Options) of the i.MX8Mm RM.
As for pin assignments - use section 5 (Package information and contact assignments)
of i.MX8Mm Datasheet.

https://www.nxp.com/docs/en/data-sheet/IMX8MMCEC.pdf

GPIO instead of "native" SS may be used for non supported modes, say for "long"
messages.

Regards,
Yuri.

0 Kudos
1,580 Views
ristohedman
Contributor II

Hi,

Hmmm, now I must have a great misunderstanding, if I try to search e.g. ECSPI1_SS1 in any 'mini'- related document, I can not find ??!!

 

br, ristoH

0 Kudos
1,572 Views
Yuri
NXP Employee
NXP Employee

@ristohedman 
Hello,

i.MX8Mm supports single eCSPI SS: ECSPI1_SS0 - there are no more (ECSPI1_SS1 ...).

https://community.nxp.com/t5/i-MX-Processors/How-can-I-use-ECSPI-SS1-2/m-p/848467

 

Regards,
Yuri.

0 Kudos
1,560 Views
ristohedman
Contributor II

Hi Yuri,

Finally an answer - not a good one for me but answer anyway.

BR, ristoH

0 Kudos