Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Discussion Groups

Discussion Groups | Piclist | A few questions...

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

A few questions... - Paul L - Mar 18 8:46:21 2007


In the past i have used the 16 series of PIC, for a project i am looking at the 18 series, is there much difference between the two programming wise? The 18s seem more complex

Also, looking for a pic with more than one PWM output, used the filter on the Microchip site and it came up with PIC16F690, but after looking at the datasheet it would seem that the 4 it says is actually 1 but can be used for Full Bridge PWM, so all the outputs run at the same duty cycle, i was after multiple PWM at there own speeds. Do any PICs have this?

Thanks


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Harold Hallikainen - Mar 18 12:18:22 2007


> In the past i have used the 16 series of PIC, for a project i am looking
> at the 18 series, is there much difference between the two programming
> wise? The 18s seem more complex

16 code will generally run on the 18 series. Things to watch our for are:

1. Watch for differences in operation of the carry bit in incf and decf .
This caught me once.

2. An instruction takes two or four addresses. Avoid the use of stuff like
$-1 in a goto loop. Use a label instead. In jump tables, use the bra (2
addresses) instruction instead of goto (4 addresses) and do a shift left
of the offset into the table since it's two addresses per bra instead of
the 1 address per goto as in the 16.

3. You can continue to use retlw tables to read data from program memory,
but use of table reads is more efficient.

In general, it's easier to get things done on the 18 than on the 16, in my
opinion.

Harold
>
> Also, looking for a pic with more than one PWM output, used the filter on
> the Microchip site and it came up with PIC16F690, but after looking at the
> datasheet it would seem that the 4 it says is actually 1 but can be used
> for Full Bridge PWM, so all the outputs run at the same duty cycle, i was
> after multiple PWM at there own speeds. Do any PICs have this?
>
> Thanks
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - dlc - Mar 18 12:58:25 2007

There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am looking
> at the 18 series, is there much difference between the two programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the filter
> on the Microchip site and it came up with PIC16F690, but after looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 18 14:49:49 2007

Hey
Found a 18 with 5 PWM it says, but then looking at the datasheet it would seem that there is really only 2? At least 2 individual channels. I'm looking at the PIC18F4550.
I am limiting my self as i can only use DIL packages....

----- Original Message -----
From: dlc
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 4:58 PM
Subject: Re: [piclist] A few questions...
There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am looking
> at the 18 series, is there much difference between the two programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the filter
> on the Microchip site and it came up with PIC16F690, but after looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - dlc - Mar 18 17:47:25 2007

Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many CCP
and ECCP modules there are. One module = 1 PWM channel, often with many
pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
less. Actually, I think it is exactly at 28 pins.

DLC

Paul L wrote:
> Hey
> Found a 18 with 5 PWM it says, but then looking at the datasheet it
> would seem that there is really only 2? At least 2 individual channels.
> I'm looking at the PIC18F4550.
> I am limiting my self as i can only use DIL packages....
>
>
> ----- Original Message -----
> *From:* dlc
> *To:* p...@yahoogroups.com
> *Sent:* Sunday, March 18, 2007 4:58 PM
> *Subject:* Re: [piclist] A few questions...
>
> There is quite a bit of difference, all of it good.
>
> 18F over 16F
> Most can use bootloaders (self-writable FLASH)
> No Program code space banking needed
> 40-46MHz top clock speed
> More on-chip peripherals usually
> More RAM/Code space available
>
> Many PICs with 28 pins or more have two PWM channels. Some of the 18F
> parts actually have three or four.
>
> DLC
>
> Paul L wrote:
> > In the past i have used the 16 series of PIC, for a project i am
> looking
> > at the 18 series, is there much difference between the two
> programming
> > wise? The 18s seem more complex
> >
> > Also, looking for a pic with more than one PWM output, used the
> filter
> > on the Microchip site and it came up with PIC16F690, but after
> looking
> > at the datasheet it would seem that the 4 it says is actually 1 but
> > can be used for Full Bridge PWM, so all the outputs run at the
> same duty
> > cycle, i was after multiple PWM at there own speeds. Do any PICs
> have this?
> >
> > Thanks
> > --
> -------------------------------------------------
> Dennis Clark TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - =?UTF-8?B?ScWfxLFrIEJPRFVS?= - Mar 18 18:12:32 2007


Hi

18f4431 has 4 individually programmable pwm channels. We've just used
that chip on a project and it seem to be working fine. 600 mils DIP
package is available for it. Message me for further info.

regards

Isik
dlc wrote:

>Microchip write a LOT of nonsense about their PWMs. To _really_ find
>the number of PWM channels (not just pins) then look for how many CCP
>and ECCP modules there are. One module = 1 PWM channel, often with many
>pins attached to it. If you use the parametric search on the MC site
>you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
>less. Actually, I think it is exactly at 28 pins.
>
>DLC
>
>Paul L wrote:
>
>
>>Hey
>>Found a 18 with 5 PWM it says, but then looking at the datasheet it
>>would seem that there is really only 2? At least 2 individual channels.
>>I'm looking at the PIC18F4550.
>>I am limiting my self as i can only use DIL packages....
>> ----- Original Message -----
>> *From:* dlc
>> *To:* p...@yahoogroups.com
>> *Sent:* Sunday, March 18, 2007 4:58 PM
>> *Subject:* Re: [piclist] A few questions...
>>
>> There is quite a bit of difference, all of it good.
>>
>> 18F over 16F
>> Most can use bootloaders (self-writable FLASH)
>> No Program code space banking needed
>> 40-46MHz top clock speed
>> More on-chip peripherals usually
>> More RAM/Code space available
>>
>> Many PICs with 28 pins or more have two PWM channels. Some of the 18F
>> parts actually have three or four.
>>
>> DLC
>>
>> Paul L wrote:
>> > In the past i have used the 16 series of PIC, for a project i am
>> looking
>> > at the 18 series, is there much difference between the two
>> programming
>> > wise? The 18s seem more complex
>> >
>> > Also, looking for a pic with more than one PWM output, used the
>> filter
>> > on the Microchip site and it came up with PIC16F690, but after
>> looking
>> > at the datasheet it would seem that the 4 it says is actually 1 but
>> > can be used for Full Bridge PWM, so all the outputs run at the
>> same duty
>> > cycle, i was after multiple PWM at there own speeds. Do any PICs
>> have this?
>> >
>> > Thanks
>> >
>>
>> --
>> -------------------------------------------------
>> Dennis Clark TTT Enterprises
>> www.techtoystoday.com
>> -------------------------------------------------
>>
>>
>


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 18 21:46:15 2007

