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.

Hwi - Proper Initialisation Procedure - SysBios -Starterware

Other Parts Discussed in Thread: SYSBIOS

Hy,

In Pruh73F page 1630 the proper initialisation procedure is described.

What does this mean if I use SysBios. 

- do I need to use  "Hwi_disable() " and " Hwi_disableInterrupt(xx) " before setting up the config register? or does this the OS for me?

- do I need to use "Hwi_enableInterrupt(xx)" and " Hwi_enable()" after setting up the config register? or does this the OS for me?

- Is it typical to configure the HW before starting SysBios with "BIOS_start()"

Regards,

Andreas

  • Andreas,

    I would suggest to post that question in Bios forum. Sorry, I can't move it as I am no admin.

    Generally there are some options in Sys/Bios for default state of irq enabled or not. Also you have a few options where to place the init code for peripherals and such. But then you have to deal with the enable on your own. Only if Bios does fully control the peripheral (e.g. tick timer) it will do everything on it's own. As a final resort you can always look at the provided Bios sources...

    Regards.