Hello,
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.
Regards,
Shantanu.
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.
Brandon
Dear BrandonAzbell,
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[1] = 1GPIOA[4] = 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.
Best Regards,
I understand your request, but unfortunately the TMS320F2810 documentation is not structured in that fashion.
The bit mapping is the same however.