Author |
Message |
Topic: CCS C Compiler editor collapse/expand |
nickbd
Replies: 5
Views: 21989
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2022 1:16 pm Subject: Being able to collapse sections would be really useful |
Would be really nice in the Editor to be able to collapse sections especially when developing code where there are many sections with either debugging code or alternate sections being tested. Also ad ... |
Topic: interrupts UART2 of pic18f46k42 no work |
nickbd
Replies: 13
Views: 29492
|
Forum: General CCS C Discussion Posted: Sun Jan 05, 2020 2:27 pm Subject: interrupts UART2 of pic18f46k42 no work |
Oh, OK. Thanks! I hadn't looked down to see the pin_select for RX2, TX2. I want to have a 3rd UART so software UART (I am using both HW UARTs) but also using a buffer and hence need to use external ... |
Topic: interrupts UART2 of pic18f46k42 no work |
nickbd
Replies: 13
Views: 29492
|
Forum: General CCS C Discussion Posted: Sun Jan 05, 2020 12:05 pm Subject: Port D on 46K42 doesn't have interrupts |
Maybe I missed something but on the 18F46K42 Port D doesn't have any interrupts. The first UART in the original example is on C6, C7 so is a hardware UART so has built in interrupt but for the second ... |
Topic: i2c_transfer for LTC2635 |
nickbd
Replies: 17
Views: 34690
|
Forum: General CCS C Discussion Posted: Mon Jan 14, 2019 2:54 pm Subject: i2c_transfer for LTC2635 |
In the description of i2c_transfer_out it says
wData - Pointer to data to transfer to device.
wCount - Number of bytes to transfer to device.
Also in the CCS example ex_i2c_master_hw_k42.c where yo ... |
Topic: i2c_transfer for LTC2635 |
nickbd
Replies: 17
Views: 34690
|
Forum: General CCS C Discussion Posted: Mon Jan 14, 2019 2:06 pm Subject: i2c_transfer for LTC2635 |
Interesting about possible problems for odd byte counts since I have to use the wCount of 4 instead of 3 to transfer the 3 bytes. If it is set to 3 which is the correct value only 2 bytes are sent. |
Topic: i2c_transfer for LTC2635 |
nickbd
Replies: 17
Views: 34690
|
Forum: General CCS C Discussion Posted: Mon Jan 14, 2019 10:53 am Subject: i2c_transfer for LTC2635 |
Thanks for all the info. Just to clarify. I have a 20MHz xtal (not 10MHz-typo). Using the PIC18F46K42 uproc. This is 5V uproc. Also LTC2635 is running at 5V. I have my own board design so softwa ... |
Topic: i2c_transfer for LTC2635 |
nickbd
Replies: 17
Views: 34690
|
Forum: General CCS C Discussion Posted: Sun Jan 13, 2019 10:39 pm Subject: i2c_transfer for LTC2635 |
I am using the LTC2635 4Ch DAC (10bit version). I have this working properly with MikroC but with CCS 5.081 it works with the internal 8MHz clock but not using the 10MHz external crystal I'm using. ... |
|