Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/04 03:45
Read: times


 
#81657 - Tried making all ISR variables global.
Responding to: ???'s previous message
Hi Russel, Thank you very much for your reply.

I'm not too familiar with Keil, but try delcaring the local variable in the isr as static. This allocates ram for them specifically. Otherwise try declaring those variables outside of the isr.


I have tried decalring all the variables inside ISR global variables but no help.

You method of doing i2c in an isr does not sound like a good idea to me. I would try to avoid this - using a micro with an on-board a/d would probably be cheaper than a micro + pcf8591 combination.


I need atleast 3 AD channels for voltage feedback, current feedback and reading a knob. I am planning no more than 50 samples per AC cycle thus PCF8591 seems to be a good candidate its cheap 145/- Rs. less than 3$ available easily and can give 11,000 samples per second. Has 4 analog channels.

I agree it better to use derivative with ADC inbuilt but I couldn't find any at reasonable rate in small quantity the sales volume for this product is quite low max 10 per month.

Thanks & Regards,
Prahlad Purohit

List of 18 messages in thread
TopicAuthorDate
Timer 2 interrupt with keil.            01/01/70 00:00      
   Additional Information.            01/01/70 00:00      
   what is I2CWAIT;            01/01/70 00:00      
      I2CWAIT is not Function.            01/01/70 00:00      
   Remove            01/01/70 00:00      
      Already tried remove using 1            01/01/70 00:00      
         Timer2 interrupt            01/01/70 00:00      
            Tried making all ISR variables global.            01/01/70 00:00      
               Timer2 Interrupt            01/01/70 00:00      
      Why remove using?            01/01/70 00:00      
      removing using            01/01/70 00:00      
         Re: Remove Using.            01/01/70 00:00      
   int usage            01/01/70 00:00      
      int operations reentrant or not?            01/01/70 00:00      
         varify with asm            01/01/70 00:00      
   A couple of things            01/01/70 00:00      
      Re: A couple of things - Neil            01/01/70 00:00      
         A couple of things            01/01/70 00:00      

Back to Subject List