Re: [Sdcc-user] C8051 clock and timers

2016-08-28 Thread Philipp Klaus Krause
On 28.08.2016 12:11, Maarten Brock wrote: >> On 28.08.2016 10:48, Philipp Klaus Krause wrote: >>> I have some trouble understanding the C8051 clock and timers. >>> In the tutorial code at >>> http://www.colecovision.eu/mcs51/C8051F340%20380%20LED.shtml I get a >>> timer interrupt at 1000 Hz. But I

Re: [Sdcc-user] C8051 clock and timers

2016-08-28 Thread Maarten Brock
> On 28.08.2016 10:48, Philipp Klaus Krause wrote: >> I have some trouble understanding the C8051 clock and timers. >> In the tutorial code at >> http://www.colecovision.eu/mcs51/C8051F340%20380%20LED.shtml I get a >> timer interrupt at 1000 Hz. But I got the values for configuring the >> timer exp

Re: [Sdcc-user] C8051 clock and timers

2016-08-28 Thread Philipp Klaus Krause
On 28.08.2016 10:48, Philipp Klaus Krause wrote: > I have some trouble understanding the C8051 clock and timers. > In the tutorial code at > http://www.colecovision.eu/mcs51/C8051F340%20380%20LED.shtml I get a > timer interrupt at 1000 Hz. But I got the values for configuring the > timer experiment

[Sdcc-user] C8051 clock and timers

2016-08-28 Thread Philipp Klaus Krause
I have some trouble understanding the C8051 clock and timers. In the tutorial code at http://www.colecovision.eu/mcs51/C8051F340%20380%20LED.shtml I get a timer interrupt at 1000 Hz. But I got the values for configuring the timer experimentally, and can't seem to get them from the datasheet. Accor