Working whith a Gpio port

Started by alanazulay in Freescale DSPs16 years ago

Hi everyone I'am using the motorola DSP56807evm and the SDk 2.5 Libraries, I want to know if someone knows a way to works 8 gpio...

Hi everyone I'am using the motorola DSP56807evm and the SDk 2.5 Libraries, I want to know if someone knows a way to works 8 gpio pins in parallel in order to read a byte from it. My problem it`s that the SDK only works the gpio pin by pin. Thanx for your patience


Interrupt on a gpio state change

Started by Bruno Tremblay in Freescale DSPs14 years ago 1 reply

Hi, I want to use two GPIO pin as interrupt in my application. Since I didn't found any information on how to do it with the...

Hi, I want to use two GPIO pin as interrupt in my application. Since I didn't found any information on how to do it with the SDK, I must write and find a way to call an ISR on a pin change. For now, I know how to set the GPIO registers and write my ISR. But I don't how


Enabling HI32 56301 port as GPIO ...

Started by Tigli Filippo in Freescale DSPs15 years ago 1 reply

HI! I'm working on 56309 prototype, but I need ADM56301 for testing... I cannot move port B HI32 as GPIO.. On 56309 only these...

HI! I'm working on 56309 prototype, but I need ADM56301 for testing... I cannot move port B HI32 as GPIO.. On 56309 only these settings are needed to have all port B pins as GPIO movep #$00ffff,x:M_HCR ; PORT B control reg movep #$00ffbf,x:M_HDDR ; PORT B DAT


Multiple Interrupts in GPIO and Flash Memory Data

Started by amacedosilva in Freescale DSPs15 years ago 1 reply

Hi... Multiple Interrupts in GPIO -I can configurate most than one GPIO Pin to generate a Interruption, All those pins had...

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


Comparing two clock signals

Started by TA1T in Freescale DSPs15 years ago

