• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: PWM setting using Harmony 3 configurator
#2
管理員
管理員


查看用戶資訊
MCU:ATSAME51G18A
1.output matrix選擇,參考如附圖
Default Channel Output=0x00,模式選擇以此類推
附圖表示輸出的訊號位置。
縮圖

2.Channel Configuration
TCC0、TCC1:wo[0]~wo[7]
在PWM模式下
wo[0]與wo[4]是互補狀態
wo[1]與wo[5]是互補狀態
wo[2]與wo[6]是互補狀態
wo[3]與wo[7]是互補狀態
3.輸出腳位將呈現High或者Low
4.Output
將Invert Output啟用,輸出波型將得到反向
假設原本送出10%的Duty cycle
獎反向變成90%的Duty Cycle
5.Dead time,參考如附圖
波型在輸出High->Low或者Low->High,將會延時上升
縮圖

Attach file:



jpg  output matrix.JPG (47.05 KB)
77092_605d3d76c17a6.jpg 899X209 px

jpg  dead time.JPG (31.70 KB)
77092_605d3d807702f.jpg 810X297 px

發表於: 2021/3/26 9:48

Edited by Darren on 2021年03月26日 10:04:24
Edited by Darren on 2021年03月26日 10:04:44
Edited by Darren on 2021年03月26日 10:05:51
Edited by Darren on 2021年03月26日 10:06:05
Edited by Libra on 2021年03月26日 10:07:01
Edited by Libra on 2021年03月26日 10:07:19
Edited by Libra on 2021年03月26日 10:07:39
Edited by Libra on 2021年03月26日 10:08:20
Edited by Libra on 2021年03月26日 10:08:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PWM setting using Harmony 3 configurator
#1
初級會員
初級會員


查看用戶資訊
MCU:ATSAME51G18A
MPLABX v5.45
Harmony v3

參考SAM2001使用TCC1 來產生PWM波形,但在但在configuration options 的選項不同
我是使用pin #29(PA20) function 選TCC1_WO4,不清楚對應關係?

1. select output matrix該如何選
2.channel configuration只有channel 0-3該使用哪一個?
3.Pattern generation有8個該選那一個?
4.outputs有八個該如何選?
5.dead time是何意思?在PWM波形的哪一塊?

發表於: 2021/3/22 14:58
best regards,
Anthony
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------