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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,671件の閲覧回数
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 件の賞賛
1 解決策
1,638件の閲覧回数
ristohedman
Contributor II

Hi Yuri,

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

BR, ristoH

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,665件の閲覧回数
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 件の賞賛
1,659件の閲覧回数
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 件の賞賛
1,651件の閲覧回数
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 件の賞賛
1,639件の閲覧回数
ristohedman
Contributor II

Hi Yuri,

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

BR, ristoH

0 件の賞賛