DSPRelated.com

McBSP as GPIO.

Started by fraizzer in TMS320c54x21 years ago 2 replies

Hello I have a 5402 DSK, and want to use the McBSP1 as a small GPIO port. Could anyone help me with a short C example on how to...

Hello I have a 5402 DSK, and want to use the McBSP1 as a small GPIO port. Could anyone help me with a short C example on how to setup the McBSP1 as GPIO and how to control some of the pins as Output's. Best Regards Jacob


TOUT as GPIO

Started by Nithin Rajagopal in TMS320c54x19 years ago 2 replies

Hi I dont see anything mentioned in the C5416 datasheet about the TOUT (timer out) pin being able to be used as a GPIO pin....

Hi I dont see anything mentioned in the C5416 datasheet about the TOUT (timer out) pin being able to be used as a GPIO pin. Is it still possible to configure this pin as GPIO just as it is in some of the other DSPs of the C54x series? Also, i was wondering if there a


Re: TMS320VC5441

Started by Jeff Brower in TMS320c54x14 years ago

Sukhdeep- > I have read datasheet of TMS320VC5441. It has 16 GPIO per system and > four DSP processors. is it has 16*4-64 GPIOs in...

Sukhdeep- > I have read datasheet of TMS320VC5441. It has 16 GPIO per system and > four DSP processors. is it has 16*4-64 GPIOs in TMS320VC5441. i have > read, but not found any 64 GPIO at pinout configuration of DSP. > Kindly tell me, is there 64 GPIO in TMS320VC5441. I don't know where you get this info, but it's not correct. The C5441 data sheet clearly indicates that each core has 4


GPIO

Started by mahmood molaei in TMS320c54x16 years ago 2 replies

Dear group people I have an dsk5416 and I want to send 8bit data to an dds(ad9850).with parallel port. I want to use GPIO does dsk5416 support...

Dear group people I have an dsk5416 and I want to send 8bit data to an dds(ad9850).with parallel port. I want to use GPIO does dsk5416 support 8 bits or not? is there any code in c for doing it? i want to use c code. would you please to help me? Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm...


gpio

Started by G.Sateesh Kumar in TMS320c54x20 years ago

Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10...

Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10 codecs.Is there any chance to configure I2c setup for this board?Already i configured the codec to the McBsp with dcsi configurration.Is it posible to do


McBSP as GPIO

Started by lfouilhac in TMS320c54x20 years ago 1 reply

Hi all, I have configured the McBSP #1 as GPIO (RRST_ = 0 RIOEN = 1). When I read the voltage on that pin (the pin is not...

Hi all, I have configured the McBSP #1 as GPIO (RRST_ = 0 RIOEN = 1). When I read the voltage on that pin (the pin is not connected, working with 5509 EVM from Spectrum Digital), I read 0 but the DSP read a logical 1 If I link the pin to the ground, the DSP sees a 0.


Ti Orion C54x GPIO

Started by G.Sateesh Kumar in TMS320c54x20 years ago

Hi all, I am using TI Orion's c547x board.I stucked while configuring SCL/SDA(GPIO16/17) as GPIO pins.When ever power jack...

Hi all, I am using TI Orion's c547x board.I stucked while configuring SCL/SDA(GPIO16/17) as GPIO pins.When ever power jack connected to the board one pin(GPIO16) will show logical high and other logical low.I would like to know weater it is board default configuration or not.Wh


Re: Please help me-How to use HPI0-HPI7 as output/GPIO to blink LED ?

Started by Jeff Brower in TMS320c54x16 years ago

Dayah- > I want to use HPI0-HPI7 as the output pins/GPIO to blink the external > LEDs. How to do this by using c programming ? I'm using...

Dayah- > I want to use HPI0-HPI7 as the output pins/GPIO to blink the external > LEDs. How to do this by using c programming ? I'm using dsk5416. What > I know is I need to set the address for GPIOCR(003Ch) and the > GPIOSR(003Dh). Then I need to set which pin that I want to use as > input or output for GPIOCR. Then I need to set the output as GPIOSR. > > Here is my program...but not wor


