Solved: notes on annoying little issues


Results 1 to 7 of 7

Threaded View

  1. #6
    Join Date
    May 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Yep

    Actually I do have a now dogeared original copy of the PBP manual. I got it when I bought Picbasic Pro. The PBP reads clock speeds of above 4Mhz MAY be required. May in my case meant is and I take from your comment that the same is true for you. I can only imagine the snarky comment about not having a manual is suggesting I steal software instead of paying for it. Back off from me and join the MPAA (or your local equivelant) if you want to go witchhunting. There are a lot of people there you would probably get along with.

    I can actually use a search too, believe it or not. I also did not post a bunch of foolish questions - instead I searched both this forum and others and solved my problems by myself. I mentioned these things because they were the issues I had the most challenge with and wanted to help others. Note: In one case I got mixed up and posted a request for clarification here - thanks to those that responded.

    >Pull up resistors
    >Again the PBP manual and all over this forum.
    Um no - the manual mentions one pull-up in an unexpected output and a couple of times in relation to resets. Its possible they're all over the forum. The issue I had with pull ups was actually related to weak pull ups inside the chip and the issue that they are associated with some ports but not others. If you are only acquainted with smaller chips you may not realize that they aren't on all ports. Yes its in the Datasheet - somewhere in the 300+ pages, but you kind of need to know that you should be looking for it in order to look for it and find it out. Now I know and will check going forward.

    >>Depends on what you are doing if you need a level converter. The PBP manual tell when it is common to use it. Caps on MAX232 = DATA SHEET
    Actually many of the PIC data sheets and quite a few posts indicate that you may be able to get away without using level conversion. I found this like the 4Mhz issue - its a 'may' or 'might' and there is info out there suggesting both ways, but if you don't know about the peripheral you are connecting to you had better assume its required and go for a level shift. There also seem to be less complicated solutions than the MAX232 that don't require the caps.

    The issues with ports and multiple functions was not a simple one for me. While finding the article on fuses was quite helpful (Thanks Melanie - you are superb and a wonderful person for helping as you do). Regardless whether a special function of a port was on or off by default and whether that function would interfere with the port's normal i/o (or for that matter just interfere with its input or just its output) did not seem to be intuitive to me. ADCON and such are simple, but what about when you don't have say a CMCON and need to disable the comparitors? Some chips have two comparitors - each with its own controls of course but search for CMCON and you'll get nothing. The bigger processors are a major step up from the little ones. I've been living inside a PIC16F877 datasheet for ten hours a day for a week now and I am just beginning to feel like I have a handle on it even though I should be able to recite passages soon.

    Sinoteq - good point. While I had all the programmer, compiler, IDE, eval boards, etc. the fact is when a chip just sits there and doesn't respond the way you want it you are going to have to break down the modules and test each part. That means you need some way to monitor serial in, serial out, keypad action, etc, etc as individual elements. You can't plop the chip into your final project and test it there - there's no way to find out what is wrong.

    Again thanks to all that keep this forum alive and non-bitter. I've found historical posts a great source of information and hope to eventually be able to contribute as well as benefit from it.
    Last edited by Probotics; - 25th May 2008 at 21:34. Reason: explanation

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