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.

interrupts

Other Parts Discussed in Thread: TMS320C6746

Hi,

1. we are  working on C6746 DSP, SYS-BIOS project. we are getting RX-UART interrupt disabling after some time automatically.what is the reason...??

2. In main() calling "_enable_interrupts()" then which interrupts are enabled.

3. sempost() can do before BIOS_START() in main()????, if then do what will happen.

  • MSR,

    1) You'll have to provide more info regarding question 1) in order for the problem to get resolved. Please provide information about your system configuration. Which version of SYS/BIOS are you using? Which platform are you using? Can you share your project?

    2) Enabling interrupts in main() is NOT allowed with SYS/BIOS. This will corrupt the orderly system start up procedure controlled within the BIOS_start() function.

    3) Calling Semaphore_post() will make the corresponding semaphore available  when Semaphore_pend() is subsequently called within a Task thread. This means that the first call to Semaphore_pend() for the posted semaphore WILL NOT BLOCK. For counting semaphores, each call to Semaphore_post() will increment the semaphore's internal counter. For binary semaphores, multiple calls to Semaphore_post() will have no additional effect.

    Alan

  • Hi,

    We are using Windows XP system, SYS-BIOS version is bios_6_33_04_39 and Target is TMS320C6746, CCSv5.2, project measuring the power qualities with external ADC and switching the power source to which is better based on power qualities.Having McBSP, EMIF for ADC interface, UART, SPI these peripherals used.

  • May i know what interrupts will be enable and disable when we are using _Enable_ineterrupt() and _disable_interrupt().

  • MSR,

    The _enable_interrupts() and _disable_interrupts() compiler intrinsic functions simply set and clear the global GIE bit respectively.

    All interrupts that are enabled within the IER register are enabled by _enable_interrupts() and all interrupts are disabled by _disable_interrupts().

    Alan