Search found 11 matches

by joe333
03 Mar 2011 07:00
Forum: mikroC PRO for AVR General
Topic: How to swap local variables between Program memory and RAM?
Replies: 4
Views: 4778

Re: How to swap local variables between Program memory and R

It is possible,
you can store a constant variable to program memory using the keyword "code"
eg:

const code char NAME[]="Hello";


Search PIC Memory type specifiers in the MickroeC Pro Help file for detailed info
by joe333
08 Sep 2010 11:58
Forum: mikroPascal FAQ
Topic: PLEASE help me I'm helpless
Replies: 3
Views: 3640

Re: PLEASE help me I'm helpless

To me the code seems alright If the ADC port pin is left open then the output will wary very fast. However this can be verified by pulling the ADC port pin to ground. Then it should display "0" After that pullup the port pin to 5V. It should show "1023" (applicable to 10 bit ADC) If the result is OK...
by joe333
08 Sep 2010 11:43
Forum: mikroC PRO for PIC General
Topic: Help in I2C EEPROM?
Replies: 6
Views: 2145

Re: Help in I2C EEPROM?

If everything fails then try out my I2C software driver This was done specially for EEPROM interface in PORTC. However you can easily port this to work for any PORTS. And Good Luck with your project. /////////////////////////////////////////CodeFollows////////////////////////////////////////////////...
by joe333
08 Sep 2010 11:41
Forum: mikroC PRO for PIC General
Topic: Help in I2C EEPROM?
Replies: 6
Views: 2145

Re: Help in I2C EEPROM?

An analysis of the situation is not possible without a circuit diagram.
However I suggest u check a few things.
1: Reverse the data lines (I2C) between the microcontroller and EEPROM IC
2: Try a different INIT clock
3: Also try to initialize the I2C peripheral manually.
by joe333
23 May 2010 17:41
Forum: mikroC PRO for PIC Wish List
Topic: Support for Real Time Kernel
Replies: 1
Views: 1726

Support for Real Time Kernel

I would like to see MikroeC with support for some Real Time Kernel
Especially with support for PIC18 series.
I very much love coding with MikroeC. And like it for its simplicity.
Good luck guyz
by joe333
21 Apr 2010 20:05
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

Re: Chipcon CC1100 Transceiver with PIC16F877A

Final update! This code works fine for multi byte transmission. However you should make appropriate changes in the register. For multibyte READ operation avoid burst mode. Instead go for a single byte read from buffer register. For multi byte WRITE operation you can load the buffer using burst mode....
by joe333
08 Sep 2009 08:15
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

Code Updated

Now have got the code working 8) 8) 8) 8) ....................................................... However when reading the buffer only one byte can be read at a time. If burst mode is used to read the receive buffer....data received are corrupted. Thanks for trying out my code...... If any one got a...
by joe333
24 Jul 2009 09:36
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

Iam not sure this code works for all... For me it is working fine....just try to add some nop() in the SPI read and write functions. I myself test all functions and it works just fine. However still unsuccessful in establishing a link. The module Iam using is from Summitek Technology. ST-TR1100+PA ....
by joe333
16 Jul 2009 06:23
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

//UPDATED ON 24 JULY 2009/////////jozef333@ymail.com///////////////////////////////////////////////////////////// ///////visit http://ahaanow.us.to//////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// ...
by joe333
16 Jul 2009 06:18
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

To start with just see the app note in TI website - swru109
There are a lot of library examples.
Iam also working on it now....will publish code once finished.
by joe333
06 Jul 2009 05:49
Forum: mikroC General
Topic: Chipcon CC1100 Transceiver with PIC16F877A
Replies: 13
Views: 11886

Cannot use Hardware SPI

Hey Ive been working on this thing.....they use SPI protocol Have'nt you read the App notes of TI - CC1100? Refer the app note SWRA112B What Ive found is that they cannot be programmed/configured using the hardware based SPI in PIC..... Because PIC has only one buffer(for SI and SO) So we are not ab...

Go to advanced search