This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C-Master in RTX

i have the same problem with an LPC1788 (Cortex M3)

It works with multitasking!
i use the i2c master!
As long as I do not use the function i2c master The program works fine works
But if I use the function i2c master Micro does not work!

Thank you for your help

Parents
  • hello
    Thank you for your attention
    program i2c master Works well alone
    However, when this function is added to rtx
    the program (rtx+i2c ) hangs..
    in task1 blink led1
    and task2 blink led2
    When the program on hardware
    first led1 on
    second led2 on
    but when Performs task3 my code hangs
    (Note:i2c master code only works well)!!!
    but rtx + i2c master = hangs

Reply
  • hello
    Thank you for your attention
    program i2c master Works well alone
    However, when this function is added to rtx
    the program (rtx+i2c ) hangs..
    in task1 blink led1
    and task2 blink led2
    When the program on hardware
    first led1 on
    second led2 on
    but when Performs task3 my code hangs
    (Note:i2c master code only works well)!!!
    but rtx + i2c master = hangs

Children