This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320C6748: Questions About GPIO Speeds and Boot Modes

Part Number: TMS320C6748


Tool/software: Code Composer Studio

Hello,

I am attempting to use the TMS320C6748 DSP dev board to read data coming into the GPIO pins. Is there a max speed that these GPIO pins can take in data? Is there a clock on the dev board controlling the speed of the GPIO pins and can this be changed?

I was also wanting to be able to save the data coming into the GPIO pins. I am using Code Composer to program the board and have found methods for reading and writing the GPIO pins in the StarterWare, but wasn't sure if I could save this data to memory.

My last question is about the different boot modes for the dev boards. I don't have much information on each boot mode and was wondering if i could get more information about what each one does. One thing I was wondering was what boot mode is best for what task.

Sorry for the burst of questions.

Joseph

  • Joseph P,

    The GPIO peripherals are not considered to be high-speed peripherals. There are other interfaces on the device that are much more high-speed, but if you need the functionality of GPIO then the GPIO is the best option. The speed is dictated by the DSP clock rate, and my expectation is that it will take on the order of 20 DSP clock cycles to read a GPIO register to get one or more bit values. Interestingly, peripheral writes also take about 20 clock cycles, but a small number of write operations will get stored in a write buffer and the DSP code will not require all of those 20 cycles before it moves on to the next instruction. There is a lot more to learn about all of that if you are interested, from the datasheet and User Guides and Reference Guides that you can find on the Product Folder page for the TMS320C6748.

    I do not understand your question about storing data in memory. If you have a function GPIO-Read() that returns a value, you store it to memory the same way you would store getchar() or (x + y), by assigning it to a data variable. I have a feeling that your question is beyond what I will be able to help you with.

    Boot modes for the device are described in the datasheet and App Notes and especially the TRM. For information on the specifics of your board you can refer to the Technical Reference Manual that comes with the board. One could argue that the boot mode is irrelevant to the application. Tell us what your opinion is from reading through the list of available modes.

    Regards,
    RandyP

  • Thank you so much for the information Randy. I'm still considering other peripherals. but i think this will help me if I decide to stick with GPIO.