Does TINI OS use internally Timer Interrupts?

Peter Wein <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hello Bryan, hello list,

I am looking for a method to use TINIOS and JAVA and INTERRUPTS because 
I want to measure EVERY 10 or 20ms 8 channels of a MAX1080 via SPI.

Is it possible: to go native and program an Timer Interrupt (each 
10ms)in a method of a tlib. Also the termination of the timer 
interrrupt). Then you write a code and put it in a memory, where TINIOS 
has got no access. ISR jumps to that disable interrupts, measures ADCs 
via Max1080 SPI and returns to the next process.

If this makes sense, this must work, if you be careful and save the 
system state before you jump to the ISR, unless TINI OS is using TImer 
Interrupts for its own purposes. So does it?

thanks in advance
Peter

Bryan Armstrong wrote:

> Waldemar wrote:
>
>> I needed to write my own SPI-communication routine, because I need a 
>> special
>> starting condition.
>> I use therefore three free Pins of an I/O-expander which is 
>> programmed by
>> I2C (PCF8574).
>>
>> The communication is does oly work, if I change the thread to max. 
>> priority.
>
>
> Does this mean the special SPI condition is timing dependent and not 
> synchronous?
>
>> But I want to make it safer, so I'll need to disable Interrupts during
>> transmission. I've found something similar in older postings, but I 
>> don't
>> know assembler and would like to know, if this can be done in Java. Has
>> anyone an example?
>
>
> You cannot disable CPU interrupts from Java.
>
>

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.