Thanks for the ic number, just looking at datasheet now - looks a bit complicated! But i'll have a read!
Cheers
----- Original Message -----
From: Isik BODUR
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 10:08 PM
Subject: Re: [piclist] A few questions...

Hi

18f4431 has 4 individually programmable pwm channels. We've just used that chip on a project and it seem to be working fine. 600 mils DIP package is available for it. Message me for further info.

regards

Isik
dlc wrote:

Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many CCP
and ECCP modules there are. One module = 1 PWM channel, often with many
pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
less. Actually, I think it is exactly at 28 pins.

DLC

Paul L wrote:
Hey
Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual channels.
I'm looking at the PIC18F4550.
I am limiting my self as i can only use DIL packages....

----- Original Message -----
*From:* dlc
*To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
*Subject:* Re: [piclist] A few questions...

There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am
looking
> at the 18 series, is there much difference between the two
programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the
filter
> on the Microchip site and it came up with PIC16F690, but after
looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the
same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs
have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 19 19:17:13 2007

Does anyone have a good website with a quick start guide for the 18 series please? THanks
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 11:45 PM
Subject: Re: [piclist] A few questions...

Thanks for the ic number, just looking at datasheet now - looks a bit complicated! But i'll have a read!
Cheers
----- Original Message -----
From: Isik BODUR
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 10:08 PM
Subject: Re: [piclist] A few questions...

Hi

18f4431 has 4 individually programmable pwm channels. We've just used that chip on a project and it seem to be working fine. 600 mils DIP package is available for it. Message me for further info.

regards

Isik
dlc wrote:

Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many CCP
and ECCP modules there are. One module = 1 PWM channel, often with many
pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
less. Actually, I think it is exactly at 28 pins.

DLC

Paul L wrote:
Hey
Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual channels.
I'm looking at the PIC18F4550.
I am limiting my self as i can only use DIL packages....

----- Original Message -----
*From:* dlc
*To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
*Subject:* Re: [piclist] A few questions...

There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am
looking
> at the 18 series, is there much difference between the two
programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the
filter
> on the Microchip site and it came up with PIC16F690, but after
looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the
same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs
have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 20 17:06:46 2007

Hey!
So far i have got an LED blinking on the PIC18F but so far i really like the 18F, i'm looking forward to being able to use the MOVFF! ;-)
Its nice that there are no Banks to select, a lot easier to use :o)

Oh well, upwards and onwards from LEDS!
(Still get a buzz from seeing a LED go on! LOL)

Paul
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Monday, March 19, 2007 11:17 PM
Subject: Re: [piclist] A few questions...

Does anyone have a good website with a quick start guide for the 18 series please? THanks
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 11:45 PM
Subject: Re: [piclist] A few questions...

Thanks for the ic number, just looking at datasheet now - looks a bit complicated! But i'll have a read!
Cheers
----- Original Message -----
From: Isik BODUR
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 10:08 PM
Subject: Re: [piclist] A few questions...

Hi

18f4431 has 4 individually programmable pwm channels. We've just used that chip on a project and it seem to be working fine. 600 mils DIP package is available for it. Message me for further info.

regards

Isik
dlc wrote:

Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many CCP
and ECCP modules there are. One module = 1 PWM channel, often with many
pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
less. Actually, I think it is exactly at 28 pins.

DLC

Paul L wrote:
Hey
Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual channels.
I'm looking at the PIC18F4550.
I am limiting my self as i can only use DIL packages....

----- Original Message -----
*From:* dlc
*To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
*Subject:* Re: [piclist] A few questions...

There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am
looking
> at the 18 series, is there much difference between the two
programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the
filter
> on the Microchip site and it came up with PIC16F690, but after
looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the
same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs
have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 20 20:13:47 2007

Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but i got a 40Mhz just to try, but it don't seem to work. Do you have to put it in a special mode at all? I would just expect the timer to be 2x as fast?
Thanks
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Tuesday, March 20, 2007 9:00 PM
Subject: Re: [piclist] A few questions...

Hey!
So far i have got an LED blinking on the PIC18F but so far i really like the 18F, i'm looking forward to being able to use the MOVFF! ;-)
Its nice that there are no Banks to select, a lot easier to use :o)

Oh well, upwards and onwards from LEDS!
(Still get a buzz from seeing a LED go on! LOL)

Paul
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Monday, March 19, 2007 11:17 PM
Subject: Re: [piclist] A few questions...

Does anyone have a good website with a quick start guide for the 18 series please? THanks
----- Original Message -----
From: Paul L
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 11:45 PM
Subject: Re: [piclist] A few questions...

Thanks for the ic number, just looking at datasheet now - looks a bit complicated! But i'll have a read!
Cheers
----- Original Message -----
From: Isik BODUR
To: p...@yahoogroups.com
Sent: Sunday, March 18, 2007 10:08 PM
Subject: Re: [piclist] A few questions...

Hi

