sch0bert wrote on Thursday, December 29, 2011:
Hello,
This is my first time that I’m working with a RTOS so I’m not sure if what I’m doing is correct. I’m using a MSP430FG4618 and I want to comunicate with an ADS1194 analog converter but this chip has a DRDY port (Data Ready port) so I’m wondering how could I manage the interrupts becase the freeRTOS just handle 1 (Timer interrupt) as far as I know.
I’m planning to enable the uC port interrupts once that I’m inside this task and then disable it once that I have finished all but I think that if a timer interrupt occurs it will affect the system, isn’t it?
Just as a cultural information, the ADS1194 converter gives the information through SPI with 8 bits packages. I suppose to receive 6 packages in 1 cycle task. (so 6 DRDY ports interrupts will occur)
So any I idea how could I manage this constant interrupt that will be made by the interrupt port?
Best Regards,
Pascal.