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.

CSL vs. HAL API

Other Parts Discussed in Thread: SYSBIOS

Hi,

I got an EVM C6678 recently and have been reading various documentation to get acquainted. However, I am slightly confused, in the BIOS User Guide it states that the CSL API should not be used with SYS/BIOS, instead the HAL APIs should be used. On the other hand, reading this forum, the use of CSL is advocated. Which is it? I would much rather use the HAL APIs since they provide a higher degree of abstraction and usability but do they work? And if so is there some usage example, esp. for timers and clocks?

  • Hi Damian,

    Simply to summarize, SYSBIOS HAL only provide the support for interrupt, timer and cache.

    So just do not use interrupt, timer and cache CSL functions in SYSBIOS project since there will be conflict. And the CSL API for other modules should be okay.

    The BIOS user guide provide the usage of hal modules and you can find them in Chapter 7.

    Allen