Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
I have been working with the TMS320F2837xD for a couple months. I'm using the C2000Ware v 4.02.00.00 with CCS v12.10.
I have a test application based on the LED blink demo. So far, I've been able to generate replacement code based on the reference manual.
I've run into a weird situation concerning the CPU Timer structures. The CPU Timer code I've generated crashes. The equivalent TI code works.
Digging into the issue, I found the CPUTIMER_REGS structure (in F2837xD_cputimer.h) distributed with C2000Ware does not match the Reference Manual (TMS320F2837xD Dual-Core Microcontrollers, SPRUHM8I).
From the F2837xD_cputimer.h
struct CPUTIMER_REGS {
union TIM_REG TIM; // CPU-Timer, Counter Register
union PRD_REG PRD; // CPU-Timer, Period Register
union TCR_REG TCR; // CPU-Timer, Control Register
Uint16 rsvd1; // Reserved
union TPR_REG TPR; // CPU-Timer, Prescale Register
union TPRH_REG TPRH; // CPU-Timer, Prescale Register High
};
The Uint16 rsvd1, is not mentioned in the reference manual.
Why is it missing?
Please help.
I need an explanation.