DSPRelated.com

GPIO and compiler switch -g

Started by Bernhard Gustl Bauer in TMS320c6x20 years ago

Hi, I use GPIO to generate output signals with a minimum high pulse width of 240ns. I must use NOP for the timing, because I have no free...

Hi, I use GPIO to generate output signals with a minimum high pulse width of 240ns. I must use NOP for the timing, because I have no free timer. So I entered 72 NOPs (300MHz) delay and I got a pulse width of 180ns! It looks like there is a GPIO internal timing which is much slower than SYSCLK1. I had to adjust the number of NOPs (now 90), but I can live with it. Then I turned compi


GPIO usage

Started by Mike Petty in TMS320c6x22 years ago 1 reply

I've been knocking my head against this problem for a while, and I'm starting to creep uncomfortably close to a deadline. I have a...

I've been knocking my head against this problem for a while, and I'm starting to creep uncomfortably close to a deadline. I have a c6713 that I just can't get the GPIO output to work properly. I have been able to read from the GPIO pins, but I can't write to them seemingly no matter


CSL GPIO

Started by McClean, Lesley-Ann in TMS320c6x23 years ago

This e-mail is subject to the disclaimer set out below. --------------------------------------------------------------------------- ...

This e-mail is subject to the disclaimer set out below. --------------------------------------------------------------------------- Hi again...more problems! I'm trying to set up my GPIO pins using the csl gpio functions. I've upgraded CCS to version 2.12.10 (which incl


McBSP Pins as GPIOs - 6711D

Started by Bhaskar Reddy N in TMS320c6x21 years ago

Hi all, With c6x peripheral guide spru190d, we found that McBSP pins can be used as GPIOs. But with the modifications to GPIO module...

Hi all, With c6x peripheral guide spru190d, we found that McBSP pins can be used as GPIOs. But with the modifications to GPIO module in 6711D revision is there any change with this. Still these McBSP pins can be used for GPIO. Nothing is mention in SPRS088m document about the McBSP pins as GPIOs. Thanks in advance BHA


GPIO Register Addresses for 6711D

Started by Bhaskar Reddy N in TMS320c6x21 years ago 1 reply

Hi all, 6711D device has GPIO module, and the device specific datasheet sprs088M.pdf gives details of only two registers namely GPDIR and...

Hi all, 6711D device has GPIO module, and the device specific datasheet sprs088M.pdf gives details of only two registers namely GPDIR and GPEN. And for other details its asked to see spru584.pdf This document described all the registers, but no address details are given for the registers. It says "See the device-specific datasheet for the memory


GPIO input voltage

Started by Francois Leroux in TMS320c6x21 years ago 1 reply

Hi, I just need to know if its possible to feed in 5v as high input voltage to the GPIO module and McASP module configured as input or if a...

Hi, I just need to know if its possible to feed in 5v as high input voltage to the GPIO module and McASP module configured as input or if a 3.3v regulator is needed for a c6713. The spec sheets only specify the minimum high input voltage of 2v and not the maximum.. Thanks, Frank


plz.....tell about GPIO_support and usedefs........plz help me

Started by rich...@tcs.com in TMS320c6x18 years ago 1 reply

My problem is that my GPIO code is compiling but when i link the following code ...i get errors,,,with gpio_open as undefined Actually i...

My problem is that my GPIO code is compiling but when i link the following code ...i get errors,,,with gpio_open as undefined Actually i wanted to ask whether GPIO_SUPPORT and USEDEFS have to be defined 1 before including csl-gpio.h...... becoz when i dont put #define gpio_support as 1,,, i get error as gpio_handle as undefined.... so what kind of such initializations have to be done before...


16x2 LCD display interfacing to GPIO

Started by asif bagwan in TMS320c6x18 years ago 4 replies

hi all, I want to interface 16x2 LCD display to gpio pins of tms320c6713 dsp kit so assist me where to conncet lcd and how to confogure...

hi all, I want to interface 16x2 LCD display to gpio pins of tms320c6713 dsp kit so assist me where to conncet lcd and how to confogure it. thank you -in advance ASIF BAGWAN ____________________________________________________________________________________ Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now http://tc.deals.yahoo.com/...


interfacing 16x2 lcd to gpio of c6713

Started by asif bagwan in TMS320c6x18 years ago 2 replies

hi freinds, I m using gpio port of c6713 processor i have used HD[8:15] as GP[8:15] for data pins but i m?confusing over pins GP2,3,4 which HD...

hi freinds, I m using gpio port of c6713 processor i have used HD[8:15] as GP[8:15] for data pins but i m?confusing over pins GP2,3,4 which HD pin should i used for connecting RS, En and ?R/W? pin of lcd plz help me in this problem. -asif ?ASIFBAGWAN ____________________________________________________________________________________


16x2 LCD through GPIO port

Started by asif bagwan in TMS320c6x18 years ago 2 replies

hellow freinds I m?interfacing 16x2 LCD through GPIO port and its connection?are as follows HPI_PIN_NO.????? GPIO_PIN_NO.??????????????????...

hellow freinds I m?interfacing 16x2 LCD through GPIO port and its connection?are as follows HPI_PIN_NO.????? GPIO_PIN_NO.?????????????????? LCD_PIN 11???????????????????????????????????? 4????????????????????????????????????? R/S(4) 80?????????????????????????????????????2??? ??? ??? ??? ??? ??? ??? ??? ??? ???RW?(5)?? ???? 15??? ??? ??? ??? ??? ??? ??? ??? ??? ?3?? ??? ??? ??? ??? ??? ??? ??...


GPIO 4 always holds high voltage?

Started by "Yang, Chunhua" in TMS320c6x18 years ago 1 reply

Dear All, I use C6424 EVM. I want to configue GPIO4 as an interrupt source. My program doesn't work. No interrupt has been detected. So I try...

Dear All, I use C6424 EVM. I want to configue GPIO4 as an interrupt source. My program doesn't work. No interrupt has been detected. So I try to test GPIO4 pin characteristic not considering interrupt issue. I found that GPIO 4 pin always hold high voltage regardless of setting or clearing the correspond bit in the registers and being configured as input or output pin. Further I tested fr...


Initialize GPIO on C6455DSK

Started by meiring_dewet in TMS320c6x18 years ago 2 replies

C6455DSK CCS 3.2 Hi all I need to toggle a pin in my project, but I have some trouble initializing the GPIO in CCS. after...

C6455DSK CCS 3.2 Hi all I need to toggle a pin in my project, but I have some trouble initializing the GPIO in CCS. after using #include "csl_gpio.h" I received the error "H:/CCStudio_v3.2/C6000/csl/include/csl_chiphal.h", line 267: fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201) 1 fatal error detected in the compilation of "tone.c". C...


Re: =?windows-1252?Q?Can=92t_get_right_data_when_using_6713_interface_wit?= =?windows-1252?Q?h_a_DAC_converter=21?=

Started by xuel...@gmail.com in TMS320c6x17 years ago 1 reply

Jeff: Thanks very much for your reply! The first question: ?If the ADCs and DACs are connected to EMIF, then why do you need additional GPIO...

Jeff: Thanks very much for your reply! The first question: ?If the ADCs and DACs are connected to EMIF, then why do you need additional GPIO signals? To what pins are the GPIO signals connected?? The ADC we used is MAXIM1317. Its reference pdf is: http://datasheets.maxim-ic.com/en/ds/MAX1316-MAX1326.pdf The DAC we used is AD5344. Its reference pdf is: http://www.analog.com/static/imp


Wrong data using 6713 EMIF with ADC and DAC

Started by xuel...@gmail.com in TMS320c6x17 years ago

I can't know how my reply go here..... > Jeff: > Thanks very much for your reply! > The first question: ?If the ADCs and DACs are connected...

I can't know how my reply go here..... > Jeff: > Thanks very much for your reply! > The first question: ?If the ADCs and DACs are connected to EMIF, then why do you need additional GPIO signals? To what pins are the GPIO signals connected?? > The ADC we used is MAXIM1317. Its reference pdf is: > http://datasheets.maxim-ic.com/en/ds/MAX1316-MAX1326.pdf > The DAC we used is AD5344. Its ref


GPIO in TMS320c6727

Started by mi19...@yahoo.es in TMS320c6x16 years ago 11 replies

Hi all, I am trying to write to GPIO-converted HD[8-10] pins from HPI module in a TMS320C6727 custom board but it seems not to work (there is...

Hi all, I am trying to write to GPIO-converted HD[8-10] pins from HPI module in a TMS320C6727 custom board but it seems not to work (there is no signal in the corresponding dsp pin) and I do not know why. I am using CSL 3.0 libraries (csl_C672x_03_00_09_00) and I had to create some enums within csl_uhpi.h file (CSL_UhpiGpioDat1 and CSL_UhpiGpioDir1, at the end of the code) to access to data1 an...


data bus as GPIO

Started by yati...@hotmail.com in TMS320c6x15 years ago 1 reply

Hello, We don't have many GPIOs left and I just want to know whether I can use Data bus as GPIO. I'm using 6412 TI dsp which has 64 bit width...

Hello, We don't have many GPIOs left and I just want to know whether I can use Data bus as GPIO. I'm using 6412 TI dsp which has 64 bit width data bus and we are using only 16 of the data bus, so rest are not used. Thanks, _____________________________________


data bus as GPIO

Started by yati...@hotmail.com in TMS320c6x15 years ago

Hello, We don't have many GPIOs left and I just want to know whether I can use Data bus as GPIO. I'm using 6412 TI dsp which has 64 bit width...

Hello, We don't have many GPIOs left and I just want to know whether I can use Data bus as GPIO. I'm using 6412 TI dsp which has 64 bit width data bus and we are using only 16 of the data bus, so rest are not used. Thanks, _____________________________________


McBSP-UART issues in C6713

Started by Aditi Akula in TMS320c6x15 years ago 2 replies

Hi I am using C6713 and want to interface a UART. Doing so by using McBSP as GPIO. I have taken the code from the TI's SPRA633C document...

Hi I am using C6713 and want to interface a UART. Doing so by using McBSP as GPIO. I have taken the code from the TI's SPRA633C document that describes how to use McBSP as a soft UART in GPIO mode. To test the code and verify if I am receiving correctly, I just put the code inside a while(1) loop inside main() as follows voide main(){ ----- ------ while (1){ Ua...


DSK6713 GPIO port

Started by mukhtar_057 in TMS320c6x14 years ago 1 reply

Hi, I'm working with DSK 6713. I want to know how I can read write data to GPIO port? Also how I can use cpu interrupts with this...

Hi, I'm working with DSK 6713. I want to know how I can read write data to GPIO port? Also how I can use cpu interrupts with this port? _____________________________________


Re: =?windows-1252?Q?Can=92t_get_right_data_when_using_6713_interface_wit?= =?windows-1252?Q?h_a_DAC_converter=21?=

Started by xuel...@gmail.com in TMS320c6x17 years ago

Jeff: Thanks very much for your reply! The first question: ?If the ADCs and DACs are connected to EMIF, then why do you need additional GPIO...

Jeff: Thanks very much for your reply! The first question: ?If the ADCs and DACs are connected to EMIF, then why do you need additional GPIO signals? To what pins are the GPIO signals connected?? The ADC we used is MAXIM1317. Its reference pdf is: http://datasheets.maxim-ic.com/en/ds/MAX1316-MAX1326.pdf The DAC we used is AD5344. Its reference pdf is: http://www.analog.com/static/impor