Blinky on Lab-X1 twice as fast on 16F877 as on a 18F4550


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default Re: Blinky on Lab-X1 twice as fast on 16F877 as on a 18F4550

    Do you have any means to check the real frequency oscillator output that is going to the PIC?

    Also, JP3 does no look that is is correctly connected. PIC should be on the midle pin and the jumper select either 4MHz or the CLK output of the chip U2.

    If Y1A out pin is the PIC clock input, then this pin will always get 4MHz as the diagram shows no matter what the other jumpers are at.

    Correct me if I am wrong, but on that diagram seems to me that way.

    Ioannis
    Last edited by Ioannis; - 5th May 2023 at 08:10.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Blinky on Lab-X1 twice as fast on 16F877 as on a 18F4550

    Quote Originally Posted by Ioannis View Post
    ... Also, JP3 does no look that is is correctly connected. PIC should be on the midle pin and the jumper select either 4MHz or the CLK output of the chip U2.

    If Y1A out pin is the PIC clock input, then this pin will always get 4MHz as the diagram shows no matter what the other jumpers are at.

    Correct me if I am wrong, but on that diagram seems to me that way.

    Ioannis

    Y1A is not populated on the Lab-X1. You can add an IC if you wish to replace the default setup. Taken fron LABX1.TXT:

    ... To select a 20MHz clock, jumpers A and B should be on pins 1 and 2 and jumper C should be on pins 2 and 3.

    Jumper JP3 (not populated) allows a crystal or TTL or CMOS oscillator to be used directly without the ISC502M clock generator. A TTL or CMOS oscillator, Y1A, may be used in place of crystal Y1 and the 2 capacitors, C5 and C6.

    Having the jumper on the top 2 pins completes the circuit from ICS502M towards OSC1 (referred to as O1).

    Robert

Similar Threads

  1. 4 x 4 Keypad on Port B (18F4550 with Lab X1)
    By Demon in forum Code Examples
    Replies: 7
    Last Post: - 21st April 2015, 08:08
  2. 50mS counter on Timer0 (18F4550 on Lab X1)
    By Demon in forum Code Examples
    Replies: 0
    Last Post: - 16th April 2015, 04:07
  3. convert from 16F877 to 18F4550
    By starwick in forum General
    Replies: 4
    Last Post: - 15th May 2013, 19:36
  4. Lab X1 and 16F877 examples for beginners
    By Demon in forum Code Examples
    Replies: 6
    Last Post: - 8th January 2012, 05:19
  5. A/D on 16F877. How fast can I go?
    By atomski in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th April 2004, 07:51

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts