I am using TMS570 USB kit and now I am working on MibSPI module (with out DMA). Here we have 128 RAM buffers (TXRAM and RXRAM) which can be configured to multiple TGs. If my TXRAM TG is configured to have 10 buffers then my RXRAM TG will have same size (10 bufers) or its (RXRAM TG) configurable? If the size of RXRAM TG size is configurable pls let me know the steps to be followed.
Thanks & regards,
What you stated is correct, the Transfer Group configuration is same for both transmit and receive.
But in TRM its stated as "The buffers can be partitioned into multiple TGs" (section 14.10), which gives the impression like we can configure more than 8 TGs.
Thanks & Regards,
On TMS570LS3x you have up to 128 buffers for TX and for RX. In MIBSPI mode, the buffer are used by a Transfer Group.On this device you have up to 8 Transfer Group.The number of buffer you can assign per Transfer Group is programmable.
In your application you need 3 transfer group:TG0 needs 8 buffers.TG1 needs 16 buffers.TG2 needs 4 buffers.
This is a total of 28 buffers (part of the 128) the remaining buffers are not used.
The MIBSPI also support multiple data format.In the previous example, it is possible to configure the MIBSPI to use:
TG0 with Data Format 0 (configured as 16 bits character)TG1 with Data Format 1 (configured as 8 bits character)TG2 with Data Format 2 (configured as 12bits character)
To simplify the configuration of MIBSPI (and in fact all other modules) we recommend using HalCoGen.
If my reply answers your question please click on the green button "Verify Answer".
Okay, Thanks Marc.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.