Search found 4 matches

by Microwitsch
Mon 2024-03-25 19:21
Forum: Simulation
Topic: PIC16F18877 RTC-Read from DS1307
Replies: 4
Views: 191

Re: PIC16F18877 RTC-Read from DS1307

Hi I found a couple of bugs in that PIC16 family VSM model which we'll fix as soon as possible. I attach a version of your code that I have modified to work as expected. Substantially I've improved your I2C code to make it more reliable and made a workaround because of simulated PIC16 bugs. I recom...
by Microwitsch
Mon 2024-03-25 19:20
Forum: Simulation
Topic: PIC16F18877 RTC-Read from DS1307
Replies: 4
Views: 191

Re: PIC16F18877 RTC-Read from DS1307

Hello Ettore, Thanks for the quick answer! I'll take a look at your attachment. 8) I found a few errors in my program. I had reached the wrong value for "SSP1ADD", which is now a value of 0x13 at an instruction frequency of 8Mhz. And the oscillator registers also had incorrect values , whi...
by Microwitsch
Fri 2024-03-22 21:20
Forum: Simulation
Topic: PIC16F18877 RTC-Read from DS1307
Replies: 4
Views: 191

PIC16F18877 RTC-Read from DS1307

Hello everyone,

The DS1307 sends no Ack for writing the Chipadress 0xD0?
What's wrong with this simple project? I'm a beginner, sorry...

build with Mplab XC8 v2.31
by Microwitsch
Fri 2024-01-26 21:52
Forum: Simulation
Topic: Problems with PIC16F18877
Replies: 2
Views: 474

Problems with PIC16F18877

Hello everyone,

I purchased Proteus 8.17/VSM for PIC16 ...the PIC16F18877 cannot be simulated with any code. Does anyone here have a simple example with working code? I think there are general problems with the config bits!?