Hi ,
I need to develop the SPI drivers for the TMS570 USB stick. My processor will interact with the HI3593 and HI6120 chips as master in SPI mode. I have gone through the SPI module in the TMS570 TRM. I have few doubts about choosing mode of SPI.
My main application will read and write the A429 lables for every 50ms time. So it would be better if the MIBSPI provides a buffer where i need to write the data to be sent and one more buffer where read to be read should be availbale. As per my understanding Multibuffer SPI can be used for this purpose.
I read that Multi buffer SPI is having better advantages that the compatible SPI mode. I have the intial driver code required as i am using the HALcogen generated code. But i am not sure how to configure the registers. When i go through the corresponding registers, looks like i need to configure the TGx Control Registers. But what is the Trigger source and what is the Trigger event for my application ? In compatibility mode, can i use the DMA for my purpose of writing into buffers with out CPU intervention ? Or DMA can be used anly in Multi buffer mode ? Please let me know how to proceed on this.


