drivers: pwm: Add driver for xmc4xxx using ccu8 module
Adds driver for pwm on xmc4xxx using Capture Compare Unit 8 (CCU8) module. There are two CCU8 nodes with each one having four slices. Each slice has two output channels. Unlike CCU4, this module can generate complementary high-side/low-side signals for each output channel. A variable dead time can be added during the off to on transitions to make sure that the high-side/low-side signals are not on at the same time. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
23b6e4f507
commit
d8f955e375
12 changed files with 612 additions and 0 deletions
13
samples/basic/blinky_pwm/boards/xmc47_relax_kit.overlay
Normal file
13
samples/basic/blinky_pwm/boards/xmc47_relax_kit.overlay
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2023 SLB
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&pwm_led1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm_ccu80 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue