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

Hello!
I try to get the I2C2-Interface of my LPC2362 to work in RTX. I already got it work without RTX, where I oriented on sample code.
When I try the I2C2-Interface with the RTX, I observe that I cannot start the I2C-Communication (timeout). I assume that I do not get the interrupts from the I2C-Interface correctly (correct me if I am wrong).
Is there some special initialisation necessary, when using Interrupts in RTX? I configured the following, and I have no adaption in rtx_config.c...

VICVectAddr30 = (U32)I2C2MasterHandler; /* pointer for ISR */
VICVectCntl30 = 30; /* use it for I2C2 Interrupt */
VICIntEnable = (1 << 30); /* Enable Interrupt */

I apreciate any help.
Thanks a lot in advance!
Stefan

Parents Reply Children