Jump to content

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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:

0x0b

0xb0

0x04

0x23

It’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?

  • 1 month later...
Posted

It seems like the watchdog timer is doing it's job

if 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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...