I have a question for the relationship between the VCLK1 setting and DMA & MibSPI clock on TMS570LS2124.
I want to make the 2us MibSPI nCS negate time in VCLK1=90MHz, however it can't be available; because the maximum WDELAY value is 0x3F, so only 693ns is available.
Then, I changed the VCLK1 frequency to 30MHz (2.079us MibSPI nCS negate time is available).
-> only the CLKCNTL register is changed
In consequence, the DMA transfer is suspended. (Some DMA transfers are completed; however the DMA transfer is suspended in midstream.)
With that, I have the following questions.
1. Are the DMA clock and the MibSPI clock synchronized?
If not so, are there special settings to synchronize the DMA clock and MibSPI?
2. Is the maximum value of WDELAY 0x3F?
WDELAY's of the SPIFMT register bit width seems 8bit in TRM.
I think the maximum value is 0xFF.
3. Is the PRESCALE value (the SPIFMT register) related to that result?
I changed the value and re-tried, and then results are changed.
Could you explain the relationship of the PRESCALE value and DMA & MibSPI clock?
Best Regards.
Nomoto