I would like to input a clock signal into a gpio pin on the dsp56f827 which has been generated from timer_A2. (Timer A2 physically...

I would like to input a clock signal into a gpio pin on the dsp56f827 which has been generated from timer_A2. (Timer A2 physically wired to the GPIO pin) I then want to compare the clock signal input to the GPIO, to a clock signal on timer_A3. If the signals have


GPIO interrupts in DSP56F827

Started by atid2 in Freescale DSPs16 years ago 2 replies

Hi, I am trying to use the GPIO interrupt mechanism but I have a problem: Immediately after I enable the pin interrupt - the...

Hi, I am trying to use the GPIO interrupt mechanism but I have a problem: Immediately after I enable the pin interrupt - the interrupt occurs. It happens every time I try it, no matter what the polarity is or any other parameters I configured (I think I tried them all).


GPIO interrupts: still no fun

Started by drmapl in Freescale DSPs16 years ago 1 reply

Hi code wizards (or warriors), I still haven't got my GPIO interrupt sorted using the 56F805EVM board and CW. I use the code below...

Hi code wizards (or warriors), I still haven't got my GPIO interrupt sorted using the 56F805EVM board and CW. I use the code below but I must miss something as it is not doing what I expect. I expect it to end up in the routine dirISR but it never gets there. I have tried using the s


Bug in SDK 2.4

Started by Roelof Oelofsen in Freescale DSPs17 years ago 1 reply

Hi everyone, There is a bug (hopefully not one in many!!) in SDK2.4. (I am using the 56f807evm) When using the GPIO Api's, it...

Hi everyone, There is a bug (hopefully not one in many!!) in SDK2.4. (I am using the 56f807evm) When using the GPIO Api's, it does not want to work if gpio.h or io.h is included. It will only work when led.h is included. Also, when I include switch.h, the compiler give a strin


comparing signals

Started by cnnrgrdnr in Freescale DSPs16 years ago

i am sending a clock from TA1 on DSP56f827. I am then routing the clock through a small circuit and back into a gpio pin. once...

i am sending a clock from TA1 on DSP56f827. I am then routing the clock through a small circuit and back into a gpio pin. once received at the gpio i need to do a test on the signal to verify that the signal received is identicle to the signal sent. I am able to send and recie


GPIO Macro

Started by Jacob Christ in Freescale DSPs16 years ago 2 replies

Does anyone know the official channel for SDK feature enhancment? I added the following macro to help with initalization of my...

Does anyone know the official channel for SDK feature enhancment? I added the following macro to help with initalization of my gpio port a port at a time... Its a variant of the gpioPin macro it would might be a reasonable addition to the SDK. #define gpioPort(Port) (((


FW: Using address pin as GPIO on 56F805 with PE

Started by Corey, Rick in Freescale DSPs14 years ago

-----Original Message----- From: processor_expert [mailto:processor_expert@proc...] Sent: Tuesday, May 03, 2005 6:11 AM To:...

-----Original Message----- From: processor_expert [mailto:processor_expert@proc...] Sent: Tuesday, May 03, 2005 6:11 AM To: motoroladsp-owner@moto... Subject: Re: Using address pin as GPIO on 56F805 with PE Currently, there is not possible to use only a part of the address bus in the CPU bean options. We are planing such option


DSP56321 GPIO communication with 1 wire device

Started by voileravi in Freescale DSPs15 years ago

Hi there, Does anyone have experience using DSP 56321 GPIO B port to communicate with 1-wire device (e.g. Dallas DS2430 256-bit...

Hi there, Does anyone have experience using DSP 56321 GPIO B port to communicate with 1-wire device (e.g. Dallas DS2430 256-bit 1-wire EEPROM)? My project needs to talk with 1-wire device in bi- direction, i.e. using one either as reading and writing. Time n thank


GPIO interrupts configuration...

Started by Nitin Madhukar Yewale in Freescale DSPs16 years ago

Hi, I am using 56F827 in my project. One of the push button is connected to one GPIO pin. I want to execute two different...

Hi, I am using 56F827 in my project. One of the push button is connected to one GPIO pin. I want to execute two different operations when push button is pressed. Operation to execute will be decided on the duration till which button is pressed like....if button is pressed for 2


FW: GPIO problem

Started by Jacob Christ in Freescale DSPs16 years ago 1 reply

Dear Jac,                &nb sp;   I had posted my GPIO problem, but it seems that the moderator did not

Dear Jac,                &nb sp;   I had posted my GPIO problem, but it seems that the moderator did not


DSP56303EVM: using the host interface for GPIO

Started by GuillaumeDesj in Freescale DSPs16 years ago

Hi, I am currently trying to use the HIO8 interface on the DSP56303EVM for GPIO. However, I cannot get anything to the output...

Hi, I am currently trying to use the HIO8 interface on the DSP56303EVM for GPIO. However, I cannot get anything to the output pins.... Here is the code I used to setup the HPCR and HDDR registers HPCR EQU $FFFFC4 ; host control register HDDR EQU $FFFFC8 ; host GPI


GPIO interrupt callback?

Started by drmapl in Freescale DSPs16 years ago 5 replies

Hi all, using a 56F805 I want to use the level sensitive interrupt input on a GPIO line. While I find all sorts of high level...

Hi all, using a 56F805 I want to use the level sensitive interrupt input on a GPIO line. While I find all sorts of high level routines to set various operation parameters I don't know how to set the interrupt callback function. How can I set this callback function? Do I have to


help.......we are beginer

Started by rficoca2 in Freescale DSPs14 years ago 1 reply

if we have a gp?o configured to work with rissing and falling edge, we need to now wich edge active the interruption

if we have a gp?o configured to work with rissing and falling edge, we need to now wich edge active the interruption


Which outputs can I Use?

Started by wpethe in Freescale DSPs17 years ago 1 reply

Hi, we are using a DSP56F803. Now I have a problem: We just use GPIO as I/O and PWM as simple output. Now I need more ...

Hi, we are using a DSP56F803. Now I have a problem: We just use GPIO as I/O and PWM as simple output. Now I need more output pins, setting up by software. Thanks W. pethe


configure PWMA as output

Started by Olamide... in Freescale DSPs15 years ago 3 replies

I want to use PWMA as just ouput, i.e. like a regular GPIO. How do i do this??? I'll appreciate it if anyone can tell me how...

I want to use PWMA as just ouput, i.e. like a regular GPIO. How do i do this??? I'll appreciate it if anyone can tell me how to configure all the registers. I believe i am configuring them right to my knowledge but nothing is happening. (my code below) void


writing to FSRAM

Started by GuillaumeDesj in Freescale DSPs16 years ago 1 reply

Hi, I am currently using the DSP56303EVM development board as a test set for another platform. The data which is needed to...

Hi, I am currently using the DSP56303EVM development board as a test set for another platform. The data which is needed to perform the tests is currently being generated by a pc application. I would like to use this data on the DSP and output it through its GPIO p