Author |
Message |
Topic: Reset I2C On Lockup? |
frank_the_programmer
Replies: 4
Views: 2492
|
Forum: General CCS C Discussion Posted: Mon Sep 02, 2024 8:08 am Subject: Reset I2C On Lockup? |
Thanks for the speed replies. I took a few days to test the suggested methods and I think I got something that works! Adding NOINIT on the #use i2c worked great after initializing in main.
Using yo ... |
Topic: Reset I2C On Lockup? |
frank_the_programmer
Replies: 4
Views: 2492
|
Forum: General CCS C Discussion Posted: Wed Aug 28, 2024 7:26 pm Subject: Reset I2C On Lockup? |
Hey all. I've been using the CCS C Compiler for a while now and I have some nice looking code, but I can't figure how to make my I2C routines fool proof. I'm putting this dsPIC33FJ128GP204 through its ... |
Topic: I2C slave no ACK bit help. |
frank_the_programmer
Replies: 10
Views: 10273
|
Forum: General CCS C Discussion Posted: Tue Mar 12, 2024 1:47 pm Subject: I2C slave no ACK bit help. |
I GOT IT! Turns out I was testing on some damanged hardware. |
Topic: I2C slave no ACK bit help. |
frank_the_programmer
Replies: 10
Views: 10273
|
Forum: General CCS C Discussion Posted: Mon Mar 11, 2024 2:30 pm Subject: I2C slave no ACK bit help. |
I've reduced the resistors to 4.7k and removed the print function. I still get the interrupt but no ACK bit :(
I'm certain about the address as I've run a bus scanner to test what addresses respond ... |
Topic: I2C slave no ACK bit help. |
frank_the_programmer
Replies: 10
Views: 10273
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2024 11:43 pm Subject: I2C slave no ACK bit help. |
Thank you for the reply, but I'm still encountering issues with the I2C. I was aware of the 8-bit address as I found out the hard way, but the issue still remains. Even though the I2c interrupt fires ... |
Topic: I2C slave no ACK bit help. |
frank_the_programmer
Replies: 10
Views: 10273
|
Forum: General CCS C Discussion Posted: Mon Feb 05, 2024 6:52 pm Subject: I2C slave no ACK bit help. |
3V for VDD and two 3V pull-ups on both lines. Do I have to enable the ack in the software? |
Topic: I2C slave no ACK bit help. |
frank_the_programmer
Replies: 10
Views: 10273
|
Forum: General CCS C Discussion Posted: Mon Feb 05, 2024 2:28 pm Subject: I2C slave no ACK bit help. |
This is my first CCS project and I'm running into some problems implementing a dsPIC33FJ128GP204 as an I2C slave device. I hooked up an Arduino to act as the master for testing purposes. Everything se ... |
|