18f4431 has 4 individually programmable pwm channels. We've just used that chip on a project and it seem to be working fine. 600 mils DIP package is available for it. Message me for further info.

regards

Isik
dlc wrote:

Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many CCP
and ECCP modules there are. One module = 1 PWM channel, often with many
pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
less. Actually, I think it is exactly at 28 pins.

DLC

Paul L wrote:
Hey
Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual channels.
I'm looking at the PIC18F4550.
I am limiting my self as i can only use DIL packages....

----- Original Message -----
*From:* dlc
*To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
*Subject:* Re: [piclist] A few questions...

There is quite a bit of difference, all of it good.

18F over 16F
Most can use bootloaders (self-writable FLASH)
No Program code space banking needed
40-46MHz top clock speed
More on-chip peripherals usually
More RAM/Code space available

Many PICs with 28 pins or more have two PWM channels. Some of the 18F
parts actually have three or four.

DLC

Paul L wrote:
> In the past i have used the 16 series of PIC, for a project i am
looking
> at the 18 series, is there much difference between the two
programming
> wise? The 18s seem more complex
>
> Also, looking for a pic with more than one PWM output, used the
filter
> on the Microchip site and it came up with PIC16F690, but after
looking
> at the datasheet it would seem that the 4 it says is actually 1 but
> can be used for Full Bridge PWM, so all the outputs run at the
same duty
> cycle, i was after multiple PWM at there own speeds. Do any PICs
have this?
>
> Thanks
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - dlc - Mar 20 23:10:30 2007

Yes,

To get 40MHz you need to use a 10MHz crystal or oscillator and the X4
PLL setting. You can't use a 40MHz crystal. The speed up is directly
proportional. :) Another nice thing about the 18F series. Now if
Microchip could just get rid of that 4 stage pipeline and get single
cycle executes...

DLC

Paul L wrote:
> Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but i
> got a 40Mhz just to try, but it don't seem to work. Do you have to put
> it in a special mode at all? I would just expect the timer to be 2x as fast?
> Thanks
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Tuesday, March 20, 2007 9:00 PM
> *Subject:* Re: [piclist] A few questions...
>
> Hey!
> So far i have got an LED blinking on the PIC18F but so far i really
> like the 18F, i'm looking forward to being able to use the MOVFF! ;-)
> Its nice that there are no Banks to select, a lot easier to use :o)
>
> Oh well, upwards and onwards from LEDS!
> (Still get a buzz from seeing a LED go on! LOL)
>
> Paul
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Monday, March 19, 2007 11:17 PM
> *Subject:* Re: [piclist] A few questions...
>
> Does anyone have a good website with a quick start guide for the
> 18 series please? THanks
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Sunday, March 18, 2007 11:45 PM
> *Subject:* Re: [piclist] A few questions...
>
> Thanks for the ic number, just looking at datasheet now -
> looks a bit complicated! But i'll have a read!
> Cheers
>
> ----- Original Message -----
> *From:* Işık BODUR
> *To:* p...@yahoogroups.com
>
> *Sent:* Sunday, March 18, 2007 10:08 PM
> *Subject:* Re: [piclist] A few questions...
> Hi
>
> 18f4431 has 4 individually programmable pwm channels.
> We've just used that chip on a project and it seem to be
> working fine. 600 mils DIP package is available for it.
> Message me for further info.
>
> regards
>
> Isik
> dlc wrote:
>
>>Microchip write a LOT of nonsense about their PWMs. To _really_ find
>>the number of PWM channels (not just pins) then look for how many CCP
>>and ECCP modules there are. One module = 1 PWM channel, often with many
>>pins attached to it. If you use the parametric search on the MC site
>>you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
>>less. Actually, I think it is exactly at 28 pins.
>>
>>DLC
>>
>>Paul L wrote:
>>
>>
>>>Hey
>>>Found a 18 with 5 PWM it says, but then looking at the datasheet it
>>>would seem that there is really only 2? At least 2 individual channels.
>>>I'm looking at the PIC18F4550.
>>>I am limiting my self as i can only use DIL packages....
>>>
>>>
>>> ----- Original Message -----
>>> *From:* dlc
>>> *To:* p...@yahoogroups.com
>>> *Sent:* Sunday, March 18, 2007 4:58 PM
>>> *Subject:* Re: [piclist] A few questions...
>>>
>>> There is quite a bit of difference, all of it good.
>>>
>>> 18F over 16F
>>> Most can use bootloaders (self-writable FLASH)
>>> No Program code space banking needed
>>> 40-46MHz top clock speed
>>> More on-chip peripherals usually
>>> More RAM/Code space available
>>>
>>> Many PICs with 28 pins or more have two PWM channels. Some of the 18F
>>> parts actually have three or four.
>>>
>>> DLC
>>>
>>> Paul L wrote:
>>> > In the past i have used the 16 series of PIC, for a project i am
>>> looking
>>> > at the 18 series, is there much difference between the two
>>> programming
>>> > wise? The 18s seem more complex
>>> >
>>> > Also, looking for a pic with more than one PWM output, used the
>>> filter
>>> > on the Microchip site and it came up with PIC16F690, but after
>>> looking
>>> > at the datasheet it would seem that the 4 it says is actually 1 but
>>> > can be used for Full Bridge PWM, so all the outputs run at the
>>> same duty
>>> > cycle, i was after multiple PWM at there own speeds. Do any PICs
>>> have this?
>>> >
>>> > Thanks
>>> >
>>>
>>> --
>>> -------------------------------------------------
>>> Dennis Clark TTT Enterprises
>>> www.techtoystoday.com
>>> -------------------------------------------------
>>>
>>>
>>>
>>
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - john - Mar 21 0:51:49 2007

