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.

Problem with GPIO Port B Qualification Control (GPBCTRL)

Other Parts Discussed in Thread: CONTROLSUITE

Hello
I need to specify a long sampling period for pins GPIO40 to GPIO44 in a Piccolo F28035 device.
I tried programming 0xFF in QUALPRD1 of GPIO Port B Qualification Control (GPBCTRL) register
as explained in TMS320F2803x Piccolo System Control and Interrupts Reference Guide (SPRUGL8B) page 93.

Unfortunately the compiler failed on the following error:
#137 struct "GPBCTRL_BITS" has no field "QUALPRD1"

I looked into TI control suite DSP2803x_Gpio.h header
(in C:\TI\controlSUITE\device_support\f2803x\v125\DSP2803x_headers\include)  
and found that this field is reserved:

//----------------------------------------------------

// GPIO B control register bit definitions */

struct GPBCTRL_BITS {        // bits   description

   Uint16 QUALPRD0:8;        // 7:0    Qual period

   Uint16 rsvd1:8;           // 15:8   reserved

   Uint16 rsvd2:16;          // 31:16  reserved

};

union GPBCTRL_REG {

   Uint32              all;

   struct GPBCTRL_BITS bit;

};

Is this an error?  Or is there a good reason for this field beeing reserved?

I changed the reserved field to

Uint16 QUALPRD1:8;

and things started working as expected. However now I experience problems in
stopping the debugger in real time mode using Scripts-->Realtime Emulation Control-->Full_Halt_with_Reset .
Is this in any way related ???

Regards,

Danny