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.

Functionality of IO package in Sys/Bios 6.32_05_54

Other Parts Discussed in Thread: SYSBIOS, TMS320C28346

Hi ,

I recently started to develop with CCS 5.1 and Sys/Bios  6.32_05_54 - what I'm trying to do is getting a serial connection working for text io like it is demonstrated in the non BIOS Example   SCIA echoback.  My first approach was to to steal the code from  the SCIA echoback example , putting the initialization stuff into the main routine of the BIOS task example while replacing the task_fxn by  the user code (in the SCIA example under section 5) leaving out the parts prompting for input so that a loop is created which outputs a Hello message 10000 times . This does not seem to work - I assume that SysBios takes over control over all Interrupts - so that the serial is not triggered. In the end I'm looking for a way to access the scia interface out of Sys/BIOS. Is there sereial support in 6.32 ? - i found that there is addtional IO /Serial support in 6.33 - for this my second question is - could I use 6.33 on a TMS320 C28346 - If so - where from could I download a even more recent copy of CCS including Sys/Bios 6.33.

Thanks in advance for your help - have a nice day

Best regards

Stefan

  • Hi Stefan,

    Correct, in order for you to use SYS/BIOS APIs in interrupt service routines you need to let SYS/BIOS manage that routine as a Hwi object. Asides from handling hardware interrupts, timers, and some caching, SYS/BIOS does not manage any hardware peripherals. SYS/BIOS 6.33 offers a IOM driver interface to create drivers using a "issue/reclaim" and "read/write" model, however, no actual driver implementations are shipped.

    Support for the TMS320C28346 is already available in XDCtools (used by SYS/BIOS). The CCS download page is here, but you'll need to download SYS/BIOS 6.33 separately along with the XDCtools and IPC here.

    To help you debug your integration into SYS/BIOS you can use ROV and Log_print statements.

    issue/reclaim model and the read/write model