The PIC18 I've used had a PLL inside it that you set up and would
multiply a lower
frequency external clock to get 40Mhz
--- In p...@yahoogroups.com, "Paul L" wrote:
>
> Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but
i got a 40Mhz just to try, but it don't seem to work. Do you have to
put it in a special mode at all? I would just expect the timer to be
2x as fast?
> Thanks
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Tuesday, March 20, 2007 9:00 PM
> Subject: Re: [piclist] A few questions...
>
> Hey!
> So far i have got an LED blinking on the PIC18F but so far i
really like the 18F, i'm looking forward to being able to use the
MOVFF! ;-)
> Its nice that there are no Banks to select, a lot easier to use :o)
>
> Oh well, upwards and onwards from LEDS!
> (Still get a buzz from seeing a LED go on! LOL)
>
> Paul
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Monday, March 19, 2007 11:17 PM
> Subject: Re: [piclist] A few questions...
>
> Does anyone have a good website with a quick start guide for the
18 series please? THanks
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Sunday, March 18, 2007 11:45 PM
> Subject: Re: [piclist] A few questions...
>
> Thanks for the ic number, just looking at datasheet now -
looks a bit complicated! But i'll have a read!
> Cheers
> ----- Original Message -----
> From: Isik BODUR
> To: p...@yahoogroups.com
> Sent: Sunday, March 18, 2007 10:08 PM
> Subject: Re: [piclist] A few questions...
>
> Hi
>
> 18f4431 has 4 individually programmable pwm channels. We've
just used that chip on a project and it seem to be working fine. 600
mils DIP package is available for it. Message me for further info.
>
> regards
>
> Isik
> dlc wrote:
>
> Microchip write a LOT of nonsense about their PWMs. To _really_ find
> the number of PWM channels (not just pins) then look for how many CCP
> and ECCP modules there are. One module = 1 PWM channel, often with
many
> pins attached to it. If you use the parametric search on the MC site
> you'll find that there are 20 18F parts with 2 CCP modules at 28
pins or
> less. Actually, I think it is exactly at 28 pins.
>
> DLC
>
> Paul L wrote:
> Hey
> Found a 18 with 5 PWM it says, but then looking at the datasheet it
> would seem that there is really only 2? At least 2 individual channels.
> I'm looking at the PIC18F4550.
> I am limiting my self as i can only use DIL packages....
>
>
> ----- Original Message -----
> *From:* dlc
> *To:* p...@yahoogroups.com
> *Sent:* Sunday, March 18, 2007 4:58 PM
> *Subject:* Re: [piclist] A few questions...
>
> There is quite a bit of difference, all of it good.
>
> 18F over 16F
> Most can use bootloaders (self-writable FLASH)
> No Program code space banking needed
> 40-46MHz top clock speed
> More on-chip peripherals usually
> More RAM/Code space available
>
> Many PICs with 28 pins or more have two PWM channels. Some of
the 18F
> parts actually have three or four.
>
> DLC
>
> Paul L wrote:
> > In the past i have used the 16 series of PIC, for a project i am
> looking
> > at the 18 series, is there much difference between the two
> programming
> > wise? The 18s seem more complex
> >
> > Also, looking for a pic with more than one PWM output, used the
> filter
> > on the Microchip site and it came up with PIC16F690, but after
> looking
> > at the datasheet it would seem that the 4 it says is actually
1 but
> > can be used for Full Bridge PWM, so all the outputs run at the
> same duty
> > cycle, i was after multiple PWM at there own speeds. Do any PICs
> have this?
> >
> > Thanks
> > --
> -------------------------------------------------
> Dennis Clark TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------
>


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: A few questions... - Paul L - Mar 21 3:44:35 2007

Hey

I have found the PLL part on the datasheet, just need a 10Mhz clock now! LOL!

Cheers
----- Original Message -----
From: john
To: p...@yahoogroups.com
Sent: Wednesday, March 21, 2007 4:51 AM
Subject: [piclist] Re: A few questions...
The PIC18 I've used had a PLL inside it that you set up and would
multiply a lower
frequency external clock to get 40Mhz

