Author |
Message |
Topic: 18F45K22 ADC vs DAC |
aviarunash
Replies: 6
Views: 16344
|
Forum: General CCS C Discussion Posted: Mon Dec 24, 2018 2:42 am Subject: Thank you |
Hi All
Thank you for your reply. DAC output is still not good when shifting 3 bits, whereas the PWM output is far more better than DAC. However, I have comeup with an other problem in turning ON/O ... |
Topic: 18F45K22 ADC vs DAC |
aviarunash
Replies: 6
Views: 16344
|
Forum: General CCS C Discussion Posted: Tue Dec 18, 2018 1:48 am Subject: 18F45K22 ADC vs DAC |
Hi All
I am not trying anything complex, just working to read the ADC and output it to the DAC with the following code. Running at 64Mhz Internal Clock.
#include <18F45K22.h>
#device A ... |
Topic: Unexpected Restart of 18F45K22 |
aviarunash
Replies: 5
Views: 14944
|
Forum: General CCS C Discussion Posted: Sat Nov 17, 2018 3:55 am Subject: Unexpected Restart of 18F45K22 |
Regarding Stack Size:
ROM used: 2496 bytes (8%)
Largest free fragment is 30268
RAM used: 110 (7%) at main() level
130 (8%) worst case
Stack used: 4 locations (3 in main + 1 for interrupts)
... |
Topic: Unexpected Restart of 18F45K22 |
aviarunash
Replies: 5
Views: 14944
|
Forum: General CCS C Discussion Posted: Sat Nov 17, 2018 3:53 am Subject: Unexpected Restart of 18F45K22 |
Thank you for your reply.
I have enabled the fuse STVREN as you said. But still the problem exists. Haven't left any interrupts without handler. Just have the two UART interrupts. This is my main rou ... |
Topic: Unexpected Restart of 18F45K22 |
aviarunash
Replies: 5
Views: 14944
|
Forum: General CCS C Discussion Posted: Thu Nov 15, 2018 9:39 pm Subject: Unexpected Restart of 18F45K22 |
Hi All,
I am using 18F45K22, with two uart enabled (compiler 5.008). Have an external 20Mhz Crystal. The below are the fuse settings. The problem is that, when I use more delays or add an additiona ... |
|