Write EEPROM with Interrupts


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: Write EEPROM with Interrupts

    If in your design, an interrupt can occur during EEPROM write, then use GIE bit to disable temporary all interrupts. After WRITE enable GIE again. Thats all.

    Ioannis

  2. #2
    Join Date
    Aug 2011
    Posts
    458


    Did you find this post helpful? Yes | No

    Default Re: Write EEPROM with Interrupts

    If you use 'DEFINE WRITE_INT 1' then the library code will disable interrupts around the unlock and setting EECON1.WR to initiate the write operation, but unlike the sequence shown in most datasheets it will reenable them before the write operation is completed.

Similar Threads

  1. EEPROM Write command with interrupts??
    By Elnino in forum General
    Replies: 4
    Last Post: - 23rd November 2009, 07:44
  2. EEPROM write
    By Sach_1979 in forum General
    Replies: 2
    Last Post: - 23rd September 2009, 20:18
  3. Write to eeprom
    By mradde in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st February 2009, 19:27
  4. WRITE TO Eeprom
    By crhomberg in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 12th February 2008, 05:33
  5. Problems with 16F876 on interrupts an WRITE / READ
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2005, 15:38

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts