Forums Search for: GPIO
Use Button at ADC???
inHi, has anybody ever used the ADC to drive a button? Now we are going to use 4 ADC ports to connect them with buttons. Has...
Hi, has anybody ever used the ADC to drive a button? Now we are going to use 4 ADC ports to connect them with buttons. Has anybody got an Example? Thanks w. Pethe PS: Then I can use some GPIO Pins for output.
DSP56F805EVM rs232
The evaluation board has RTS connected to CTS. I am using an MSComm ActiveX control to talk to EVM. All is well. The production item...
The evaluation board has RTS connected to CTS. I am using an MSComm ActiveX control to talk to EVM. All is well. The production item will use SCI0, with RTS and CTS represented at GPIO D. I am at a loss for how to emulate this loop-back in software! Thanks
TimerCompare Interupt
inHi 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
GPIO- Timer programming
inHi 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
inCodeWarrior 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" ///////////////////////
Bit addressing of Port pins of 56F8323
inHi 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
Port A on the DSP56F80x
inHello! 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
56F8323 Header file
inHi 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
sending/ receiving clocks via dedicated GPIOs: DSP56f827
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
link error
inHello, 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
Interrupt GPIO
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
DSP56F803EVM ADC
inHello, 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
AW: Re: SPI Communication between 56807
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
Codewarrior Compiler for 56858
inI 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
GPIO 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 ...
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
Generating square wave fixed frequencies on 56F8xx
Hello I am looking for any help on how to generated multiple acurate and fixed square wave frequencies ( over 12 at once ) on the range of 4...
Hello I am looking for any help on how to generated multiple acurate and fixed square wave frequencies ( over 12 at once ) on the range of 4 to 9 Khz within the 56F8xx or 56F8xxxx DSC. I would like not to use the PWM or Timers but loops and software only and getting the outputs on GPIO A and B. Any idea? Thanks
I need help with Hardware DSP56F8323
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.
AW: help.......we are beginer
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
Combined PCMaster and SCI useage.
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.
56F8365 Help when Configuring peripheral for GPIOC [0:3] using SIM_GPS
Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is...
Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is possible (reading about the SIM_GPS). It seems that all four GPIOC pins [0:3] have to be configured to the same function (GPIO OR Quad decoder/Quad Time B OR SPI1) even though the actual configuration through SIM_GPS is done individually. My con...