Error in SPI Initialization

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

Error in SPI Initialization

950件の閲覧回数
ismael-wael
Contributor II

Hello,

I encounter this error in SPI Initialization (in spi driver, automatic code generation). i will post screenshots of exact error location

1.png

2.png
 

3.png

4.png

6.png

then it shows this image..

7.png

 

i tested the exact SPI init function of provided SPI example and it worked just fine.

but in this project i would not.

please help.

 

thank you.

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

942件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure used SPI module has its module clock enabled. 

BR, Petr

0 件の賞賛
返信

925件の閲覧回数
ismael-wael
Contributor II

sorry forgot to mention, that is for MPC 5744P NXP MCU.

0 件の賞賛
返信

903件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, that is a setting in the PE, but if DSPI1 module is used check within debugger MC_ME_PS3[S_DSPI_1] register bit if module is active or not. If it is clocked then check address accessed in DSPI_Set_MCR_HALT.

BR, Petr

0 件の賞賛
返信

927件の閲覧回数
ismael-wael
Contributor II
 

it is, isn't it?

8.PNG

0 件の賞賛
返信