S32K146 SPI1 drives two chips with different configurations

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

S32K146 SPI1 drives two chips with different configurations

155件の閲覧回数
pengzhao
Contributor I

 Using Model-Based Design Toolbox for S32K1xx Series 4.3.0 (R2016a-R2022a) 13-Sep-2022

 I want to use SPI1 on the S32K146 chip to drive two chips with different configurations.Error when compiling the program,How should I solve it

Pin check failed on block ‘CDCU Standard 200/SPI Config 1'. Pin is shared with other module:CDCU Standard 200/SPI Config_2
组件: NXP MBD Toolbox|类别: Block error 错误
Error duplicating of the LPSPIl configuration blockCDCU Standard 200/SPI Config 1'. The block should be only one.
组件:NXP MBD Toolbox|类别: Block error 错误
Error duplicating of the LPSPIl configuration blockCDCU Standard 200/SRI Config 2'. The block should be only one.

The hardware is connected to the chip select pins PSC0 and PSC1.

1. Chip 1 has the following configuration: CPHA 0, CPOL 0, Frame size 32
2. Chip 2 has the following configuration: CPHA 1, CPOL 0, Frame size 16

 

 

 

タグ(2)
0 件の賞賛
返信
0 返答(返信)