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.

Problems with F28335 Delfino Control Registers

Hi,

I am trying to program experimentar kit f28335 delfino and I use such command:

GpioCtrlRegs.GPAMUX1.all = 0;

It works.

When I use:

GpioCtrlRegs.GPAMUX2.all = 0; // GPIO31 ... GPIO16 = General Purpose I/O

it does not work - the compiler returns:

"

Severity and Description Path Resource Location Creation Time Id
expected a field name GpioCtrlRegs.GPAMUX2.all = 0; // GPIO31 ... GPIO16 = General Purpose I/O ^ LEDY_2 LEDY _2.c line 24 1343936429991 517"

I don't know why...

I add to the project:

#include "DSP2833x_Device.h"

#include "DSP2833x_Gpio.h"

Any suggestions?

Best regards, 

RP

  • Ok - I solved the problem:

    in the former line I wrote:

    #define GPAMUX2 *(volatile unsigned long *)0x6F88

    So there was a reference to the GPAMUX2...

    After I deleted this line everything works good :)

    But I don't understand the following instrucion:

    #define GPAMUX2 *(volatile unsigned long *)0x6F88

    is it a reference to the same place in memory, as it is defined in "DSP2833x_Gpio.h" ??

    Best regards.

    RP