HawThorn Posted November 3, 2006 Report Share Posted November 3, 2006 So,I'm not a programmer and I have a question. I reprogrammed the IIC module. I would like to integrate in my assembler file the codes which manage the I²C. But it’s impossible for my little knowledge. Which code do I have to recover to allow the two modules to communicate?Thanks Quote Link to comment Share on other sites More sharing options...
stryd_one Posted November 3, 2006 Report Share Posted November 3, 2006 Hiya HawThorn,Not sure what you mean mate? Which IIC Module are we talking about here?The IIC driver is built into MIOS.... Quote Link to comment Share on other sites More sharing options...
HawThorn Posted November 18, 2006 Author Report Share Posted November 18, 2006 Once still while working and studying, that functioned. But I've a little problem.I use my own module based on a PIC16F88 to send some information to the Core Module. It's perfectly working, I send a CC.Like for example after the address:0x0b0xb00x040x23It’s perfectly working; the core received the value like a CC.My problem is after. I send this value in loop (it’s just for testing my module and I²C actually). But after a little time (a few second or less) the Core Module reboot. And again, and again…Did I forget something? Quote Link to comment Share on other sites More sharing options...
mess Posted December 30, 2006 Report Share Posted December 30, 2006 It seems like the watchdog timer is doing it's jobif you code takes too long (too much code or an endless loop)the watchdog isn't reset in time so the watchdog resets the core...maybe you could post the relevant code for the core? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.