Hi, everyone !
I am writting a spi driver for chip S32K146, and I want to realize spi continuous transfer.
my code is shown follow, it doesn't work.
what should I do to realize this function.
The wave of spi lines are shonw as fllow. The CS pin is pulled high after each byte. But I want the CS pin keep low until the last byte transfer is completed.
Can you give me some siggestions or some demo code ? Thank you !
Hello @vienpeng,
Have you tried looking at the SDK example lpspi_transfer_s32k146? If you use the config tool you only need to enable this in the option the PCS continuous checkbox:
Best Regards,
Alexis Andalon
Hi, @Alexis_A ,
My problem (how to realize SPI continuous transfer) has not been solved. It has taken me a lot of time.
I have checked some demos, but they are all based on interrupt or DMA.
I want to realize this function without interrupt and DMA.
Could you please provide me with a simple demo or a description of registers operation sequence?
Thank you !
Hi, @Alexis_A
Thank you for your reply !
Where can I find the tool mentioned in your reply ? I just know "Processor Expert" integrated in S32DS. Your tool looks like containing more detailed configurations.
@Alexis_A ,thank you, it's helpful for me, I'll study it !