Are 16f628 and 16f628A difference each other?


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    hardware problem, those A serie are much noise sensitive, be sure you place the usual 0.1uF as close as you can of your PIC VDD pins

    Be sure your device programmer is set to 16F628a because it may exist some difference between them.

    And to be honnest, using the internal OSC and try to make it run @9600 baud... may work or not. BTW the manual stated it somewhere in the SERIN, SERIN2, SEROUT or SEROUT2 description.

    Why messing with those anyways as your PIC have an internal USART. HSERIN, HSEROUT and you're on business... even @ 4MHZ

    Your board is already done and you don't want to change it.. use DEBUG instead... it shoud work better... but using the internal OSC for serial comm... is more than often shooting yourself in the feet.
    Last edited by mister_e; - 14th July 2006 at 03:33.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    elektrodam's Avatar
    elektrodam Guest


    Did you find this post helpful? Yes | No

    Default

    Dear friends, thank you for your response
    but still i have the same problem
    if i can solve this problem or can find the reason, i will inform you

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by mister_e
    And to be honnest, using the internal OSC and try to make it run @9600 baud... may work or not.
    I agree with Steve (and Ron), the internal Osc is a probable cause until proven innocent. Things to try:

    Try using a XTAL like you did on 16F628 (if problem stays, then not internal osc problem)

    Try a slower baud rate (more forgiving with Internal Osc)

    Paul Borgmeier
    Salt Lake City, Utah
    USA
    Last edited by paul borgmeier; - 14th July 2006 at 22:28.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    in theory using the internal USART and 4MHZ will work really well @4MHZ. Even higher baudrate is possible using the calc. Example 19200 bauds with BRGH=1 give a 0.16% error... really great. Can probably work with DEBUG too.

    BUT with the internal OSC, that might cause problem.

    In this case as it's seems to work with a 16F628 but not with 16F628A, i suspect a device programmer problem or device programmer software problem. Sure the 0.1uF cap is not sit close to the PIC.

    How about if you sit one on of those cap on the ZIFF socket while programming?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by paul borgmeier
    Try using a XTAL like you did on 16F628 (if problem stays, then not internal osc problem)
    I guess I have assumed he used an external Xtal with the 16F628 version. With the 16F628 internal (see the tolerances), he would surely get framing errors unless he got lucky with a few. He has a shot with the 16F628A internal unless the temperature changes, the voltage fluctuates, etc.

    I would like to know if he used the internal on the 16F628?


    Paul

Similar Threads

  1. 16f628 / 16f628a
    By azmax100 in forum General
    Replies: 5
    Last Post: - 27th January 2009, 03:37
  2. problem with my EPIC
    By Rhatidbwoy in forum General
    Replies: 16
    Last Post: - 24th April 2007, 21:23
  3. 16F628a to 16F873a
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 4th March 2007, 14:53
  4. Migrate from 16F628 to 16F628A
    By cooksydesign in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 1st June 2006, 18:31
  5. 16F628 problems
    By fowardbias in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th January 2006, 07:38

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