EmbeddedRelated.com
The 2024 Embedded Online Conference

Re: PIC Timer0 Interrupt problems

Started by Peter van Hoof in Piclist19 years ago 1 reply

I have to start with stating I have never programmed an 18f series chip yet but have looked at your code and the data sheet (after all we...

I have to start with stating I have never programmed an 18f series chip yet but have looked at your code and the data sheet (after all we are all here to learn) One thing I noted is that PEIE in INTCON is disabled and in the default state of the IPEN bit (which was not set in your code snippet) this means that no peripheral inputs are enabled.


low VS high priority interrupt routines

Started by Vecheslav Silagadze in Piclist19 years ago 6 replies

I've setup two interrupt routines. One for a timer and one for I2C. It seems both are sent to the high priority vector even...

I've setup two interrupt routines. One for a timer and one for I2C. It seems both are sent to the high priority vector even though I setup the I2C as low priority. here's the relevant part of the code //Configure interrupts INTCON2bits.TMR0IP = 1; //set t


Macro VS Subroutine

Started by Devon Lee in Piclist19 years ago 5 replies

Hi there, Do you guys mind to briefly explain the difference between Macro and Subroutine? At what condition, it is a must...

Hi there, Do you guys mind to briefly explain the difference between Macro and Subroutine? At what condition, it is a must to use Macro or at what condition it is desired to use Macro? Thanks in advance. __________


ifdef and #ifdef

Started by kg4pid in Piclist19 years ago 7 replies

I posted this question last weekend but I didn't get any reply's. I know someone in this group knows the answer. Max I'm...

I posted this question last weekend but I didn't get any reply's. I know someone in this group knows the answer. Max I'm trying to run a build on a program that I found on the internet. It makes use of the "ifdef" command but has no "define" command


micro-stepping pwm motor

Started by Luis in Piclist19 years ago 1 reply

Hi all ! I need make a stepping motor 1.8? in micro-stepping mode in: 0,05? . who know to build it whith PIC ?? I...

Hi all ! I need make a stepping motor 1.8? in micro-stepping mode in: 0,05? . who know to build it whith PIC ?? I will try with CI-3973 (Alegro), but I need a exemple to run it... (sorry my english...)


Wisp628

Started by Stephen D. Barnes in Piclist19 years ago 5 replies

Hello all, Is there programming software out there other than XWisp and Wisp that is compatible with the Wisp628 programmer? TIA...

Hello all, Is there programming software out there other than XWisp and Wisp that is compatible with the Wisp628 programmer? TIA for any replies. Regards, Stephen Barnes


CC5X install

Started by wdavis364 in Piclist19 years ago 3 replies

I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last...

I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last was related not able to locate Reloc.inc file which I believe I remedied by the $incdir command line in the "Build Options window using (&q


CAN bus with MicroController

Started by R Ramesh in Piclist19 years ago 2 replies

Hi all,   Now I am trying to use CAN  bus with 16F877 IC, if anybody used CAN bus with micrcontroller , can please send...

Hi all,   Now I am trying to use CAN  bus with 16F877 IC, if anybody used CAN bus with micrcontroller , can please send some CAN bus details,   Thanks Ramesh __________________________________________________


Multiplexing PIC ADC

Started by Bakkal Adil in Piclist19 years ago 3 replies

It is possible to build a multiplexing circuitry for the PIC ADC? so we can have more channels than what a PIC have ( ex : 5 for...

It is possible to build a multiplexing circuitry for the PIC ADC? so we can have more channels than what a PIC have ( ex : 5 for 16F876 and 10 for 16F877 ). Speed is not a important point in this.   (no external interfaced ADCs please) _________________________


Sine PWM using 16f877

Started by p.vijayamurugan in Piclist19 years ago 5 replies

hai all this is vijay from India wishing you a happy day i have a requirement to generate a Sine PWm using PIC 16f877. ...

hai all this is vijay from India wishing you a happy day i have a requirement to generate a Sine PWm using PIC 16f877. can anybody help me in developing the logic thanx in advance vijay


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


The 2024 Embedded Online Conference