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 | Multiple Interrupts in GPIO and Flash Memory Data

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

  

Post a new Thread

Multiple Interrupts in GPIO and Flash Memory Data - amacedosilva - Oct 9 10:42:00 2003



Hi...

Multiple Interrupts in GPIO

-I can configurate most than one GPIO Pin to generate a Interruption,
All those pins had the interrupt vector of 23! To know which pin make
the Interruption I must read the register IPR (Interrupt Pending
Register). But Iīm using the software Drivers of SDK with CW, and I
donīt have acess to IPR value using ioctl-command driver. So, how can
I do to acess to a specific register (to read or write to/from a
variable) using C or ASM instructions.

-The memory of DSP56f803EVM as Flas/Ram Program Memory and Flash/Ram
data memory, To acess to Flash data memory, I must develop some
functions to write in flsh memory, or CW suports some kind of
notation to indicate that variable is stored in Flash Data Memory?

Thanks

Antonio Macedo





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

Re: Multiple Interrupts in GPIO and Flash Memory Data - Jan Zizka - Oct 9 12:52:00 2003

Hi,

> -I can configurate most than one GPIO Pin to generate a Interruption,
> All those pins had the interrupt vector of 23! To know which pin make
> the Interruption I must read the register IPR (Interrupt Pending
> Register). But Iīm using the software Drivers of SDK with CW, and I
> donīt have acess to IPR value using ioctl-command driver. So, how can
> I do to acess to a specific register (to read or write to/from a
> variable) using C or ASM instructions.

you can use following code:

...
unsigned short *ptr = 0xfffb /* that address of IPR */
unsigned short ipr;

/* you can read it by dereferencing ... */
ipr = *ipr_ptr;

/* do whatever you need and write it back */
*ipr_ptr = ipr;
... > -The memory of DSP56f803EVM as Flas/Ram Program Memory and Flash/Ram
> data memory, To acess to Flash data memory, I must develop some
> functions to write in flsh memory, or CW suports some kind of
> notation to indicate that variable is stored in Flash Data Memory?

I don't know CW :( so you'll have to wait for somebody other to
answer. Jan




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