Author |
Message |
Topic: Problem with 12F609 |
deepakomanna
Replies: 1
Views: 4304
|
Forum: General CCS C Discussion Posted: Fri Dec 31, 2010 4:46 am Subject: Solved:Problem with 12f609 |
With reference above post I made following changes in the code,
#byte ANSEL = 0x9F
#byte OSCTUNE = 0x90
with this change my problem is solved
Thanks to this forum ! |
Topic: Problem with 12F609 |
deepakomanna
Replies: 1
Views: 4304
|
Forum: General CCS C Discussion Posted: Thu Dec 30, 2010 6:01 am Subject: Problem with 12F609 |
Dear All,
I am using 12F609 device & MPLAB 8.53ver. CCS Ver 4.073.
Logic is,
Whenever Power is made 'ON' PIN A2 should have to be High, then in the loop make PIN A2 HIGH & LOW depends upon ... |
Topic: How to Enable WDT of 16F684 |
deepakomanna
Replies: 1
Views: 2810
|
Forum: General CCS C Discussion Posted: Thu Mar 04, 2010 4:10 am Subject: How to Enable WDT of 16F684 |
Dear Sir,
I am using 16F684 device & CCS PCM compiler ver. 4.073
In my application I want to Enable WDT but the prescaler of WDT is shared with Timer0.Also I am using Timer0 for another purpose ... |
Topic: Hall Effect Sensor direction sensing |
deepakomanna
Replies: 2
Views: 3816
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2008 11:20 pm Subject: Hall Effect Sensor direction sensing |
Dear Sir,
In my application I am using Hall Sensor "ATS665LSG" ( http://www.allegromicro.com/en/Products/Part_Numbers/0665/ )
& On the rotor there is one magnetic slot. So whenever it ... |
Topic: 16F684 ADC & Timer2 Query |
deepakomanna
Replies: 3
Views: 6597
|
Forum: General CCS C Discussion Posted: Thu Aug 21, 2008 9:18 pm Subject: ADC & Timer2 query |
Many thanks for reply,
Suppose if the key pressed voltage to pin no. 9 is between 3.5 v to 5v (vol. to this pin is from external power supply).Then the result i am getting correct.
& if key is ... |
Topic: 16F684 ADC & Timer2 Query |
deepakomanna
Replies: 3
Views: 6597
|
Forum: General CCS C Discussion Posted: Wed Aug 20, 2008 7:47 am Subject: 16F684 ADC & Timer2 Query |
Dear Sir,
I am using 16F684 device & CCS compiler ver. 4.73.
In my application i am reading ADC, channel 5 in Timer2 ISR. Timer2 will overflow every 300 usec.
if i disable ADC or Timer 2 my app ... |
Topic: Brown out detect query |
deepakomanna
Replies: 3
Views: 5413
|
Forum: General CCS C Discussion Posted: Mon Jul 21, 2008 8:10 am Subject: Brown out detect query |
Dear sir,
I am using CCS PCM C Compiler, Version 4.073, 42663 & Pic 12f629 device.
I want to know is, if i enabled Brown Out Detect, then whenever brown out detect occurs this will clear the de ... |
Topic: byte allocation for numbers in EEPROM |
deepakomanna
Replies: 4
Views: 3878
|
Forum: General CCS C Discussion Posted: Wed Jun 04, 2008 3:10 am Subject: byte allocation in EEPROM |
Actually my question is,
If i want store number at "00 location" max number is 255,OK
& if i want to store number at " 00 & 01 location" max number can be possible is &qu ... |
Topic: byte allocation for numbers in EEPROM |
deepakomanna
Replies: 4
Views: 3878
|
Forum: General CCS C Discussion Posted: Wed Jun 04, 2008 1:07 am Subject: byte allocation for numbers in EEPROM |
Dear sir,
Here i am using 16f913 device, & compiler 4.073 v
So if i want to store numbers < 255 I have to allocate 1 byte of EEPROM.
Then if i want to store number 60000 or above how much by ... |
Topic: need help abt bit fields & arrays |
deepakomanna
Replies: 2
Views: 3693
|
Forum: General CCS C Discussion Posted: Mon Mar 31, 2008 10:01 pm Subject: need help about bit fields |
Can you explain with example ..Please |
Topic: need help abt bit fields & arrays |
deepakomanna
Replies: 2
Views: 3693
|
Forum: General CCS C Discussion Posted: Fri Mar 28, 2008 3:32 am Subject: need help abt bit fields & arrays |
Dear Sir,
I am using CCS PCM C Compiler, Version 4.052, 40286
In my code i defined array like this,
const unsigned int32 RPM[21] = {73171,52174,33333,28571,25000,22222,20339,20000,1875 ... |
Topic: how to measure frequency... |
deepakomanna
Replies: 7
Views: 10322
|
Forum: General CCS C Discussion Posted: Thu Feb 14, 2008 8:10 am Subject: how to measure frequency |
Then here is what he can do. Forget about input capture mode. Use the frequency to be measured to generate an interrupt, either on RB0 or on some other interrupt-on-change input. Then in the ISR, r ... |
Topic: how to measure frequency... |
deepakomanna
Replies: 7
Views: 10322
|
Forum: General CCS C Discussion Posted: Tue Feb 12, 2008 5:52 am Subject: how to measure frequency... |
Dear sir,
Any body can tell me how to measure frequency by using ccp1 interrupt.In this timer1 having external clock of 32.768 KHz & for internal processing clock 8 Mhz.
I searched in this forum ... |
Topic: frequency checking problem.... |
deepakomanna
Replies: 1
Views: 3276
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 10:04 pm Subject: frequency checking problem.... |
Dear sir,
I am using CCS PCM C Compiler, Version 4.052, 40286
In my application i have i/p frequency to pin RC5 of device 16f913.which will
vary from 10hz to 700 hz.My application is, If the frequ ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
deepakomanna
Replies: 75
Views: 209476
|
Forum: General CCS C Discussion Posted: Thu Jan 10, 2008 7:33 am Subject: getting incorrect frequency... |
After your reply i made one pin (RA0) toggle at fixed 480 Hz freq. in the following routine in my code (see earlist my thread)
if(frequency >= 297) // if freq >=297 Hz ==(<= 111 count)
... |
|