The issue with SPI function of MC9S12ZVMBA48.

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

The issue with SPI function of MC9S12ZVMBA48.

ソリューションへジャンプ
1,696件の閲覧回数
bluelife85
Contributor I

Hello,

I have a question about the SPI feature of the MC9S12ZVMBA48.

I think I set SPI correctly, but it doesn't do anything at all.

The basis for this is that no signal comes out of the SCK.

I set the MCU as Master of SPI. And I know that when I enter data, the clock comes out on SCK pin by default. However, no clock came out.

There is nothing about the SPI pin in the Module Routing Register.
What should I do?

Please review the workspace I attached.

Regards,

Kyungwoo Min.

ラベル(1)
タグ(3)
1 解決策
1,591件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello bluelife85@naver.com,

I'm sorry for the delay.

Could you please read the SPISR register before writing to the SPIDR data register?

Thank you, 

BR, Daniel

元の投稿で解決策を見る

2 返答(返信)
1,592件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello bluelife85@naver.com,

I'm sorry for the delay.

Could you please read the SPISR register before writing to the SPIDR data register?

Thank you, 

BR, Daniel

1,592件の閲覧回数
bluelife85
Contributor I

you are right!

that was problem!

0 件の賞賛
返信