Page 1 of 1
TM1637 (I2C) no function with timer
Posted: Fri Apr 05, 2019 11:45 am
by DirkB
Hello,
After the last update of the TM1637 display component the program no longer works together with a timer,
no matter which timer . Without timer there is no problem, with timer no function. Tested with several chips,
currently with the PIC16F1825 and the PIC 16F1454. This is only due to the TM1637 display component or
the I2C component. How do I get it to work again?
thanks
Dirk
Re: TM1637 (I2C) no function with timer
Posted: Fri Apr 05, 2019 12:13 pm
by Benj
Hi Dirk,
Please can you post a program that demonstrates the problem and I will investigate for you. The last mod to the TM1637 component was to add a new macro that allowed the segments to be individually controlled. Nothing related to timer interrupts.
Re: TM1637 (I2C) no function with timer
Posted: Sun Apr 14, 2019 2:09 pm
by DirkB
Hi Ben,
I've run some tests. I have 1x 1MHz timer and a port interrupt to trigger the timer and get the value of the timer and output it to an I2C display TM1637. There is probably a problem with the port interrupt of the PIC 16F1454.
The result is always a reset, I think it is a problem with the MCLR. The Int Pin of this chip is on the i2c port and you can't use both together.
With the PIC16F1825 it resulted that the chip together with the timer and the port interrupt became so slow that I had the impression that the chip does not work. The first output took about 25 seconds, a bit too slow I think. I changed the interrupt to the interrupt pin INT A2 and -voilĂ -, it works well now.
I think you should have a look at the PIC16F1454 again.
thank you
Dirk
Re: TM1637 (I2C) no function with timer
Posted: Mon Apr 15, 2019 10:21 am
by DirkB
Hi Ben,
the analog Inputs of the PIC16F1454 doesn`t works too.
I can't connect a pot in the connections.
regards
Dirk