MPC5777C DSPI only use CTAR0

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

MPC5777C DSPI only use CTAR0

ソリューションへジャンプ
2,390件の閲覧回数
Dong_Luo
NXP Employee
NXP Employee

Hi,

I have an application that needs 3 SPI slave devices to connect to 1 master device (MPC5777C), and the three slave devices have a difference on the clock and transfer attributes. So I want to use different CTARs register to link to the related slave devices, however, the SDK drivers do not seem to support this feature, since only CTAR0 is used by default in dspi_driver.c, and there is no API to configure different CTAR for master communicate with multiple SPI slave devices.

pastedImage_1.png

Now I only use the function of DSPI_UpdateCS to switch the 3 slave devices, fortunately, these 3 slave devices are able to be compatible with the same baud rate, clock phase, and clock polarity.

I still hope that later versions of SDK will have APIs that support the configuration of CTAR.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
2,308件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Dong,

I asked SDK experts for comments and here is the feedback:

"That feature is not supported because is hard to keep the same look and feel for all IPs.

Is not feasible to change something on SDK and also on RTD we decided to keep the same approach, otherwise will be difficult for autosar environment."

Regards,

Lukas

元の投稿で解決策を見る

1 返信
2,309件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Dong,

I asked SDK experts for comments and here is the feedback:

"That feature is not supported because is hard to keep the same look and feel for all IPs.

Is not feasible to change something on SDK and also on RTD we decided to keep the same approach, otherwise will be difficult for autosar environment."

Regards,

Lukas