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.

Searching for a document - about how HALs can be made generally

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I am a newbie to C2000-Microcontrollers. So that is why a view weeks ago I was searching for a C2000-HAL privided from TI. And I think at that point I did not know about the controlSuite provided.

What I found was a document from TI about HAL more generally. It compares HALs made by the classical #define-way and HALs providing functions for controlling the microcontroller-hardware.

Now I am searching for this peace of document again, which I find very interesting. But so far I could not find it.

Does anybody know the name of the document or where I can get it?

Or can anybody recommend me any other document about how HALs could be made?


Thank you very much in advance!

  • Don,

    You're probably thinking of the app note SPRAA85, which can be found here:

    www.ti.com/lit/an/spraa85d/spraa85d.pdf

    That document describes a very low-level sort of HAL, which only abstracts away the memory address of the peripheral registers. It's intended to make code portable across different C2000 MCUs. There are also higher-level HALs, which are designed to make code portable across different architectures. These are more like an API, in that they use a generic function interface whose implementation is hardware-dependent.

  • Thank you Adam!


    Could you please also refer to such a higher-level API-like HAL?


    How about the USB-HAL provided for MSP430? How would you classify such an API for example?

    Thanks again, Adam!