S32K146 SPI1 drives two chips with different configurations

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

S32K146 SPI1 drives two chips with different configurations

153 Views
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

 

 

 

Tags (2)
0 Kudos
Reply
0 Replies