-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add MAX32xxx counter timer driver #76593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MAX32xxx counter timer driver #76593
Conversation
fdaa7c6 to
0419cb3
Compare
|
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
|
Needs rebase |
0419cb3 to
ae2e2c0
Compare
Done. |
ae2e2c0 to
1b6e3e7
Compare
Add counter submode for low power timer too Signed-off-by: Sadik Ozer <[email protected]>
Add counter submode for low power timer too Signed-off-by: Sadik Ozer <[email protected]>
Add counter submode for low power timer too Signed-off-by: Sadik Ozer <[email protected]>
Common counter driver based on timer for MAX32xxx MCUs
To use as wakeup source wakeup-source parameter shall be
defined as below
&lptimer0 {
status = "okay";
clock-source = <ADI_MAX32_PRPH_CLK_SRC_ERTCO>;
wakeup-source;
counter {
status = "okay";
};
};
Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32655 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32690 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32670 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32672 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32680 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32666 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
Update MAX32662 board documents to include counter driver too. Signed-off-by: Sadik Ozer <[email protected]>
This commit enables counter test for MAX32662EVKIT board Signed-off-by: Sadik Ozer <[email protected]>
This commit enables counter test for MAX32655 boards. Signed-off-by: Sadik Ozer <[email protected]>
This commit enables counter test for MAX32690evkit board. Signed-off-by: Sadik Ozer <[email protected]>
This commit enables counter test for MAX32670 board. Signed-off-by: Sadik Ozer <[email protected]>
This commit enables counter test for MAX32672 board. Signed-off-by: Sadik Ozer <[email protected]>
Add overlay files are added to run counter_basic_api test on MAX32680EVKIT. Signed-off-by: Anıl Kara <[email protected]>
This commit enables counter test for MAX32666 boards. Signed-off-by: Sadik Ozer <[email protected]>
MAX32 MCUs counter node added in main.c Signed-off-by: Anıl Kara <[email protected]>
This commit add MAX32 MCUs overlay file for sample/drivers/counter Signed-off-by: Sadik Ozer <[email protected]>
88ab36e to
301ae78
Compare
Added MAX32666 and MAX32662, I do not have chance to test it on MAX32675EVKIT, so just added timer node for MAX32675. and would like to continue without MAX32675. |
|
The number of commits can be greatly reduced by combining commits from a single author into a single commit. |
Lets keep it as it is. |
This PR adds MAX32xxx MCUs timer node and provide counter driver that based on timer peripheral.
Timer node and counter driver enabled for:
tests\drivers\counter\counter_basic_api output for some boards.
MAX32655EVKIT

MAX32690EVKIT

MAX32670EVKIT

MAX32672EVKIT

samples\drivers\counter\alarm output

Known issue (will be investigated after this PR):
LpTimer1 not pass test on MAX32655, MAX32690
LpTimer0/1 not pass test on MAX32672