Hi Guys, I've finally got my F28377D running and programming but I've come up with a serious problem.
The C28x CPU manual says that the following AUX CPU registers are 32BITS wide. ACC, XAR0, XAR1, XAR2, XAR3, XAR4, XAR5, XAR6 and XAR7.
The manual also says that the C28x has a 32bit data bus and a 32bit address bus.
The maximum value the 32bit registers will accept is 0xFFFFF. 5 F's.
I've tried the following:
MOVL XAR2, #0xFFFFFFFF ; 8 F's 32 bit. Assembler says value to big. This works with other 32bit micro controllers. e.g. PIC32MZ which I program in assembler as well.
MOVL XAR2, #0xFFFFF ; 5 F's and its ok. Does that mean the maximum value any register can handle is 0xFFFFF.
With the project i'm working on I desparatly NEED to put 32bit values in registers.
I've set it up in C28x mode as well.
So am I doing something wrong or is the CPU manual wrong or what is the problem? Why won't the 32bit registers accept 32bit values?
I've tried every addressing mode the manual says but still no go.
Thanks guys and hope to hear from you soon.
Pete. :)