--- In p...@yahoogroups.com, "Paul L" wrote:
>
> Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but
i got a 40Mhz just to try, but it don't seem to work. Do you have to
put it in a special mode at all? I would just expect the timer to be
2x as fast?
> Thanks
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Tuesday, March 20, 2007 9:00 PM
> Subject: Re: [piclist] A few questions...
>
>
>
> Hey!
> So far i have got an LED blinking on the PIC18F but so far i
really like the 18F, i'm looking forward to being able to use the
MOVFF! ;-)
> Its nice that there are no Banks to select, a lot easier to use :o)
>
> Oh well, upwards and onwards from LEDS!
> (Still get a buzz from seeing a LED go on! LOL)
>
> Paul
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Monday, March 19, 2007 11:17 PM
> Subject: Re: [piclist] A few questions...
>
>
>
> Does anyone have a good website with a quick start guide for the
18 series please? THanks
> ----- Original Message -----
> From: Paul L
> To: p...@yahoogroups.com
> Sent: Sunday, March 18, 2007 11:45 PM
> Subject: Re: [piclist] A few questions...
>
>
>
> Thanks for the ic number, just looking at datasheet now -
looks a bit complicated! But i'll have a read!
> Cheers
> ----- Original Message -----
> From: Isik BODUR
> To: p...@yahoogroups.com
> Sent: Sunday, March 18, 2007 10:08 PM
> Subject: Re: [piclist] A few questions...
>
>
>
> Hi
>
> 18f4431 has 4 individually programmable pwm channels. We've
just used that chip on a project and it seem to be working fine. 600
mils DIP package is available for it. Message me for further info.
>
> regards
>
> Isik
>
>
> dlc wrote:
>
> Microchip write a LOT of nonsense about their PWMs. To _really_ find
> the number of PWM channels (not just pins) then look for how many CCP
> and ECCP modules there are. One module = 1 PWM channel, often with
many
> pins attached to it. If you use the parametric search on the MC site
> you'll find that there are 20 18F parts with 2 CCP modules at 28
pins or
> less. Actually, I think it is exactly at 28 pins.
>
> DLC
>
> Paul L wrote:
> Hey
> Found a 18 with 5 PWM it says, but then looking at the datasheet it
> would seem that there is really only 2? At least 2 individual channels.
> I'm looking at the PIC18F4550.
> I am limiting my self as i can only use DIL packages....
>
>
> ----- Original Message -----
> *From:* dlc
> *To:* p...@yahoogroups.com
> *Sent:* Sunday, March 18, 2007 4:58 PM
> *Subject:* Re: [piclist] A few questions...
>
> There is quite a bit of difference, all of it good.
>
> 18F over 16F
> Most can use bootloaders (self-writable FLASH)
> No Program code space banking needed
> 40-46MHz top clock speed
> More on-chip peripherals usually
> More RAM/Code space available
>
> Many PICs with 28 pins or more have two PWM channels. Some of
the 18F
> parts actually have three or four.
>
> DLC
>
> Paul L wrote:
> > In the past i have used the 16 series of PIC, for a project i am
> looking
> > at the 18 series, is there much difference between the two
> programming
> > wise? The 18s seem more complex
> >
> > Also, looking for a pic with more than one PWM output, used the
> filter
> > on the Microchip site and it came up with PIC16F690, but after
> looking
> > at the datasheet it would seem that the 4 it says is actually
1 but
> > can be used for Full Bridge PWM, so all the outputs run at the
> same duty
> > cycle, i was after multiple PWM at there own speeds. Do any PICs
> have this?
> >
> > Thanks
> >
>
> --
> -------------------------------------------------
> Dennis Clark TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------
>



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Paul L - Mar 21 3:54:48 2007

Thanks for that! Anyone wanna buy a 40Mhz osc?!!!!
----- Original Message -----
From: dlc
To: p...@yahoogroups.com
Sent: Wednesday, March 21, 2007 3:10 AM
Subject: Re: [piclist] A few questions...
Yes,

To get 40MHz you need to use a 10MHz crystal or oscillator and the X4
PLL setting. You can't use a 40MHz crystal. The speed up is directly
proportional. :) Another nice thing about the 18F series. Now if
Microchip could just get rid of that 4 stage pipeline and get single
cycle executes...

DLC

Paul L wrote:
> Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but i
> got a 40Mhz just to try, but it don't seem to work. Do you have to put
> it in a special mode at all? I would just expect the timer to be 2x as fast?
> Thanks
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Tuesday, March 20, 2007 9:00 PM
> *Subject:* Re: [piclist] A few questions...
>
> Hey!
> So far i have got an LED blinking on the PIC18F but so far i really
> like the 18F, i'm looking forward to being able to use the MOVFF! ;-)
> Its nice that there are no Banks to select, a lot easier to use :o)
>
> Oh well, upwards and onwards from LEDS!
> (Still get a buzz from seeing a LED go on! LOL)
>
> Paul
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Monday, March 19, 2007 11:17 PM
> *Subject:* Re: [piclist] A few questions...
>
> Does anyone have a good website with a quick start guide for the
> 18 series please? THanks
>
> ----- Original Message -----
> *From:* Paul L
> *To:* p...@yahoogroups.com
> *Sent:* Sunday, March 18, 2007 11:45 PM
> *Subject:* Re: [piclist] A few questions...
>
> Thanks for the ic number, just looking at datasheet now -
> looks a bit complicated! But i'll have a read!
> Cheers
>
> ----- Original Message -----
> *From:* Işık BODUR
> *To:* p...@yahoogroups.com
>
> *Sent:* Sunday, March 18, 2007 10:08 PM
> *Subject:* Re: [piclist] A few questions...
>
>
> Hi
>
> 18f4431 has 4 individually programmable pwm channels.
> We've just used that chip on a project and it seem to be
> working fine. 600 mils DIP package is available for it.
> Message me for further info.
>
> regards
>
> Isik
>
>
> dlc wrote:
>
>>Microchip write a LOT of nonsense about their PWMs. To _really_ find
>>the number of PWM channels (not just pins) then look for how many CCP
>>and ECCP modules there are. One module = 1 PWM channel, often with many
>>pins attached to it. If you use the parametric search on the MC site
>>you'll find that there are 20 18F parts with 2 CCP modules at 28 pins or
>>less. Actually, I think it is exactly at 28 pins.
>>
>>DLC
>>
>>Paul L wrote:
>>
>>
>>>Hey
>>>Found a 18 with 5 PWM it says, but then looking at the datasheet it
>>>would seem that there is really only 2? At least 2 individual channels.
>>>I'm looking at the PIC18F4550.
>>>I am limiting my self as i can only use DIL packages....
>>>
>>>
>>> ----- Original Message -----
>>> *From:* dlc
>>> *To:* p...@yahoogroups.com
>>> *Sent:* Sunday, March 18, 2007 4:58 PM
>>> *Subject:* Re: [piclist] A few questions...
>>>
>>> There is quite a bit of difference, all of it good.
>>>
>>> 18F over 16F
>>> Most can use bootloaders (self-writable FLASH)
>>> No Program code space banking needed
>>> 40-46MHz top clock speed
>>> More on-chip peripherals usually
>>> More RAM/Code space available
>>>
>>> Many PICs with 28 pins or more have two PWM channels. Some of the 18F
>>> parts actually have three or four.
>>>
>>> DLC
>>>
>>> Paul L wrote:
>>> > In the past i have used the 16 series of PIC, for a project i am
>>> looking
>>> > at the 18 series, is there much difference between the two
>>> programming
>>> > wise? The 18s seem more complex
>>> >
>>> > Also, looking for a pic with more than one PWM output, used the
>>> filter
>>> > on the Microchip site and it came up with PIC16F690, but after
>>> looking
>>> > at the datasheet it would seem that the 4 it says is actually 1 but
>>> > can be used for Full Bridge PWM, so all the outputs run at the
>>> same duty
>>> > cycle, i was after multiple PWM at there own speeds. Do any PICs
>>> have this?
>>> >
>>> > Thanks
>>> >
>>>
>>> --
>>> -------------------------------------------------
>>> Dennis Clark TTT Enterprises
>>> www.techtoystoday.com
>>> -------------------------------------------------
>>>
>>>
>>>
>>
>>
>>
>
>
>

