Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by NorthGuy

  1. NorthGuy

    Making PICs go faster

    https://www.microchipdirect.com
  2. NorthGuy

    Making PICs go faster

    Different PICs have different internal oscillators. They all have different tolerances. New PICs tend to have better internal oscillators, which are good enough for UART (often much better than this). There's no reason to use old PICs.
  3. NorthGuy

    uart bit banging

    Inclusive OR is just OR (as opposed to eXclusive OR - XOR). Both apply the corresponding operation to every bit of the operands. a OR b - produces 1 if either a or b is 1, 0 if both a and b are 0. a XOR b - produces 1 if a and b are different, 0 if a and b are the same. Nibble is half a byte...
  4. NorthGuy

    Making PICs go faster

    Newer PIC16s run at 32MHz with Internal oscillator, some even at 48MHz. PIC18s such as recent PIC18F2xK40 run at 64MHz. These are also much cheaper than the old obsolete ones. PIC24/dsPIC33 are yet faster, and more powerful. Choosing the correct PIC will take you much further than mingling with...
  5. NorthGuy

    ICSP considerations

    For the momentary switches, it is better to use 10K pull-downs instead of pull-ups, and make the switches connect them to VDD. This way you won't need to remove the programmer when you run and test the PIC. You may be able to do this with signals too, depending on the origin of the signals...
  6. NorthGuy

    ICSP considerations

    What are you using these resistors for?
  7. NorthGuy

    ICSP considerations

    There shouldn't be any pull-up resistors on B6 and B7 (if you're talking about PIC18). The pull-up resistor goes to MCLR - E3. It is needed to keep MCLR high when the programmer is disconnected. You can also install a delay circuit on MCLR, but this is a different story. PICkit3 (I guess...
  8. NorthGuy

    uart bit banging

    There are numbers of ways to convert C to the Assembler. You cannot predict what exactly the compiler does. At any rate, it's easier to write your own Assembler than to predict the complier behaviour. The generated code also depends on where variables are, banking etc. If you add a variable in...
  9. NorthGuy

    uart bit banging

    Yes. It is not only impossible to predict C timing, it is also no guarantee it stays the same when your program changes. You can get better timing with assembler or with interrupts.
  10. NorthGuy

    uart bit banging

    You need about 2.5% accuracy on your clock, but if the receiver has a good clock you can get away with as bad as 4%. With the internal oscillator being somehow inaccurate plus inaccuracies introduced by C, you probably just not getting enough accuracy. You certainly can tune it up with long...
  11. NorthGuy

    Microchip controllers confusion.

    What code? There's no code in your post.
  12. NorthGuy

    Debug-Problem with the dsPIC33EP32GP502

    Looks like your PIC just doesn't run. Look at things like missing capacitors, bad power etc.
  13. NorthGuy

    Debug-Problem with the dsPIC33EP32GP502

    Have you tried to run it without debugger?
  14. NorthGuy

    PK2CMD

    https://www.northernsoftware.com/nsdsp/ Information: https://www.northernsoftware.com/nsdsp/soft/nsprog.htm https://www.northernsoftware.com/dev/pic16f/pic16f886.htm
  15. NorthGuy

    PK2CMD

    MPLAB X comes with PK3CMD which is a command line utility for PICkit3. I'm not sure it can do serialized programming, but their IPE (GUI user interface) certainly can. Our NSDSP programmer has command line software which can serialize using data in a special file or from parameters passed...

Latest threads

New Articles From Microcontroller Tips

Back
Top