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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...