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.

SYS/BIOS uart driver for TMS320F2808

Other Parts Discussed in Thread: CONTROLSUITE, SYSBIOS

I'm very new to SYS/BIOS and need some help writing a UART driver. I've seen many references to CSLs and PSPs for SYS/BIOS that include drivers (e.g., for UART), but have not been able to find one for the 28xx series. This led me to SPRA882A and SPRU616 which mention a DDK that can be used to develop drivers for DSP/BIOS. Unfortunately I can't find a download for the DDK and I am now stuck. How does one go about developing a peripheral driver for SYS/BIOS? I've written many drivers in the past, but never for an RTOS. Can anyone point me in the right direction?

  • Did you take a look at this:  http://www.ti.com/tool/controlSUITE

    I don't think this is SYSBIOS specific.

    Judah

  • Hi Judah,

    I took a look at the controlSUITE software but it doesn't have any references for the F2808, only the F280xx devices, F283xx devices, and the Concerto. I chose the "complete" installation.

    My main problem is that I don't know how to add a UART driver to SYS/BIOS (or any driver for that matter). I have a UART driver (and many others) written already which I've been using without an RTOS, I just don't know how to convert this to be compatible with the SYS/BIOS framework (e.g, I have interrupts defined in the driver instead of registered with SYS/BIOS). Would I just rewrite the code so that it registers the interrupts with SYS/BIOS? Anyways, it doesn't sound like this is following the format that seems to be characteristic of a mini-driver described by the SYS/BIOS documentation.

    Regards

  • Freddy,

    If you've already got Driver code and just want to know how to integrate it into a BIOS environment, I would suggest that you look at the MCUSDK.  I think it has a bunch of BIOS drivers for UART, I2C, Ethernet, etc...  You can get it here:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/mcusdk/1_00_00_68/index_FDS.html

    Judah

  • Hi Judah,

    I gave that a try, but it appears that the uart driver in MCUSDK (#include <ti/drivers/UART.h>) is dependent on StellarisWare for "inc/hw_types.h" and "driverlib/uart.h". So I downloaded that and installed it but I haven't been able to compile it yet for the F2808.

    Regards

  • Freddy,

    I think you misunderstood my post.  I was saying that you might want to look at the MCUSDK contents to get an idea of how to port your driver to a BIOS environment.

    I didn't mean that you can take the MCUSDK and port it to your device.

    Judah

  • Oh, sorry, I'll give that a go. Thanks for pointing me in the right direction :)