Good morning,
I need to perform a 24-bit SPI transfer with mcxc242, with the clock in continuous mode.
How can I do this?
I tried making 3 packets of 8 in this way:
and 2 packets of 16 in this way:
As you can see from the images, using SPI_MasterTransferBlocking() sends me the clock for each data packet, but I need the clock to be continuous for 24 consecutive bits.
How can I get the clock to be continuous as in the image below?
Many thanks for any replies.
Best regards
解決済! 解決策の投稿を見る。
Hi @Transidico,
You can use the SDK example spi_interrupt as a reference.
In this example, a transmission of 64 data bytes is performed consecutively, as shown in the following frame.
Best Regards,
Pablo
Hi @Transidico,
You can use the SDK example spi_interrupt as a reference.
In this example, a transmission of 64 data bytes is performed consecutively, as shown in the following frame.
Best Regards,
Pablo
Dear Pablo,
thanks a lot for your message, I have resolved it by using SPI in DMA mode, without interrupt.
Thank you very much.
Best regards.