Please help me-How to use HPI0-HPI7 as output/GPIO to blink LED ?

Started by daya...@yahoo.com in TMS320c54x16 years ago

Hi there, I want to use HPI0-HPI7 as the output pins/GPIO to blink the external LEDs. How to do this by using c programming ? I'm using...

Hi there, I want to use HPI0-HPI7 as the output pins/GPIO to blink the external LEDs. How to do this by using c programming ? I'm using dsk5416. What I know is I need to set the address for GPIOCR(003Ch) and the GPIOSR(003Dh). Then I need to set which pin that I want to use as input or output for GPIOCR. Then I need to set the output as GPIOSR. Thanks. Here is my program...but not working. C...


GPIO pin problem

Started by mahmood molaei in TMS320c54x16 years ago 1 reply

Dear Group people I configured HPI8 Pins as GPIO and I configure them as output I can change HD1-HD7 pins state(0-1) but HD0 pin didn't...

Dear Group people I configured HPI8 Pins as GPIO and I configure them as output I can change HD1-HD7 pins state(0-1) but HD0 pin didn't change. Is there anyone who faced with this problem. what is the wrong with it? my program is #define GPIOCR (*(volatile unsigned int*)(0x3C)) #define GPIOCR_ADDR 0x3C #define GPIOSR (*(volatile unsigned int*)(0x3D)) #define GPIOSR_ADDR 0x3D void mai...


UART with GPIO pins

Started by Lucy Jordan in TMS320c54x21 years ago 1 reply

I am trying to implement a UART based on the TI app note: Implementation of a Software UART on TMS320C54x Using General-Purpose...

I am trying to implement a UART based on the TI app note: Implementation of a Software UART on TMS320C54x Using General-Purpose I/O Pins The receive part works great but I cannot figure out why the transmit does not work. I am using Hyperterm to verify everything but it does


CCS Graphical configuration of McBSP

Started by joeblogss84 in TMS320c54x21 years ago

Hello all, Is this a known issue? I have looked for info on it but with no success. Using CCS 2.10 targetting a '5416. ...

Hello all, Is this a known issue? I have looked for info on it but with no success. Using CCS 2.10 targetting a '5416. I find that the graphical configuration of McBSP pins used as GPIO is not very sticky. Making changes in the configuration of other


Problems using HPI8 port as general purpose I/O

Started by zektronix in TMS320c54x21 years ago

Hello. I have a problem using the HPI8 port as GPIO in the c5409 DSP. With the Spectrum Digital EVB sd5409 I had no problems...

Hello. I have a problem using the HPI8 port as GPIO in the c5409 DSP. With the Spectrum Digital EVB sd5409 I had no problems using this port. When I made my board, with a microcontroller connected to this port, I'm not able to write anything, and the logic level of this 8


McBSP as GPIO

Started by mahmood molaei in TMS320c54x16 years ago 2 replies

Dear Group people I am going to use three pins of Mcbsp and I read Volume 5: Enhanced Peripherals document(section 2.9) and I wrote this...

Dear Group people I am going to use three pins of Mcbsp and I read Volume 5: Enhanced Peripherals document(section 2.9) and I wrote this program . #include "tonecfg.h" #include "dsk5416.h" #include "dsk5416_pcm3002.h" #include "csl_mcbsp.h" #include #include "csl_gpio.h" #include "csl_hpihal.h" #include "csl_gpio.h" #include "tonecfg.h" void delay(void) { long i, j=0; f


5402 - GPIO Problem

Started by vijay_asm in TMS320c54x18 years ago 2 replies

I work on 5402 DSP. I face a problem in I/O. 5402 has HPIport which can also be used as IO Port. I am using this port as Output. The problem...

I work on 5402 DSP. I face a problem in I/O. 5402 has HPIport which can also be used as IO Port. I am using this port as Output. The problem is Iam able to write to the IO in Main loop, but is ISR the port is not in control. I written a toggling code, the pins toggled well in mainloop, but the same didnt work in ISR. I Tried both Asm and C, no use. in asm, i tried different instructi...