• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users






Re: 用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#6
高級會員
高級會員


查看用戶資訊
Dear 版主,
1) 我開了CLC3與CLC4後,已出現Chain了,程式也可Run;
2) 但因PCB已Lay;故希望,能將這個Chain移至Pin_27或Pin_28。然,不管怎操作MCC,都在CLCIN0那一列移動而已。
3) 現希望能用CLCIN2或 CLCIN3,以便能將Chain移至Pin_27或Pin_28;而CLCxOUT一定要從RC3_Pin_14輸出。
4) 故,跟版主請教,MCC應該如何設定呢?

Regards

Attach file:



jpg  123.jpg (62.31 KB)
3325_5f8861a50b1fb.jpg 640X426 px

發表於: 2020/10/15 22:50
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#5
高級會員
高級會員


查看用戶資訊
謝謝版主,我再注意一下
Regards

發表於: 2020/10/15 13:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#4
版主
版主


查看用戶資訊
剛試了一下 PIC16F18855 的 MCC 設定 TMR2 & CCP2 來產生 PWM 的輸出。此 PWM 2 的輸出可以經由 PPS 來設定到 PORTB & PORTC 任何一隻腳位做輸出。測試是沒問題的。

如果有佔腳位的符號產生,那就是該腳位的設定有衝突。你可以檢查一下 "Notifications" 視窗下的警告說明,通常是腳位不當的共用及該腳位是輸出腳但在 "MCC Pin module GPIO" 卻設定了 Input 功能,或 ADC 輸入功能沒有關閉。

Attach file:



jpg  擷取.JPG (68.39 KB)
16_5f87b9ef5a393.jpg 630X381 px

發表於: 2020/10/15 10:49
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#3
高級會員
高級會員


查看用戶資訊
Dear 版主;
1.因PCB已Lay好,RC3是用來Drive Buzzer;但RC3無CCP功能。故,擬用CCP2_OUT產生4KHz,透過CCP功能,由RC3做為CLC1OUT的輸出用。
2.當然,RA0接腳,我本就有它用;
3.何以您圖RA0是1個Link,而我圖卻是占腳符號 ? (上我圖是我重新開的新專案,當點CLC功能時,MCC就主動顯示占腳符號!!!)。如附件檔。
4.該如何做,才可 "不被占腳位" 或 "可移至其它腳位" 呢?

Regards

Attach file:



jpg  MCC1.jpg (75.37 KB)
3325_5f871ab317f2c.jpg 640X467 px

發表於: 2020/10/14 23:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#2
版主
版主


查看用戶資訊
CLC1 ~ CLC4 所使用的接腳,如果你沒有取設定使用 RA0 的話是不會占用此接腳的。是不是你已將 RA0 設定給其他的周邊使用了。

附圖可以參考 CLC1 可以使用的接腳。

Attach file:



jpg  擷取.JPG (44.45 KB)
16_5f866b15be0b2.jpg 729X214 px

發表於: 2020/10/14 11:02
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


用PIC16F18855的CLC1至CLC4的功能時,會多占用RA0腳位,使得RA0無法使用,對嗎?
#1
高級會員
高級會員


查看用戶資訊
Dear 各位先進,
1. 我用MCC來規劃PIC16F18855的CLC1至CLC4的功能時,會自動多占用1支RA0腳位,使得RA0無法使用,對嗎?
2. 若對,請問該如何做,才可 "不被占腳位" 或 "可移至其它腳位" 嗎?

Best Regard
陳鴻進

發表於: 2020/10/13 15:42
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... ]

教育訓練中心

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