Author |
Message |
Topic: PIC16F1459 - I2C is not responding |
TYDOM78
Replies: 12
Views: 1970
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2024 3:54 pm Subject: PIC16F1459 - I2C is not responding |
I use the Saturn PCB Toolkit V8.06, my pcb stackup, trace width, the old/new fashioned calculator way to estimate not measure capacitance.
The device (PIC and Slave device) input capacitance per p ... |
Topic: PIC16F1459 - I2C is not responding |
TYDOM78
Replies: 12
Views: 1970
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2024 1:57 pm Subject: PIC16F1459 - I2C is not responding |
You might need to dig into the assembly listing and investigate what the compiler is potentially doing wrong with the setup/usage of the MSSP on that particular chip.
It's interesting that CCS didn ... |
Topic: PIC16F1459 - I2C is not responding |
TYDOM78
Replies: 12
Views: 1970
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2024 11:55 am Subject: PIC16F1459 - I2C is not responding |
Fair enough, I am seeing some stretching of the bits (during Timer 0 and 1 interrupt running on my full code) due to bit banging most likely.
I can see the stretching with my analyzer.
So far, ... |
Topic: PIC16F1459 - I2C is not responding |
TYDOM78
Replies: 12
Views: 1970
|
Forum: General CCS C Discussion Posted: Wed Dec 11, 2024 11:17 am Subject: PIC16F1459 - I2C is not responding |
Thanks for getting back with me, several comments were very helpful.
CCS tech support got back with me yesterday.
Added force_sw to #use i2c(Master,Fast,sda=PIN_B4,scl=PIN_B6) and I was up and r ... |
Topic: PIC16F1459 - I2C is not responding |
TYDOM78
Replies: 12
Views: 1970
|
Forum: General CCS C Discussion Posted: Tue Dec 10, 2024 12:04 pm Subject: PIC16F1459 - I2C is not responding |
Hello PICMasters.
It's been a minute since I left the landscape of the CCS forum.
I've been busy with hardware design for the past 5 years and haven't spent much time coding with PICs.
I'm back ... |
|