Hi Nanjun,
FRAMESZ is used to configure the number of bits in a frame.
For example: if you configure FRAMESZ=15 , then you will see 15+1=16 bits in a frame(between a PCS activate and a de-activate)
Since you want to transmit in byte, each frame should be 8bit.
If you don't want the PCS de-activate between frames, you may need to use Continuous Transfer bit (CONT)=1.
Please refer to the lpspi_dma_s32k144 example, it will show you how to transfer 100(NUMBER_OF_FRAMES) bytes and loop 1000(count) times.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------