Author |
Message |
Topic: Missing information on Identifiers tab |
kerplatz
Replies: 2
Views: 9296
|
Forum: General CCS C Discussion Posted: Sun Nov 19, 2017 8:36 pm Subject: Missing information on Identifiers tab |
My build is 5.064.
I have been using this compiler for over a year and I don't remember it ever giving me that stuff. I suspect it is because I am using multiple compilation which just means there ... |
Topic: Missing information on Identifiers tab |
kerplatz
Replies: 2
Views: 9296
|
Forum: General CCS C Discussion Posted: Thu Nov 16, 2017 12:08 pm Subject: Missing information on Identifiers tab |
Does anyone know why the Identifiers Tab on the left side of the IDE is not populated? I do not remember ever seeing any Variable, Function, #define, etc populate that tab. Almost every other IDE has ... |
Topic: SPI transfer of 14 bits |
kerplatz
Replies: 7
Views: 14032
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 12:12 pm Subject: SPI transfer of 14 bits |
Problem solved. It was me. I was using three #defines for use in a flag to tell which of the 3 #USE SPI configurations I was using so as to not have to init the SPI hardware if it was already in that ... |
Topic: SPI transfer of 14 bits |
kerplatz
Replies: 7
Views: 14032
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 9:30 am Subject: SPI transfer of 14 bits |
So I tried this using the #USE SPI and it did not work. Still getting 16 clock cycles. Contacted tech support. If any one knows why, please let me know. In the mean time I will be bit banging this, an ... |
Topic: SPI transfer of 14 bits |
kerplatz
Replies: 7
Views: 14032
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 9:02 am Subject: SPI transfer of 14 bits |
This is good. Although I was willing to do the bit banging, I had reasons for not wanting to do it. Still not sure I can still use the #USE SPI method, but I am going to give it a try. For those that ... |
Topic: SPI transfer of 14 bits |
kerplatz
Replies: 7
Views: 14032
|
Forum: General CCS C Discussion Posted: Sun Oct 29, 2017 6:50 pm Subject: SPI transfer of 14 bits |
Hi,
I have a unique problem. Most chips that I have ever written to or read from used a number of bits that was a multiple of 8 until now. I have this chip (PE46130) from Peregrine Semiconductor and ... |
Topic: General question about USB to PIC24 communication |
kerplatz
Replies: 5
Views: 12250
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2017 10:27 am Subject: General question about USB to PIC24 communication |
Hi,
We currently have a board design where we use a FTDI chip that provides a USB to I2C bridge for communications to our PIC24 chip. It is giving us trouble sometimes and we are considering other po ... |
Topic: cpu reset |
kerplatz
Replies: 4
Views: 13510
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2016 8:54 am Subject: cpu reset |
I now have some things to try. The first thing will be to use the Program button in PCD above the Run section on the toolbar and not the Build & Run button above the Compile section on the toolbar ... |
Topic: cpu reset |
kerplatz
Replies: 4
Views: 13510
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2016 9:40 am Subject: cpu reset |
I have an interesting problem with performing a reset. When I do either one of -- reset_cpu() or #asm RESET #endasm -- the processor does only part of the process which is to goto 0 and then it jumps ... |
Topic: i2c_slaveaddr() function behavior |
kerplatz
Replies: 8
Views: 15908
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 11:40 am Subject: i2c_slaveaddr() function behavior |
OK, so I removed the BAUD from my #USE_I2C setting. I get that the slave is dependent upon the master clock so this has no effect. But this is not my problem. The value contained in the I2CXADD is the ... |
Topic: i2c_slaveaddr() function behavior |
kerplatz
Replies: 8
Views: 15908
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 8:38 am Subject: i2c_slaveaddr() function behavior |
Here is what the .lst file gives for those three lines of code. I will now go and figure out what it is doing.
.................... // Read the hex switches.
.................... i2c_init ... |
Topic: i2c_slaveaddr() function behavior |
kerplatz
Replies: 8
Views: 15908
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 8:31 am Subject: i2c_slaveaddr() function behavior |
The chip is 24FJ256GA106.h. I am using the other 2 i2c devices to do other things, they are working perfectly, hence why I said nothing about them. PS - They never leave the board. (I am doing R & ... |
Topic: i2c_slaveaddr() function behavior |
kerplatz
Replies: 8
Views: 15908
|
Forum: General CCS C Discussion Posted: Thu Nov 10, 2016 5:03 pm Subject: i2c_slaveaddr() function behavior |
This did not work.
I set #use i2c((SLAVE, I2C3, address=32, FAST=400000, FORCE_HW, stream=SYSTEM_BUS). Then in an initialization function I used this code--
i2c_init(SYSTEM_BUS, 0);
i2c_slavead ... |
Topic: i2c_slaveaddr() function behavior |
kerplatz
Replies: 8
Views: 15908
|
Forum: General CCS C Discussion Posted: Thu Nov 10, 2016 9:21 am Subject: i2c_slaveaddr() function behavior |
I am having a problem understanding the behavior of the i2c_slaveaddr() function. I am using the most recent compiler version - 5.064. I need to set the i2c address of a board using hardware; the syst ... |
Topic: Peripheral Pin Select for 24FJ256GA106 |
kerplatz
Replies: 7
Views: 15678
|
Forum: General CCS C Discussion Posted: Thu Nov 10, 2016 8:50 am Subject: Peripheral Pin Select for 24FJ256GA106 |
I want to give my final feedback for this thread. The problem did turn out to be hardware. The solution was to remove a solder bridge on a component where the spi clock was shorted to the CS line for ... |
|