Author |
Message |
Topic: Problem with CORDIC 32 bits code in the code library. |
AdamkT1
Replies: 3
Views: 4227
|
Forum: General CCS C Discussion Posted: Wed Sep 05, 2007 10:51 am Subject: Problem with CORDIC 32 bits code in the code library. |
Although, I got trignometric values, of more than 3 digits accuracy, using cordic but still I have not been able to resolve the problem of calculating the distance between two points on the globe.
T ... |
Topic: CORDIC 32bit Functions |
AdamkT1
Replies: 10
Views: 81162
|
Forum: Code Library Posted: Wed Aug 29, 2007 9:43 am Subject: CORDIC 32bit Functions |
I did not mean any offence to anybody, honestly, because I simply can’t afford to do that as this forum has been the only productive one for me, so far.
Actually, before the corrections were done i ... |
Topic: CORDIC 32bit Functions |
AdamkT1
Replies: 10
Views: 81162
|
Forum: Code Library Posted: Tue Aug 28, 2007 9:02 am Subject: ArcCos function |
Is the ArcCos function tested... |
Topic: Problem with CORDIC 32 bits code in the code library. |
AdamkT1
Replies: 3
Views: 4227
|
Forum: General CCS C Discussion Posted: Mon Aug 27, 2007 11:31 am Subject: Problem with CORDIC 32 bits code in the code library. |
Hi,
Posted this query in the code library forum also...
Seems problem with the code sent.
I think it is in every for loop:
Quote:
for (i=0;i<30>=0) {dx=X >>i;} else { dx=-X > ... |
Topic: CORDIC 32bit Functions |
AdamkT1
Replies: 10
Views: 81162
|
Forum: Code Library Posted: Mon Aug 27, 2007 11:27 am Subject: Problem in code |
Hi,
I have been looking for cordic.
Seems problem with the code sent.
I think it is in every for loop:
for (i=0;i<30>=0) {dx=X >>i;} else { dx=-X >> i;dx=-dx;}
I think it i ... |
Topic: Math Problems |
AdamkT1
Replies: 3
Views: 4017
|
Forum: General CCS C Discussion Posted: Thu Aug 23, 2007 8:02 am Subject: Math Problems |
I am developing a code to calculate distance between two points.
The coordinates being used are LAT/LON.
My assumed figures for the two points are:
Point1: LAT1=31.444 deg, LON1=76.244 deg.
Point2 ... |
Topic: GPS Data Accuracy |
AdamkT1
Replies: 1
Views: 3588
|
Forum: General CCS C Discussion Posted: Mon Aug 20, 2007 8:59 am Subject: GPS Data Accuracy |
I am developing a program to receive GPRMC strings from gps receiver and am trying to use it for guidance.
I am concerned with the accuracy of data received. I shall explain my problem by an exampl ... |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Tue Aug 07, 2007 6:25 pm Subject: I2c between 18F452(Master) and 16F877 (Slave) |
I am testing it in PROTEUS. I am sorry for not mentioning.
Thank you very much. |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Tue Aug 07, 2007 2:55 am Subject: I2c between 18F452(Master) and 16F877 (Slave) |
I appreciate your help and the pains you people have to take for me.
Thank you all.
The conditions are the same here and no change in the output so far.
On PIN_C7 I get two types of pulse trains, ... |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Mon Aug 06, 2007 6:44 am Subject: I2c between 18F452(Master) and 16F877 (Slave) |
This is an SOS call.
I could'nt make the code to work despite countless tries with the code and the readings of posts in this forum for I2C comm.
As per Ckielstra's suggestion, I have changed the sl ... |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Sun Aug 05, 2007 8:28 pm Subject: I2c between 18F452(Master) and 16F877 (Slave) |
Thank you |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Sun Aug 05, 2007 7:31 am Subject: I2c between 18F452(Master) and 16F877 (Slave) |
Can I put it like this That:
For I2c to work on 16F877(Slave), the only pins that can be used for communications are PIN_C4(SDA) & PIN_C3(SCL) and these pins cannot be changed.
Thank you. |
Topic: I2c between 18F452(Master) and 16F877 (Slave) |
AdamkT1
Replies: 12
Views: 17162
|
Forum: General CCS C Discussion Posted: Sun Aug 05, 2007 6:38 am Subject: I2c between 18F452(Master) and 16F877 (Slave) |
I have used the code suggested by PCM Programmer in old posts, which is given below:
#include "18F452.h"
#fuses XT, NOWDT, PROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock=4000000 ... |
Topic: Timer0 based interrupt |
AdamkT1
Replies: 3
Views: 4571
|
Forum: General CCS C Discussion Posted: Tue Jul 31, 2007 9:12 pm Subject: Timer0 based interrupt |
Thank you very much.
My problem is solved. |
Topic: Timer0 based interrupt |
AdamkT1
Replies: 3
Views: 4571
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2007 9:55 am Subject: Timer0 based interrupt |
A correction Pls.
#define LOOPCNT 156 and not 78.
Sorry... |
|