Searching \ for 'CCP device and port C data' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/mems.htm?key=data
Search entire site for: 'CCP device and port C data'.

Truncated match.
PICList Thread
'CCP device and port C data'
1997\08\19@155632 by Norm Cramer

flavicon
face
I am using the PWM fuction of the PIC16C73 on CCP2.  My question is, does
the data value written to port c have any effect on the state of the PWM
ouput pin?  In otherwords, if the pin is doing PWM and currently is at a
zero level, will writting a one to that bit cause the output to go to one?
I would guess that it should not but MPLAB simulator puts the new value on
the screen and then the next step returns to the right value.  Will I see
this in the real device or is this just a sim thing?  If it is just a sim
thing, then my code can be greatly simplified.

Thanks,

Norm

1997\08\20@094312 by Andy Kunz

flavicon
face
At 02:29 PM 8/19/97 -0500, you wrote:
>I am using the PWM fuction of the PIC16C73 on CCP2.  My question is, does
>the data value written to port c have any effect on the state of the PWM
>ouput pin?  In otherwords, if the pin is doing PWM and currently is at a

The peripheral owns the pin, not the port latch.  Check the pin circuitry
in the PDF.

Andy

==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================

1997\08\20@110009 by Norm Cramer

flavicon
face
At 09:36 AM 8/20/97 -0400, you wrote:
>At 02:29 PM 8/19/97 -0500, you wrote:
>>I am using the PWM fuction of the PIC16C73 on CCP2.  My question is, does
>>the data value written to port c have any effect on the state of the PWM
>>ouput pin?  In otherwords, if the pin is doing PWM and currently is at a
>
>The peripheral owns the pin, not the port latch.  Check the pin circuitry
>in the PDF.
>

So is it an MPLAB sim bug, or a feature?

Norm

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...