Author |
Message |
Topic: Complementary outputs with PWM with dsPIC33EP |
alan
Replies: 8
Views: 3031
|
Forum: General CCS C Discussion Posted: Tue Feb 04, 2025 1:44 am Subject: Complementary outputs with PWM with dsPIC33EP |
From the manual
setup_hspwm_unit( )
Syntax:
setup_hspwm_unit(unit, mode, |
Topic: PCWH compiler issue |
alan
Replies: 11
Views: 10321
|
Forum: General CCS C Discussion Posted: Sat Jul 13, 2024 8:52 am Subject: PCWH compiler issue |
MPLAB X require that you right click the file in the header and click on "exclude from file(s) from current configuration" otherwise it includes it automatically |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Wed Jun 19, 2024 5:21 am Subject: SOLVED: PIC18F47K40 strange behaviour |
I can with all confidence say, I DO have flashing LED's in my bin  |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2024 10:00 am Subject: SOLVED: PIC18F47K40 strange behaviour |
Or might be something silly like a hidden short in the board.
Something silly after a day wasted  |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2024 9:59 am Subject: SOLVED: PIC18F47K40 strange behaviour |
I am pulling my hair out now. Supplier gave my flashing LED's  |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2024 8:51 am Subject: SOLVED: PIC18F47K40 strange behaviour |
Just verified, not a chip restarting added the following code
while (TRUE) {
output_toggle(PIN_A7);
delay_ms(1);
And measure 500Hz Signal on A7, tried ... |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2024 8:15 am Subject: SOLVED: PIC18F47K40 strange behaviour |
No change on board.
Verify 100%
Nice, got 200 of these chips. However I think if it were chips I would probably have pick up something on the Microchip forums by this time
Everything seems to b ... |
Topic: SOLVED: PIC18F47K40 strange behaviour |
alan
Replies: 11
Views: 10365
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2024 3:29 am Subject: SOLVED: PIC18F47K40 strange behaviour |
Good day all
I am stumped by this PIC.
I have a LED on PIN A5 with 470R. With the following code the LED flash at a 1.8Hz rate irrespective of the delay value.
This board has been in production fo ... |
Topic: 18LF25k40 does not go into full sleep mode |
alan
Replies: 25
Views: 24490
|
Forum: General CCS C Discussion Posted: Fri Apr 26, 2024 1:09 am Subject: 18LF25k40 does not go into full sleep mode |
Just one pullup at 10k and 3V is consuming 300uA |
Topic: Header file losed |
alan
Replies: 6
Views: 9097
|
Forum: General CCS C Discussion Posted: Tue Mar 26, 2024 4:36 am Subject: Header file losed |
Contact CCS for the file |
Topic: SOLVED: PIC16F18025 |
alan
Replies: 5
Views: 10851
|
Forum: General CCS C Discussion Posted: Fri Aug 18, 2023 12:15 am Subject: SOLVED PIC16F18025 |
Thanks Ttelmah
Seems something happened in MPLAB and after reboot, it happily toggles my pin.
When I recompiled, it want to reload the file as it changed, but my guess is it never reloaded the fil ... |
Topic: SOLVED: PIC16F18025 |
alan
Replies: 5
Views: 10851
|
Forum: General CCS C Discussion Posted: Thu Aug 17, 2023 11:37 am Subject: SOLVED: PIC16F18025 |
Thanks Ttelmah
Not the problem, behaviour the same.
#include <16F18025.h>
#device ADC=10
#FUSES NOWDT //Watch Dog Timer
#FUSES NOBROWNOUT //No brownou ... |
Topic: SOLVED: PIC16F18025 |
alan
Replies: 5
Views: 10851
|
Forum: General CCS C Discussion Posted: Thu Aug 17, 2023 10:29 am Subject: SOLVED: PIC16F18025 |
I can't seem to get this PIC to work.
Following code does not toggle pin. Looks like there are pulses of 500us every 2 sec, like a watchdog timeout. Any ideas please.
PCM Compiler Version 5.116
... |
Topic: Ccs c language question |
alan
Replies: 11
Views: 26880
|
Forum: General CCS C Discussion Posted: Mon Jun 12, 2023 11:27 pm Subject: Ccs c language question |
Nobody here are going to do your project for you.
Show code you wrote and we will try and help you fix problems.
DON'T put code from a random website here and expect help.
https://aki-technical.b ... |
Topic: SOLVED: i2c_transfer not working |
alan
Replies: 6
Views: 17235
|
Forum: General CCS C Discussion Posted: Thu Jun 01, 2023 6:46 am Subject: SOLVED: i2c_transfer not working |
Got it working.
I know the old hands here don't like the #USE fast_io, but I do. Previously you need to set the i2c pins as inputs to work, yet it looks like when using dedicated i2c you have to set ... |
|