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:
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,
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------