kl25z spi 9 bits to transmit

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

kl25z spi 9 bits to transmit

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

Hi everyone,

I'm using the FRDM-KL25Z and want to communicate with HMC6300 transmitter.

Here is the time diagram I should produce to have a communication with the component:

spi_diagram.png

As you can see, I need to send 18 bits using MOSI pin to communicate with the component. 18 is not a multiple of 8 so I don't know what to do with the component to send twice 9 bits or thrice 6 bits.

Is there a way to produce such time diagram with the KL25Z?

Thank you,

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

HI raphael perun,

      The diagram you post is not the standard SPI wave, and unfortunately, the KL25 just support 8 bit frame.

     So, if you want to communicate with this type serial wave, you may need to use the IO to simulate it.

Wish it helps you!

If you still have problem, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
962件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

HI raphael perun,

      The diagram you post is not the standard SPI wave, and unfortunately, the KL25 just support 8 bit frame.

     So, if you want to communicate with this type serial wave, you may need to use the IO to simulate it.

Wish it helps you!

If you still have problem, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信