TimerCompare Interupt

Started by drexlmeier in Freescale DSPs17 years ago 5 replies

Hi all, does anybody know how to set up the timer if i want the timer to run until compare. The ISR changes the Comparevalue1...

Hi all, does anybody know how to set up the timer if i want the timer to run until compare. The ISR changes the Comparevalue1 and some GPIO-Pins and restarts the Timer. What has the qt_sState to be? How can I set the CompareValue? i tried ioctl(..,QT_Write_C


writing to FSRAM

Started by GuillaumeDesj in Freescale DSPs17 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


Port A on the DSP56F80x

Started by Roger Flor in Freescale DSPs18 years ago 1 reply

Hello! I am using a DSP56F805. 1. If I write data to a peripheral(say an LCD controller) using the external data bus,...

Hello! I am using a DSP56F805. 1. If I write data to a peripheral(say an LCD controller) using the external data bus, will I be able to override the address bus and use some of the multiplexed GPIO's(GPIOE2, GPIOE3, and GPIOA0 to GPIOA7)? 2. Upon exi


configure PWMA as output

Started by Olamide... in Freescale DSPs17 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


MC56F8322 SPI

Started by Syed Hasan Rizvi in Freescale DSPs16 years ago

Hi All, I am trying to interface '8322 DSP SPI port to a serial SPI device that takes four 16 bit words for each communication...

Hi All, I am trying to interface '8322 DSP SPI port to a serial SPI device that takes four 16 bit words for each communication cycle. The module aso requires the frame Slave Select bit (I am using SS of SPI port as an GPIO) to be toggled high and low after transmitting every 16 bit w


Combined PCMaster and SCI useage.

Started by cmafatcontroller in Freescale DSPs18 years ago

I am about to try setting up a SDK based program where I use both PCMaster and SCI comms to a display on an 803 (has only 1 SCI...

I am about to try setting up a SDK based program where I use both PCMaster and SCI comms to a display on an 803 (has only 1 SCI port). I want to set it up whereby on powerup/ reset the programme checks the state of a GPIO pin, and then determines whether to enable PCMaster or SCI.


GPIO- Timer programming

Started by ritu_eshar in Freescale DSPs18 years ago 1 reply

Hi all, I am trying to program the following: If I were to feed in a 1KHz square wave (voltage ranges between 0~3 ...

Hi all, I am trying to program the following: If I were to feed in a 1KHz square wave (voltage ranges between 0~3 volts) into Timer A0 channel as the input. The output I should be able to see at say GPIO_B( pin 7),the same frequency Square wav


Scope Problem

Started by Jacob Christ in Freescale DSPs18 years ago 3 replies

CodeWarrior 5.02 for DSP56800 I noticed something quite disturbing today. The following code compiles and works! ...

CodeWarrior 5.02 for DSP56800 I noticed something quite disturbing today. The following code compiles and works! /////////////////////////////////////////////////////////// #include "bsp.h" #include "gpio.h" ///////////////////////


AW: Re: SPI Communication between 56807

Started by in Freescale DSPs18 years ago 1 reply

Hello Rick, Thanks for your help. I have found the error. The /SS-signal have to assigned as Peripherials (not as GPIO port). ...

Hello Rick, Thanks for your help. I have found the error. The /SS-signal have to assigned as Peripherials (not as GPIO port). Here the corrected slave setup: void spi_setup(void) { io.gpioe.per|=0x00F0; /* assign SCLK, MOSI & MISO, SS (GPIOE4-7) to SPI p


56F8323 Header file

Started by Anonymous in Freescale DSPs17 years ago 4 replies

Hi Folks, Does anyone know where on earth Metrowerks have secreted the CAN peripheral header files for the 56F832x devices? I...

Hi Folks, Does anyone know where on earth Metrowerks have secreted the CAN peripheral header files for the 56F832x devices? I can find a header that has things like GPIO etc, but there seems to be nothing for things like the CAN module. Cheers, Rob


Codewarrior Compiler for 56858

Started by actom_ng in Freescale DSPs16 years ago 2 replies

I am looking to optimize sequential reads from a buffer and writes to GPIO registers: GPIO_A_DR = buf[0]; GPIO_B_DR = buf[1];...

I am looking to optimize sequential reads from a buffer and writes to GPIO registers: GPIO_A_DR = buf[0]; GPIO_B_DR = buf[1]; GPIO_A_DR = buf[2]; etc. The assembly looks like this: move.l #0x1ffe62,R0 move.w X: 0x000000,A move


Bit addressing of Port pins of 56F8323

Started by Ravi...@geind.ge.com in Freescale DSPs14 years ago 1 reply

Hi I want to address each pin of GPIO port serperately (PortA in 56F8323) in C porgramming. Can some one provide me the header file or sample...

Hi I want to address each pin of GPIO port serperately (PortA in 56F8323) in C porgramming. Can some one provide me the header file or sample program for the same. Thanks in advance. Ravi GE India Innovation Centre Hyderabad, India


I need help with Hardware DSP56F8323

Started by omarjaviert in Freescale DSPs14 years ago

Hi I have a problem. I did design a hardware of 36 x 36 mm with the DSP56F8323 and your performance is very good, this debuging and...

Hi I have a problem. I did design a hardware of 36 x 36 mm with the DSP56F8323 and your performance is very good, this debuging and programing. The modules PWM, GPIO and SPI is corect, but the voltage VLO, VMID and VHIGH of the DSP is the same. Then the ADC don't function correctly. The size is very importance, then I don't can do my design more big. I hope answer. Thanks.


link error

Started by Michael Hodges in Freescale DSPs18 years ago 3 replies

Hello, I have started using the 56F826 EVM and am still getting to grips with Codewarrior and the SDK. When I compile the...

Hello, I have started using the 56F826 EVM and am still getting to grips with Codewarrior and the SDK. When I compile the Codec example using external memory it runs ok. Appconfig.h includes CODEC,GPIO,IO,LED and MEMORY. When I compile the same code using i


sending/ receiving clocks via dedicated GPIOs: DSP56f827

Started by TA1T in Freescale DSPs17 years ago

Does anyone have any code that would SEND a digital clock from four of the dedicated GPIO's on the DSP56F827EVM. If not then...

Does anyone have any code that would SEND a digital clock from four of the dedicated GPIO's on the DSP56F827EVM. If not then could someone give me a basic outline as to how i could program this. I require clocks at (near 12.288MHz), 48KHz, 3.072MHz and 10KHz and I am using CW


DSP56F803EVM ADC

Started by elowe_spsy in Freescale DSPs17 years ago 2 replies

Hello, I'm trying to measure how long the A to D coversions are taking. I'm using inputs 0 and 1 in differnetial mode. I have...

Hello, I'm trying to measure how long the A to D coversions are taking. I'm using inputs 0 and 1 in differnetial mode. I have it set up to use the call back on conversion. I drive a gpio line high when I call the ioctl with ADC_START and then drive the line low in the ca


Interrupt GPIO

Started by Maria in Freescale DSPs17 years ago

Hi all! I do not understand. My code {.......... /*Initialize PORT B*/ hard.PortB = gpioOpen (BSP_DEVICE_NAME_GPIO_B, NULL);...

Hi all! I do not understand. My code {.......... /*Initialize PORT B*/ hard.PortB = gpioOpen (BSP_DEVICE_NAME_GPIO_B, NULL); periphMemWrite(0,PORTB_BASE+PORT_DDR); periphMemWrite(0,PORTB_BASE+PORT_PER); periphMemWrite(255,PORTB_BASE+PORT_IENR); periphMem


AW: help.......we are beginer

Started by Bende Georg in Freescale DSPs15 years ago

AFAIK the only way ist to check it in the interrupt routine with reading the GPIO data register. Georg Bende > -----Urspr?ngliche...

AFAIK the only way ist to check it in the interrupt routine with reading the GPIO data register. Georg Bende > -----Urspr?ngliche Nachricht----- > Von: motoroladsp@moto... > [mailto:motoroladsp@moto...] Im Auftrag von rficoca2 > Gesendet: Montag, 25. April 2005 22:24 > An: motoroladsp@moto... > Betreff: [motoroladsp] h


Missing ports/pins on Demo Brd (56F8300DEMO)

Started by Nicholas Singh in Freescale DSPs17 years ago 1 reply

Hello, Seems as though this board is missing the PCB-mount DB9 serial port as well as what appears to be some RS-232 logic...

Hello, Seems as though this board is missing the PCB-mount DB9 serial port as well as what appears to be some RS-232 logic level shifting IC(s) and analog parts. Also, the Timer/PWM, ADC and GPIO/SERIAL set of connectors do not have pins. I'm specifically interest


GPIO Interrupts

Started by bobhopf in Freescale DSPs17 years ago

I am processing 4 pulse inputs on port B of a 56827, each about 200nsec and somewhat random occurance. I had been losing interrupts ...

I am processing 4 pulse inputs on port B of a 56827, each about 200nsec and somewhat random occurance. I had been losing interrupts (missing pulses) when he pulses occurred within the interrupt processing time. The cause appears to be reseting the IPR via IESR with a BFSET vs a MOVE