Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE
Hi,
is it possible to access the GpioCtrlRegs with the CLA?
I want to switch an 8 Bit Port with a LCD connected from Input to Output and back.
Thomas Hattermann
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE
Hi,
is it possible to access the GpioCtrlRegs with the CLA?
I want to switch an 8 Bit Port with a LCD connected from Input to Output and back.
Thomas Hattermann
Hello Thomas,
is it possible to access the GpioCtrlRegs with the CLA?
No, I don't believe this is possible. From my understanding, the CLA is similar to the additional core on the F2837xD or F2838xD devices, which requires GPIO configuration to be done by core 1 before core 2 can write/read from it.
Hi Amir
I think the F2837xD has a CLA type 1? the F28004x has a CLA type 2. Type 2 can access much more Perripherie eg. the GPxDat Register, what is not possible on Type 1 on the F2803x.
But I was not able access the GpioCtrlReg. I found much Register to enable access to all the Peripherie, but non for this.
Best Reguards Thomas
(FYI if you accidentally hit reply you can always go to More > Edit to edit your post instead of creating a duplicate reply. If you don't mind, I'll be deleting the duplicate reply here to prevent confusion for future customers)
Type 2 can access much more Perripherie eg. the GPxDat Register, what is not possible on Type 1 on the F2803x.
I don't see where any documentation states that the CLA is able to access configuration/control registers, from what I see in the C2000 Peripheral's Guide and the CLA (Type 2) Block Diagram in the F28004x reference manual it has access to triggers and data from different peripherals, but not GPIO configurations. In fact, I also check some C2000Ware CLA examples and could not find an instance where the GPIO were configured by the CLA.


Based on this I would hazard to say the CLA doesn't have access to GPIO control registers. Just for confirmation I will forward this to the CLA expert, if the CLA does have access to the GPIO control registers then we will need to update the documentation talking about it.