Author |
Message |
Topic: Best approach to variable software PWM generator |
dgg91
Replies: 4
Views: 11249
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2016 8:02 am Subject: Best approach to variable software PWM generator |
I need a pwm software generator with a frequency range from 10Hz to 500Hz and a progammable duty from 0% to 100%
Im happy with a duty jumps of even 5%(5%-10%-15%..)
Im using a PIC18F2550 with 2 ... |
Topic: PIC18LF4550 not recognized - USB comm [SOLVED] |
dgg91
Replies: 9
Views: 16949
|
Forum: General CCS C Discussion Posted: Thu Jan 14, 2016 6:56 am Subject: PIC18LF4550 not recognized - USB comm [SOLVED] |
The speed was OK, the problem was a bad connection in D+.
Got it to work, thanks for your help. |
Topic: PIC18LF4550 not recognized - USB comm [SOLVED] |
dgg91
Replies: 9
Views: 16949
|
Forum: General CCS C Discussion Posted: Tue Jan 12, 2016 5:50 am Subject: PIC18LF4550 not recognized - USB comm [SOLVED] |
I already have a 4.7 uF electrolytic capacitor near the connector, i read that 10uF its the limit for usb communication so i went for a lower value
Wire lenght 1m, both the connector and D+&D- ... |
Topic: PIC18LF4550 not recognized - USB comm [SOLVED] |
dgg91
Replies: 9
Views: 16949
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2016 10:43 am Subject: PIC18LF4550 not recognized - USB comm [SOLVED] |
I'm using 20Mhz external crystal.
The board is bus powered only, +5V from the usb. I'm using the LF version because its the one I have but since the supply is +5V i think it should operate like the ' ... |
Topic: PIC18LF4550 not recognized - USB comm [SOLVED] |
dgg91
Replies: 9
Views: 16949
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2016 9:33 am Subject: PIC18LF4550 not recognized - USB comm [SOLVED] |
I'm using W7 64 bits.
i didn't still any driver because windows won't even recognize the device. |
Topic: PIC18LF4550 not recognized - USB comm [SOLVED] |
dgg91
Replies: 9
Views: 16949
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2016 9:20 am Subject: PIC18LF4550 not recognized - USB comm [SOLVED] |
First of all the mcu is the LF version but i think its full compatible with 18f4550.
So I'm trying to communicate via usb but windows wont recognize the device.
I checked the hardware, D+ & ... |
Topic: Read_adc() in two 8 bits variables for a 10 bit ADC conv |
dgg91
Replies: 2
Views: 7577
|
Forum: General CCS C Discussion Posted: Mon Nov 16, 2015 8:58 am Subject: Read_adc() in two 8 bits variables for a 10 bit ADC conv |
Thx for your help, i found a solution using make8 function as you said, but i will take into account the generic & efficient ways as well. |
Topic: Read_adc() in two 8 bits variables for a 10 bit ADC conv |
dgg91
Replies: 2
Views: 7577
|
Forum: General CCS C Discussion Posted: Mon Nov 16, 2015 5:29 am Subject: Read_adc() in two 8 bits variables for a 10 bit ADC conv |
Im doing a 10bit adc conversion using PIC18F4550, and trying to send the data by USB to PC, so since USB admits 8bit data packets, i want to divide the value = read_adc() variable into two, the low an ... |
|