Re: chapter 10 eeprom code for the explorer16

21 views
Skip to first unread message

Jones, Bryan

unread,
Dec 29, 2014, 1:59:58 PM12/29/14
to pic24-assemb...@googlegroups.com
Elik,

Thanks for the feedback. I'm away from the office until 5-Jan, but will take a look as soon as I can!

Bryan

On Tue, Dec 23, 2014 at 5:00 PM, Elik Livnat <eliv...@gmail.com> wrote:
Hi,
We have tried the example code for chapter 10 but for the explorer16 with PIC24F128GA010.
We think an issue with the function waitForWriteCompletion causing the function of read not to get the right values.
We tried our own code with interrupt to SPI2 and it works fine.
Please let us know if you had encounter problem with the explorer16 code reading and writing to mcp25LC256.

Thank you.

--
You received this message because you are subscribed to the Google Groups "PIC24 Assembly-to-C Book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pic24-assembly-to-...@googlegroups.com.
To post to this group, send email to pic24-assemb...@googlegroups.com.
Visit this group at http://groups.google.com/group/pic24-assembly-to-c-book.
For more options, visit https://groups.google.com/d/optout.



--
Bryan A. Jones, Ph.D.
Associate Professor
Department of Electrical and Computer Engineering
231 Simrall / PO Box 9571
Mississippi State University
Mississippi state, MS 39762
http://www.ece.msstate.edu/~bjones
bjones AT ece DOT msstate DOT edu
voice 662-325-3149
fax 662-325-2298

Our Master, Jesus Christ, is on his way. He'll show up right on
time, his arrival guaranteed by the Blessed and Undisputed Ruler,
High King, High God.
- 1 Tim. 6:14b-15 (The Message)

Jones, Bryan

unread,
Jan 8, 2015, 11:06:51 AM1/8/15
to pic24-assemb...@googlegroups.com
Elik,

Thanks for the bug report. Can you clarify so I can better understand?

- I assume your using the source file chap10/mcp24lc515_i2c_eeprom.c? That's the only place I see the waitForWriteCompletion function.
- If so, this is an I2C operation. How are you using this to communicate to a SPI EEPROM, the 25LC256?

Bryan
Reply all
Reply to author
Forward
0 new messages