--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Harold Hallikainen - Mar 21 14:01:30 2007


While we typically use a 10MHz crystal or resonator with the internal
oscillator and the PLL clock multiplier, it is also ok to drive the chip
with a 40MHz external oscillator. From page 355 of the datasheet, we find
an external oscillator can be DC to 40MHz.

Harold

> Thanks for that! Anyone wanna buy a 40Mhz osc?!!!!
> ----- Original Message -----
> From: dlc
> To: p...@yahoogroups.com
> Sent: Wednesday, March 21, 2007 3:10 AM
> Subject: Re: [piclist] A few questions...
> Yes,
>
> To get 40MHz you need to use a 10MHz crystal or oscillator and the X4
PLL setting. You can't use a 40MHz crystal. The speed up is directly
proportional. :) Another nice thing about the 18F series. Now if
Microchip could just get rid of that 4 stage pipeline and get single
cycle executes...
>
> DLC
>
> Paul L wrote:
> > Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but
i got a 40Mhz just to try, but it don't seem to work. Do you have to
put it in a special mode at all? I would just expect the timer to be
2x as
> fast?
> > Thanks
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Tuesday, March 20, 2007 9:00 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Hey!
> > So far i have got an LED blinking on the PIC18F but so far i really
like the 18F, i'm looking forward to being able to use the MOVFF!
;-) Its nice that there are no Banks to select, a lot easier to use
:o)
> >
> > Oh well, upwards and onwards from LEDS!
> > (Still get a buzz from seeing a LED go on! LOL)
> >
> > Paul
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Monday, March 19, 2007 11:17 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Does anyone have a good website with a quick start guide for the 18
series please? THanks
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 11:45 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Thanks for the ic number, just looking at datasheet now -
> > looks a bit complicated! But i'll have a read!
> > Cheers
> >
> > ----- Original Message -----
> > *From:* Işık BODUR
> > *To:* p...@yahoogroups.com
> >
> > *Sent:* Sunday, March 18, 2007 10:08 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> >
> > Hi
> >
> > 18f4431 has 4 individually programmable pwm channels.
> > We've just used that chip on a project and it seem to be
> > working fine. 600 mils DIP package is available for it.
> > Message me for further info.
> >
> > regards
> >
> > Isik
> >
> >
> > dlc wrote:
> >
> >>Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many
CCP and ECCP modules there are. One module = 1 PWM channel, often
with
> many
> >>pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28
pins
> or
> >>less. Actually, I think it is exactly at 28 pins.
> >>
> >>DLC
> >>
> >>Paul L wrote:
> >>
> >>
> >>>Hey
> >>>Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual
> channels..
> >>>I'm looking at the PIC18F4550.
> >>>I am limiting my self as i can only use DIL packages....
> >>>
> >>>
> >>> ----- Original Message -----
> >>> *From:* dlc
> >>> *To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
> >>> *Subject:* Re: [piclist] A few questions...
> >>>
> >>> There is quite a bit of difference, all of it good.
> >>>
> >>> 18F over 16F
> >>> Most can use bootloaders (self-writable FLASH)
> >>> No Program code space banking needed
> >>> 40-46MHz top clock speed
> >>> More on-chip peripherals usually
> >>> More RAM/Code space available
> >>>
> >>> Many PICs with 28 pins or more have two PWM channels. Some of the
> 18F
> >>> parts actually have three or four.
> >>>
> >>> DLC
> >>>
> >>> Paul L wrote:
> >>> > In the past i have used the 16 series of PIC, for a project i am
> >>> looking
> >>> > at the 18 series, is there much difference between the two
> >>> programming
> >>> > wise? The 18s seem more complex
> >>> >
> >>> > Also, looking for a pic with more than one PWM output, used the
> >>> filter
> >>> > on the Microchip site and it came up with PIC16F690, but after
> >>> looking
> >>> > at the datasheet it would seem that the 4 it says is actually 1
> but
> >>> > can be used for Full Bridge PWM, so all the outputs run at the
> >>> same duty
> >>> > cycle, i was after multiple PWM at there own speeds. Do any PICs
> >>> have this?
> >>> >
> >>> > Thanks
> >>> >
> >>>
> >>> --
> >>> -------------------------------------------------
> >>> Dennis Clark TTT Enterprises
> >>> www.techtoystoday.com
> >>> -------------------------------------------------
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> > --
> -------------------------------------------------
> Dennis Clark TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------
>
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!

--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - Norm Carlberg - Mar 21 15:27:56 2007

Is their a schematic or special crystal type used for external oscillator?

Norm
----- Original Message -----
From: Harold Hallikainen
To: p...@yahoogroups.com
Sent: Wednesday, March 21, 2007 11:58 AM
Subject: Re: [piclist] A few questions...

While we typically use a 10MHz crystal or resonator with the internal
oscillator and the PLL clock multiplier, it is also ok to drive the chip
with a 40MHz external oscillator. From page 355 of the datasheet, we find
an external oscillator can be DC to 40MHz.

