TI E2E Community
C2000 32-bit Microcontrollers Forum
GPIO Data Registers Details for TMS320F2810
I am looking for details of bit values of GPIOA Data Register for TMS320F2810 DSP. I was not able to find the in the system control datasheet nor the DSP datasheet.
Please help me locate the GPIOA Data Register details.
The details of the GPIO module registers are in the TMS320x281x System Control and Interrupts Reference Guide on the TMS320F2810 Product Folder in Chapter 4.
I am looking for specific details of GPIO data regs for the F2810 DSP. E.g.when i code GpioDataRegs.GPADAT.all = 0X12. I want to know what bit stands for what GPIO.
Above information is not available in the chapter you referred.
Help me locate the exact details.
With all due respect, Section 4.3.3 of the TMS320x281x System Control and Interrupts Reference Guide does provide insight into which bits account for which GPIO.
When using the GPxDAT register to change the level of an output pin, youshould be cautious not to accidentally change the level of another pin. Forexample, if you mean to change the level of GPIOA0 by writing to the GPADATregister bit 0, using a read-modify-write instruction.
Therefore, in your example, the GpioDataRegs.GPADAT.all = 0x12 would set the following GPIOA bits to a logic 1.GPIOA = 1GPIOA = 1
All of the rest of the bits in GPIOA would be a logic zero.
Please refer Page No, 98 of this system control guide of tms320f28035 http://www.ti.com/lit/ug/sprugl8b/sprugl8b.pdf
In this, Figure 65 gives the details of GPADAT Register.
I am looking for this information for TMS320F2810.
Please help me locate the same.
I understand your request, but unfortunately the TMS320F2810 documentation is not structured in that fashion.
The bit mapping is the same however.
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.