Author |
Message |
Topic: memcpy and const tables |
sebdey
Replies: 4
Views: 6958
|
Forum: General CCS C Discussion Posted: Wed Mar 28, 2007 7:51 am Subject: memcpy and const tables |
Hello,
I am developing an application with a graphical LCD, and am running into the problem of displaying bitmaps on my lcd.
I want to store my bitmaps in rom using a #rom statement. But I then ca ... |
Topic: #inline and variables allocation |
sebdey
Replies: 7
Views: 8139
|
Forum: General CCS C Discussion Posted: Tue Jan 30, 2007 4:57 am Subject: #inline and variables allocation |
Thanks everyone,
I will go with the (...)have two identical functions Function_A and Function_A_ISR and call the correct one from the appropriate location(...) solution (which I already implemented ... |
Topic: #inline and variables allocation |
sebdey
Replies: 7
Views: 8139
|
Forum: General CCS C Discussion Posted: Tue Jan 30, 2007 1:51 am Subject: #inline etc... |
Hi PCM,
I won't be able to post a test program, I found this 'problem' in an almost finished project, no chance to extract a part of it to be able to test it.. To show you how I found that variables ... |
Topic: #inline and variables allocation |
sebdey
Replies: 7
Views: 8139
|
Forum: General CCS C Discussion Posted: Mon Jan 29, 2007 4:12 am Subject: #inline and variables allocation |
Hello, I have the following question/problem, maybe is it simply a C understanding problem from my side... I use 18F4620, PCWH 3.235
I have a project where I use #inline functions to be able to cal ... |
Topic: Radio Comunication |
sebdey
Replies: 8
Views: 8849
|
Forum: General CCS C Discussion Posted: Fri Nov 10, 2006 7:56 am Subject: Bidirectionnal radio communication |
Hi,
I have run into the same problem in one of my current projects. I am also using FSK modems, but not so cheap radios.
When trying to implement bidirectional communication between my devices, I ... |
Topic: Extra UARTs |
sebdey
Replies: 9
Views: 9749
|
Forum: General CCS C Discussion Posted: Sun Jun 18, 2006 12:11 pm Subject: Extra UART |
If you can use the SPI port, try the MAX3100 from Maxim's:
(http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1731)
We are using it in one of our products, no problems with it... |
Topic: WiFi with a pic... |
sebdey
Replies: 7
Views: 11144
|
Forum: General CCS C Discussion Posted: Mon Apr 10, 2006 2:22 am Subject: Thanks !! |
Thanks cfernandez !!
That seems to be exactly what I want but before I get too excited, is there anything 'hidden' I should know about these devices ? |
Topic: WiFi with a pic... |
sebdey
Replies: 7
Views: 11144
|
Forum: General CCS C Discussion Posted: Mon Apr 10, 2006 12:37 am Subject: WiFi with a pic... |
In my company, we have a product using a RS232 to WiFi converter, and due to certain 'problems' with this product, we would like to create our 'own' RS232 to WiFi converter.
Has anyone of you alre ... |
Topic: Fill hex file with 0xFFs.. |
sebdey
Replies: 2
Views: 4653
|
Forum: General CCS C Discussion Posted: Tue Jan 17, 2006 6:34 am Subject: Fill hex file with 0xFFs.. |
Thanks, that did it, BUT....
The problem now is following (maybe a compiler bug...):
I place the #fill_rom directive in my header:
#include <18F4620.h>
#device *=16,ADC=8
//On sait qu ... |
Topic: Fill hex file with 0xFFs.. |
sebdey
Replies: 2
Views: 4653
|
Forum: General CCS C Discussion Posted: Tue Jan 17, 2006 2:23 am Subject: Fill hex file with 0xFFs.. |
Is there any options in CCS that would permit to create an hex file with all unused memory locations set to FFh instead of having the unused memory location ignored in the hex file.
For example, th ... |
Topic: MAX7219 and built-in SPI commands (CCS C) |
sebdey
Replies: 15
Views: 24595
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2006 1:17 am Subject: MAX7219 and built-in SPI commands (CCS C) |
Yes, the 7221 is the SPI compatible chip, but what I wanted to say is that the serial interface of the 7219 is also compatible with SPI, if you look on page 6, you'll see that the signals (Data, Clock ... |
Topic: MAX7219 and built-in SPI commands (CCS C) |
sebdey
Replies: 15
Views: 24595
|
Forum: General CCS C Discussion Posted: Sun Jan 15, 2006 1:32 pm Subject: MAX7219 and built-in SPI commands (CCS C) |
No, my fault, I didn't read the dadasheet carefully enough, the 7219 IS spi compatible... sorry
So you can just use the code provided as is!
Good luck !! |
Topic: MAX7219 and built-in SPI commands (CCS C) |
sebdey
Replies: 15
Views: 24595
|
Forum: General CCS C Discussion Posted: Sun Jan 15, 2006 11:46 am Subject: SPI setup... |
I can't give you the CCS command for setting the SPI, I'm directly writing to the pic registers, if someone in this forum can translate these values in CCS, please don't hesitate to do it...
SS ... |
Topic: MAX7219 and built-in SPI commands (CCS C) |
sebdey
Replies: 15
Views: 24595
|
Forum: General CCS C Discussion Posted: Sun Jan 15, 2006 11:42 am Subject: Driver for max7221 |
The max7219 is not spi compatible, the max7221 IS the spi display driver.
Please find my code for the spi driver, read it, and if you don't understand something, don't hesitate to ask... (but take ... |
Topic: Mach X usb power problem |
sebdey
Replies: 1
Views: 22512
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Dec 21, 2005 9:45 am Subject: Mach X usb power problem |
Hello,
I am currently experiencing problems regarding USB connection power when pluging in the usb connector of my machX programmer.
Half of the time I get the 'Power supply peak on the USB concentr ... |
|