Harold

> Thanks for that! Anyone wanna buy a 40Mhz osc?!!!!
> ----- Original Message -----
> From: dlc
> To: p...@yahoogroups.com
> Sent: Wednesday, March 21, 2007 3:10 AM
> Subject: Re: [piclist] A few questions...
>
>
> Yes,
>
> To get 40MHz you need to use a 10MHz crystal or oscillator and the X4
PLL setting. You can't use a 40MHz crystal. The speed up is directly
proportional. :) Another nice thing about the 18F series. Now if
Microchip could just get rid of that 4 stage pipeline and get single
cycle executes...
>
> DLC
>
> Paul L wrote:
> > Just a quick qu, i am using a PIC18F4331, working fine at 20Mhz but
i got a 40Mhz just to try, but it don't seem to work. Do you have to
put it in a special mode at all? I would just expect the timer to be
2x as
> fast?
> > Thanks
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Tuesday, March 20, 2007 9:00 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Hey!
> > So far i have got an LED blinking on the PIC18F but so far i really
like the 18F, i'm looking forward to being able to use the MOVFF!
;-) Its nice that there are no Banks to select, a lot easier to use
:o)
> >
> > Oh well, upwards and onwards from LEDS!
> > (Still get a buzz from seeing a LED go on! LOL)
> >
> > Paul
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Monday, March 19, 2007 11:17 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Does anyone have a good website with a quick start guide for the 18
series please? THanks
> >
> > ----- Original Message -----
> > *From:* Paul L
> > *To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 11:45 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> > Thanks for the ic number, just looking at datasheet now -
> > looks a bit complicated! But i'll have a read!
> > Cheers
> >
> > ----- Original Message -----
> > *From:* IÅYık BODUR
> > *To:* p...@yahoogroups.com
> >
> > *Sent:* Sunday, March 18, 2007 10:08 PM
> > *Subject:* Re: [piclist] A few questions...
> >
> >
> > Hi
> >
> > 18f4431 has 4 individually programmable pwm channels.
> > We've just used that chip on a project and it seem to be
> > working fine. 600 mils DIP package is available for it.
> > Message me for further info.
> >
> > regards
> >
> > Isik
> >
> >
> > dlc wrote:
> >
> >>Microchip write a LOT of nonsense about their PWMs. To _really_ find
the number of PWM channels (not just pins) then look for how many
CCP and ECCP modules there are. One module = 1 PWM channel, often
with
> many
> >>pins attached to it. If you use the parametric search on the MC site
you'll find that there are 20 18F parts with 2 CCP modules at 28
pins
> or
> >>less. Actually, I think it is exactly at 28 pins.
> >>
> >>DLC
> >>
> >>Paul L wrote:
> >>
> >>
> >>>Hey
> >>>Found a 18 with 5 PWM it says, but then looking at the datasheet it
would seem that there is really only 2? At least 2 individual
> channels..
> >>>I'm looking at the PIC18F4550.
> >>>I am limiting my self as i can only use DIL packages....
> >>>
> >>>
> >>> ----- Original Message -----
> >>> *From:* dlc
> >>> *To:* p...@yahoogroups.com
*Sent:* Sunday, March 18, 2007 4:58 PM
> >>> *Subject:* Re: [piclist] A few questions...
> >>>
> >>> There is quite a bit of difference, all of it good.
> >>>
> >>> 18F over 16F
> >>> Most can use bootloaders (self-writable FLASH)
> >>> No Program code space banking needed
> >>> 40-46MHz top clock speed
> >>> More on-chip peripherals usually
> >>> More RAM/Code space available
> >>>
> >>> Many PICs with 28 pins or more have two PWM channels. Some of the
> 18F
> >>> parts actually have three or four.
> >>>
> >>> DLC
> >>>
> >>> Paul L wrote:
> >>> > In the past i have used the 16 series of PIC, for a project i am
> >>> looking
> >>> > at the 18 series, is there much difference between the two
> >>> programming
> >>> > wise? The 18s seem more complex
> >>> >
> >>> > Also, looking for a pic with more than one PWM output, used the
> >>> filter
> >>> > on the Microchip site and it came up with PIC16F690, but after
> >>> looking
> >>> > at the datasheet it would seem that the 4 it says is actually 1
> but
> >>> > can be used for Full Bridge PWM, so all the outputs run at the
> >>> same duty
> >>> > cycle, i was after multiple PWM at there own speeds. Do any PICs
> >>> have this?
> >>> >
> >>> > Thanks
> >>> >
> >>>
> >>> --
> >>> -------------------------------------------------
> >>> Dennis Clark TTT Enterprises
> >>> www.techtoystoday.com
> >>> -------------------------------------------------
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
>
> --
> -------------------------------------------------
> Dennis Clark TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------
>
>
>

--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!

--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - rtstofer - Mar 21 18:41:08 2007

--- In p...@yahoogroups.com, "Norm Carlberg" wrote:
>
> Is their a schematic or special crystal type used for external
oscillator?
>
> Norm

Datasheets vary but the CRYSTAL specs for the 18F4420 are in secton 2.

For external OSCILLATORS, you need to meet the DC voltage requirements
like Param No D033 as shown in the 16F877A datasheet in section 17.2.
My version of the 18F4420 datasheet doesn't have the DC characteristics.

If you are buying an OSCILLATOR, just pick one that uses the same VCC
and is CMOS compatible (as opposed to LSTTL).

Richard



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: A few questions... - Norm Carlberg - Mar 21 19:29:28 2007

Wild guess:
Is the external crystal connected one lead to micro external input, other lead to ground with caps same as when internal?

