grigorig / stcgal

Open Source STC MCU ISP flash tool
642 stars 135 forks source link

Stc15f104w timer1 #105

Open raymonds2019 opened 3 months ago

raymonds2019 commented 3 months ago

Im sorry if this is unrelated to stcgal but here it goes.

i try a simple timer loop to switch p3.5 at 20ms.

i program my stc15f104e - dip with the -P stc15a and it works perfect, then i try with my stc15f104w - sop -P stc15 and it never works.

Then if i change to timer 0 it works both.

Could there be something i missed?

Olegansv commented 2 months ago

stc15f104w contains only timer0 and timer2 (no timer1). Also stc15f104w and stc15f104e have different datasheets.

raymonds2019 commented 2 months ago

Hello. Could you provide me with the datasheet for stc15f104w?Sent from my iPhoneOn 9 Apr 2024, at 15:41, Oleh Vasylchenko @.***> wrote: stc15f104w contains only timer0 and timer2 (no timer1). Also stc15f104w and stc15f104e have different datasheets.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Olegansv commented 2 months ago

STC15-en.pdf

This datasheet is for all stc15 (excluding early models like stc15f104e).