RT-Thread / RT-Thread/rt-thread

[Bug] MCXA346 hw-timer need init timer clok,otherwise it is hang

Open
#11,022 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

RT-Thread Version

master(v5.2?)

Hardware Type/Architectures

MCXA346 HW-Timer

Develop Toolchain

MDK Keil

Describe the bug
  1. env cfg timer0
  2. rt device find tiemr0
  3. rt device open timer0,then mcxa346 cpu hang,dont debug and download code
Other additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the MCXA346 HW-Timer driver and trace the rt_device_open path used after finding timer0. Reproduce the hang with the reported env configuration and MDK Keil workflow, then verify that the timer clock is initialized before the device is opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.