Author |
Message |
Topic: Lora Module Communication |
avjarun
Replies: 3
Views: 1145
|
Forum: General CCS C Discussion Posted: Tue Sep 24, 2024 10:57 pm Subject: Lora Module Communication |
Hi All.
I am trying to establish a communication with Lora SX1278 module with SPI. I am using 18F18323 (Internal Crystal). I have a problem with the below SPI communication functions. It doesn't see ... |
Topic: Timer in Sleep Mode |
avjarun
Replies: 4
Views: 5147
|
Forum: General CCS C Discussion Posted: Mon Dec 25, 2023 4:42 am Subject: Timer in Sleep Mode |
A quick question. With the following settings.
#fuses RSTOSC_LFINTRC,NOBROWNOUT,WDT_SW,MCLR,PUT,NOCLKOUT
#use delay(clock=1000000)
setup_wdt(WDT_8S);
setup_timer_0(T0_LFINTOSC | T0_INPUT_ ... |
Topic: Timer in Sleep Mode |
avjarun
Replies: 4
Views: 5147
|
Forum: General CCS C Discussion Posted: Mon Dec 25, 2023 4:21 am Subject: Timer in Sleep Mode |
Thank you for your response. I will check that out. I was trying to work on
#byte CPUDOZE = 0x918
#bit IDLEMODE = CPUDOZE.7
#bit DOZEN = CPUDOZE.6
It seems to be working, but consumes mo ... |
Topic: Timer in Sleep Mode |
avjarun
Replies: 4
Views: 5147
|
Forum: General CCS C Discussion Posted: Sun Dec 24, 2023 9:43 pm Subject: Timer in Sleep Mode |
Hello All.
I am working with 16F18323 and I am wondering if someone could advise me on the following questions.
1. Does the chip support enabling a timer during sleep?
2. During sleep it consum ... |
Topic: I2C PROBLEM - 18F46K22 |
avjarun
Replies: 10
Views: 22205
|
Forum: General CCS C Discussion Posted: Tue Sep 13, 2022 9:20 pm Subject: I2C PROBLEM - 18F46K22 |
Dear PCM
In 18F4620, it was clocked @ 4 Mhz, Internal Crystal
The same is done in PIC18F46K22
As you pointed out, the code shared in the beginning was used in 18F4620. Although the code was wro ... |
Topic: I2C PROBLEM - 18F46K22 |
avjarun
Replies: 10
Views: 22205
|
Forum: General CCS C Discussion Posted: Sun Sep 11, 2022 9:57 am Subject: Update |
I have an update. In slave the declaration I have written for GEN Call and I2C is
#byte INTCON = 0xFF2
#byte SSPCON2 = 0xFC5
#bit GCEN = SSPCON2.7
#bit ACKDT=SSPCON2.5
#byte SSPADD = 0xFC8
# ... |
Topic: I2C PROBLEM - 18F46K22 |
avjarun
Replies: 10
Views: 22205
|
Forum: General CCS C Discussion Posted: Sun Sep 11, 2022 9:46 am Subject: I2C PROBLEM - 18F46K22 |
Thank you for your valuable time. I have made the changes as follows and I am having 1.2K as pull up. However, I still have some difficulties in sorting out a few issues.
#fuses NOWDT,NOPLLEN,NOPUT ... |
Topic: I2C PROBLEM - 18F46K22 |
avjarun
Replies: 10
Views: 22205
|
Forum: General CCS C Discussion Posted: Fri Sep 09, 2022 12:25 am Subject: I2C PROBLEM - 18F46K22 |
Hello All,
I have been using PIC18F4620 as an I2C SLAVE so far with no issues at all. However, when I migrated to PIC18F46K22 I am facing quite a lot of issues. Sometimes it works and in most cases ... |
Topic: SPI INTERFACE |
avjarun
Replies: 3
Views: 14177
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2022 6:18 am Subject: SPI INTERFACE |
Firstly, I thank you so much for your quick reply. Noted on your comments and will remember your words. Made the modifications as below.... but still... I am using the following PINS on PORTC and not ... |
Topic: SPI INTERFACE |
avjarun
Replies: 3
Views: 14177
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2022 3:17 am Subject: SPI INTERFACE |
Hi All,
I am trying to interface with AD5421 using SPI which is of 24 bits. I have written the code for reading and writing registers. However, when I write a value to the control register and read ... |
Topic: Need Help in Selecting Compiler |
avjarun
Replies: 3
Views: 12967
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2021 4:42 am Subject: Need Help in Selecting Compiler |
Thank you all. Will go ahead with it. |
Topic: Need Help in Selecting Compiler |
avjarun
Replies: 3
Views: 12967
|
Forum: General CCS C Discussion Posted: Sun Mar 28, 2021 11:05 pm Subject: Need Help in Selecting Compiler |
Hi All,
I am planning to purchase CCS compiler and I would like to know if the COMMAND LINE version will be suitable for using it with MPLAB IDE? And yes, I do not need the CCS IDE.
Secondly, a ... |
|