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.

Define a non-bios timer interrupt function callback within a BIOS application.

Hello,

I have a BIOS application with a timer Hwi thread which is configured using XDC tools, and it works.

But I don't know which resource is configured, it's hiden in the XDC configuration and I don't know where to check what is going on before main.

 

I also want to define another interrupt call to a function but NOT using a thread. When I add this code, nothing works anymore in the BIOS:

«

rtiInit();
vimManager.Init( &UnusedInterrupt );
vimManager.SetUserInterrupt( DrvVim::VIM_RTI_COMPARE_0, DrvVim::VIM_IRQ, &_interrupt20kHz );  
rtiEnableNotification( rtiNOTIFICATION_COMPARE0 );
rtiStartCounter( rtiCOUNTER_BLOCK0 );
»

 

Is there a way to define another hardware timer using XDC tools with no BIOS thread at all that will no interfer with the xdc BIOS configuration?

 

The approch I want to use is the one described here in the TI article:

http://www.eetimes.com/design/embedded/4008294/Reduce-RTOS-latency-in-interrupt-intensive-apps?pageNumber=4

 

My run time support library is: rtsv7R4_A_be_v3D16_eabi.lib

Target is ti.targets.arm.elf.R4Ft_big_endian

My chip is TMS570LS20216SZWT and I've got the development kit TMDX570LS20SUSB.

SYS/BIOS 6.31.4.27

CCS4.2

Simon

  • I don't recognize the code snippet you've provided. What is "vimManager"? Is that a 3rd party C++ library API?

    Also I don't know what you mean by "define another interrupt call to a function but NOT using a thread".

    Can you explain that a little more for me?

    Alan DeMars