problems with PIC12F675 GPIO

Started by ajellisuk in Piclist9 years ago 2 replies

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no...

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no success. I'm aware that the ports have multiple functions and need to be set up. I don't seem to have nay control over any of the pins. I'm using HI Tec PICC lite embedded into MPLAB 8.1. My code is: /* PIC 12F flash.c */ #include "pic12f6x.h" vo...


Need Help Understanding How to Restart MPLAB Debug

Started by jsternmd in Piclist9 years ago 2 replies

I have read and read but I cannot figure out why every time I debug through to some code of interest, that when I want to re-start from the...

I have read and read but I cannot figure out why every time I debug through to some code of interest, that when I want to re-start from the beginning (as with a fresh power-on) MPLAB doesn't seem to work right. I have tried reset, clear all memory, recompiling but then debug steps through code and regsiters don't change. I have had this since v 8.30 and with the the current 8.36. I must be mi...


Fastest Math routines - Another Newbie Question

Started by "Jerry O. Stern" in Piclist9 years ago 11 replies

I have am builidng a direct digital synthesizer and controlling the synthesizer with a PIC 16F877A. The selection of frequencies...

I have am builidng a direct digital synthesizer and controlling the synthesizer with a PIC 16F877A. The selection of frequencies are determined by an optical decoder "tuning knob" and the frequencies require 32 bit unsigned numbers. The math routines may be invoked 150 times per second as a tuning knob is turned rapidly. For each encoder frequency tuning step I need to manipulate the 32...


MPLAB 8.33 hanging

Started by jsternmd in Piclist9 years ago 2 replies

I have a new problem where MPLAB assembler is hanging during the Executing: "O:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A...

I have a new problem where MPLAB assembler is hanging during the Executing: "O:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A "Test.asm" /l"Test.lst" /e"Test.err" /d__DEBUG=1 When I look at the lst or err files they are empty. Anyone experience this? I made only minor changes to my code which haf been assembling in debug or release very nicely. thanks Jerry ----...


Variable Symbols in File Register

Started by jsternmd in Piclist9 years ago 3 replies

Hi Group, Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock? With a large...

Hi Group, Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock? With a large cblock of 30-40 variable symbol names it gets to be a real pain to find the right address when looking in the file register while debugging. Also, with byte size variables, MPLAB does not include or allow me to drag and drop any of the cblock variables ...


Low voltage "LF" chips can be used as normal "F" designated chips ??

Started by AMIT KAPOOR in Piclist9 years ago 2 replies

Dear All, ? Need Help! ? I?want to know whether the chips designated "LF" (low voltages devices, Example :PIC18LF2580 ) can be used as...

Dear All, ? Need Help! ? I?want to know whether the chips designated "LF" (low voltages devices, Example :PIC18LF2580 ) can be used as normal "F" designated chips( Example: PIC18F2580). I know the vice-versa is not true.?Whether all the ports,I2C,SPI,SERIAL n so on?etc ?of "LF" chips? function as standard "F" chip at +5V. I mean are there any restrictions or limitations. Can i replace PIC18F...


PWM to 0-10V Output

Started by Paul in Piclist9 years ago 8 replies

I have recently come across a circuit...

I have recently come across a circuit diagram: http://f1.grp.yahoofs.com/v1/ULBpSg7H1FfAWrKBp02HDaRkyq4iFpOjfpH78Kql4Dxq0CgSrNLnPzPzZIhq_C7J8z1 8rM7VyWwp3bC8n2uBiJDZsrfy/PWM.jpg Now the purpose of this circuit, is to convert a 5V PWM Signal to a 0-10V Output. The details of the PWM are unknown. So it could be a normal type of PWM, with the mark to space ratio changing, but seen as it is a


Getting started in surface-mount soldering

Started by Jason Hsu in Piclist9 years ago 5 replies

I'm looking for suggestions on how to learn surface mount soldering, as I only know how to solder through-hole. What training products can I...

I'm looking for suggestions on how to learn surface mount soldering, as I only know how to solder through-hole. What training products can I buy to learn? What surface mount project kits would give me good practice? What soldering iron tips should I buy? I have a WES51 soldering station and would prefer to stick with that. ------------------------------------


Do I need a dsPIC for this application?

Started by Jason Hsu in Piclist9 years ago 1 reply

I'm part of the Data Acquisition subgroup of Project Phoenix, a group working on an open source blood pressure monitor. I'm trying to figure...

I'm part of the Data Acquisition subgroup of Project Phoenix, a group working on an open source blood pressure monitor. I'm trying to figure out what surface-mount microcontrollers we could use. I need to figure out what our options are before I decide what programmer to get. Page 2 in the following PPT presentation shows what kind of input the microcontroller needs to process: http://www....


4 Independent frequency controllable step signal generation from PIC for stepper motors

Started by AMIT KAPOOR in Piclist9 years ago 8 replies

Dear Friends , ? I am trying to make? 4 axis stepper motor control , but i am stuck in the software part logic. ? i will use L297 and L298...

Dear Friends , ? I am trying to make? 4 axis stepper motor control , but i am stuck in the software part logic. ? i will use L297 and L298 as stepper controller and driver. ? ? For L297 i must give?step input and direction. Since my control is of 4 stepper motor, so how can i generate 4?INDEPENDENT?step signals?from PIC (?PIC18F4580 i have , but if it is possible?from other PIC ,?please...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright