Author |
Message |
Topic: HD44780 (4bit mode) Problem |
henriquesv
Replies: 2
Views: 3998
|
Forum: General CCS C Discussion Posted: Tue Sep 20, 2011 3:46 am Subject: HD44780 (4bit mode) Problem |
Thanks PCM! |
Topic: HD44780 (4bit mode) Problem |
henriquesv
Replies: 2
Views: 3998
|
Forum: General CCS C Discussion Posted: Mon Sep 19, 2011 6:32 pm Subject: HD44780 (4bit mode) Problem |
Hello everyone, I've been into some problem with ccs compiler...
Can't it parse a const char pointer on PIC16? Perhaps is doesn't have direct access to rom? Am I being reasonable?
Here's a piece ... |
Topic: Fast "SPI like" using assembly inside C |
henriquesv
Replies: 10
Views: 10804
|
Forum: General CCS C Discussion Posted: Wed Aug 24, 2011 4:28 pm Subject: Fast "SPI like" using assembly inside C |
Bottom line:
I want to thank you all for the tips and tricks.
Using Stopwatch I got:
391us - Using for looping.
263us - Using spi_xfer() CCS api.
And as PCM programmer told us... unrolling the ... |
Topic: Fast "SPI like" using assembly inside C |
henriquesv
Replies: 10
Views: 10804
|
Forum: General CCS C Discussion Posted: Wed Aug 24, 2011 10:20 am Subject: Fast "SPI like" using assembly inside C |
Hi temtronic,
You're right. I even changed the topic's name.
Ttelmah,
What I really did was to check every instruction used for a code block and then taking in account the number of cycles each o ... |
Topic: Fast "SPI like" using assembly inside C |
henriquesv
Replies: 10
Views: 10804
|
Forum: General CCS C Discussion Posted: Wed Aug 24, 2011 6:14 am Subject: Fast "SPI like" using assembly inside C |
Ok, here's the whole scenario:
First I sent you guys just a pick of the whole. I thought that solving a small problem would do for something bigger.
The thing is: I don't really have to follow ... |
Topic: Fast "SPI like" using assembly inside C |
henriquesv
Replies: 10
Views: 10804
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2011 3:26 pm Subject: Fast "SPI like" using assembly inside C |
I want to thank both of you. Great strategies indeed.
I'll make a few tests, compare the results and let you know.
Best regards. |
Topic: Fast "SPI like" using assembly inside C |
henriquesv
Replies: 10
Views: 10804
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2011 10:07 am Subject: Fast "SPI like" using assembly inside C |
Hello everyone.
I am working with some multiplexing hardware and I am sending serial bits to a shift register.
The thing is: pulling this data out is taking too much time of my window:
... |
Topic: Changing baud rates, parity, etc. at run time? |
henriquesv
Replies: 14
Views: 27821
|
Forum: General CCS C Discussion Posted: Sun Feb 20, 2011 9:16 am Subject: Changing baud rates, parity, etc. at run time? |
Hello Joe,
Would you mind telling me a bit more about your code? Did you manage to do this in some other way?
Still lacking:
tx_enable
and
not_serial_config_port
Where do they come from?
... |
|