Norm
----- Original Message -----
From: rtstofer
To: p...@yahoogroups.com
Sent: Wednesday, March 21, 2007 4:38 PM
Subject: [piclist] Re: A few questions...
--- In p...@yahoogroups.com, "Norm Carlberg" wrote:
>
> Is their a schematic or special crystal type used for external
oscillator?
>
> Norm

Datasheets vary but the CRYSTAL specs for the 18F4420 are in secton 2.

For external OSCILLATORS, you need to meet the DC voltage requirements
like Param No D033 as shown in the 16F877A datasheet in section 17.2.
My version of the 18F4420 datasheet doesn't have the DC characteristics.

If you are buying an OSCILLATOR, just pick one that uses the same VCC
and is CMOS compatible (as opposed to LSTTL).

Richard



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: A few questions... - rtstofer - Mar 22 9:43:04 2007

--- In p...@yahoogroups.com, "Norm Carlberg" wrote:
>
> Wild guess:
> Is the external crystal connected one lead to micro external input,
other lead to ground with caps same as when internal?
>
> Norm

No, I don't think so.

A CRYSTAL would have two pins connected to the uC and two capacitors
between the pins and ground. Just like it is shown in the datasheet.

An OSCILLATOR is an entirely separate animal. It usually comes in a
DIP package, takes VCC and GND and outputs a pulse train that goes
into just one of the OSCx inputs of the uC. The oscillator will have
an internal crystal and the required capacitors as well as a circuit
to provide a nice clean square wave.

Usually, uC projects use either a ceramic resonator or a crystal and a
pair of capacitors. Oscillators are not generally used but they can
be. The accuracy of ceramic resonators is not particularly good and
they can be problematic when precise timing is required. Sometimes
the UARTS won't be accurate enough to communicate with other devices.

I recommend the crystal approach but if I wanted real accuracy, I
would go with the oscillator.

Richard

> ----- Original Message -----
> From: rtstofer
> To: p...@yahoogroups.com
> Sent: Wednesday, March 21, 2007 4:38 PM
> Subject: [piclist] Re: A few questions...
> --- In p...@yahoogroups.com, "Norm Carlberg" wrote:
> >
> > Is their a schematic or special crystal type used for external
> oscillator?
> >
> > Norm
>
> Datasheets vary but the CRYSTAL specs for the 18F4420 are in secton 2.
>
> For external OSCILLATORS, you need to meet the DC voltage requirements
> like Param No D033 as shown in the 16F877A datasheet in section 17.2.
> My version of the 18F4420 datasheet doesn't have the DC
characteristics.
>
> If you are buying an OSCILLATOR, just pick one that uses the same VCC
> and is CMOS compatible (as opposed to LSTTL).
>
> Richard
>



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: A few questions... - Norm Carlberg - Mar 22 21:55:35 2007

QUOTE Harold "While we typically use a 10MHz crystal or resonator with the internal
oscillator and the PLL clock multiplier, it is also ok to drive the chip
with a 40MHz external oscillator. From page 355 of the datasheet, we find
an external oscillator can be DC to 40MHz."

Could the above 40MHz external oscillator be replaced by a two lead 40MHz crystal?

Norm
----- Original Message -----
From: rtstofer
To: p...@yahoogroups.com
Sent: Thursday, March 22, 2007 7:42 AM
Subject: [piclist] Re: A few questions...
--- In p...@yahoogroups.com, "Norm Carlberg" wrote:
>
> Wild guess:
> Is the external crystal connected one lead to micro external input,
other lead to ground with caps same as when internal?
>
> Norm

No, I don't think so.

A CRYSTAL would have two pins connected to the uC and two capacitors
between the pins and ground. Just like it is shown in the datasheet.

An OSCILLATOR is an entirely separate animal. It usually comes in a
DIP package, takes VCC and GND and outputs a pulse train that goes
into just one of the OSCx inputs of the uC. The oscillator will have
an internal crystal and the required capacitors as well as a circuit
to provide a nice clean square wave.

Usually, uC projects use either a ceramic resonator or a crystal and a
pair of capacitors. Oscillators are not generally used but they can
be. The accuracy of ceramic resonators is not particularly good and
they can be problematic when precise timing is required. Sometimes
the UARTS won't be accurate enough to communicate with other devices.

I recommend the crystal approach but if I wanted real accuracy, I
would go with the oscillator.

Richard

>
>
> ----- Original Message -----
> From: rtstofer
> To: p...@yahoogroups.com
> Sent: Wednesday, March 21, 2007 4:38 PM
> Subject: [piclist] Re: A few questions...
>
>
> --- In p...@yahoogroups.com, "Norm Carlberg" wrote:
> >
> > Is their a schematic or special crystal type used for external
> oscillator?
> >
> > Norm
>
> Datasheets vary but the CRYSTAL specs for the 18F4420 are in secton 2.
>
> For external OSCILLATORS, you need to meet the DC voltage requirements
> like Param No D033 as shown in the 16F877A datasheet in section 17.2.
> My version of the 18F4420 datasheet doesn't have the DC
characteristics.
>
> If you are buying an OSCILLATOR, just pick one that uses the same VCC
> and is CMOS compatible (as opposed to LSTTL).
>
> Richard
>



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: A few questions... - Harold Hallikainen - Mar 22 23:48:27 2007


> QUOTE Harold "While we typically use a 10MHz crystal or resonator with the
> internal
> oscillator and the PLL clock multiplier, it is also ok to drive the chip
> with a 40MHz external oscillator. From page 355 of the datasheet, we find
> an external oscillator can be DC to 40MHz."
>
> Could the above 40MHz external oscillator be replaced by a two lead 40MHz
> crystal?
>
> Norm
Looks like no. Page 342 of the datasheet shows the range of HS oscillators
is 4 to 25MHz.

Harold

--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )