Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | MC56F835x.h SCI0 & SCI wrong in CW 6.0.1

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

MC56F835x.h SCI0 & SCI wrong in CW 6.0.1 - Corey, Rick - Jun 15 19:36:00 2004



Hello

John Wieners, one of our engineers, just found a typo in MC56F835x.h (a list
of register address #defines) in the directory :
C:\Program
Files\Metrowerks\CW6\Stationery\DSP56800x_Examples\MC56F8357\isr_led
and presumably in other .h files. This is in CW 6.0.1.

The .h file doesn't allow for the fact that SCIx_BASE+2 is reserved, at
least for the 56F8357.
SCI1 has the same error as SCI2.

wrong:

// Serial Communications Interface 0 (SCI0)
#define SCI0_BASE 0x00F280
#define SCI0_BR (SCI0_BASE + 0)
#define SCI0_CR (SCI0_BASE + 1)
#define SCI0_SR (SCI0_BASE + 2) // <-- should be + 3
#define SCI0_DR (SCI0_BASE + 3) // <-- should be + 4 Rick Corey
Senior Software Engineer
DPC Instrument Systems Division





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: MC56F835x.h SCI0 & SCI wrong in CW 6.0.1 - Pete Becher - Jun 16 13:20:00 2004

Hi Rick and All,

It looks like they may have mixed up the 5683xx SCI stuff with the
56F80x SCI stuff. I had just downloaded the latest 56F80x User's
Manual and it shows the SCISR and SCIDR as Base + $3 and $4
respectively when it should be Base + $2 and $3.

Pete --- In , "Corey, Rick" <rcorey@d...> wrote:
> Hello
>
> John Wieners, one of our engineers, just found a typo in
MC56F835x.h (a list
> of register address #defines) in the directory :
> C:\Program
> Files\Metrowerks\CW6\Stationery\DSP56800x_Examples\MC56F8357\isr_led
> and presumably in other .h files. This is in CW 6.0.1.
>
> The .h file doesn't allow for the fact that SCIx_BASE+2 is
reserved, at
> least for the 56F8357.
> SCI1 has the same error as SCI2.
>
> wrong:
>
> // Serial Communications Interface 0 (SCI0)
> #define SCI0_BASE 0x00F280
> #define SCI0_BR (SCI0_BASE + 0)
> #define SCI0_CR (SCI0_BASE + 1)
> #define SCI0_SR (SCI0_BASE + 2) // <-- should be + 3
> #define SCI0_DR (SCI0_BASE + 3) // <-- should be + 4 > Rick Corey
> Senior Software Engineer
> DPC Instrument Systems Division




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )