Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
新會員
![]() ![]() ![]() |
參照:
不好意思 可以麻煩也傳一份給我嗎? 最近正好在研究can 的應用 MAIL 已經pm給你了 謝謝~我已經收到了
發表於: 2007/9/17 9:35
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
新會員
![]() ![]() ![]() |
Richard楊你好:
我也是can初學者,拿APP023-2板子,套用CE128_ECAN_FIFO範例程式做練習,只是將IC換成dsPIC33FJ128MC708或是dsPIC33FJ128GP708。 在台中Elite上課期間經由calvin ho幫忙找到問題,將Vdd設為3.3v已可work了。 但是下課前與台中RTC同步安裝C30 V3.01後,一直compiler過不了已經困擾有一陣子,是否可以幫忙找看問題出在那裡,謝謝。 Clean: Deleting intermediary and output files. Clean: Deleted file "D:\ECAN_andy2\ECAN1Config.o". Clean: Deleted file "D:\ECAN_andy2\My02prj.mcs". Clean: Done. Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=33FJ128GP708 -c -x c -I"C:\Program Files\Microchip\MPLAB C30\support\h" -I"D:\ECAN_andy2\h" "src\ECAN1Config.C" -o"ECAN1Config.o" -g -Wall Microchip MPLAB C30 License Manager Version v3.01 (Build Date Jun 11 2007). Copyright (c) 2005 Microchip Technology Inc. All rights reserved. The MPLAB C30 license has expired. pic30-coff-cc1.exe: warning: Options have been disabled due to expired license src\ECAN1Config.C:91:1: warning: "/*" within comment Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=33FJ128GP708 -c -x c -I"C:\Program Files\Microchip\MPLAB C30\support\h" -I"D:\ECAN_andy2\h" "src\ECAN1Drv.c" -o"ECAN1Drv.o" -g -Wall Microchip MPLAB C30 License Manager Version v3.01 (Build Date Jun 11 2007). Copyright (c) 2005 Microchip Technology Inc. All rights reserved. The MPLAB C30 license has expired. pic30-coff-cc1.exe: warning: Options have been disabled due to expired license src\ECAN1Drv.c: In function 'ecan1WriteRxAcptFilter': src\ECAN1Drv.c:102: warning: suggest parentheses around + or - inside shift src\ECAN1Drv.c: In function 'ecan1WriteRxAcptMask': src\ECAN1Drv.c:158: warning: suggest parentheses around + or - inside shift src\ECAN1Drv.c: In function 'ecan1WriteTxMsgBufId': src\ECAN1Drv.c:283: internal compiler error: in instantiate_virtual_regs_lossage, at function.c:1442 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://support.microchip.com> for instructions. Halting build on first failure as requested. BUILD FAILED: Thu Aug 23 16:05:37 2007 ![]()
發表於: 2007/9/11 9:03
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
版主
![]() ![]() ![]() |
因為 CAN 的成本高,所以一般在汽車裡也只有需高速、安全性需求的會使用CAN,像一般電動窗、椅、雨刷 ... 等會使用較便宜的 LIN Bus。
發表於: 2007/9/10 15:55
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
缺點:(1).硬體成本較高 (mcu(SUPPORT CAN BUS CONTROLLER的MCU)+transceiver)
(2).開發難度較其他串列通訊高 暫時就想到這些囉!
發表於: 2007/9/10 15:19
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
一些會熱插拔的模組,指單機、顯示器等。例如直流電供應的模組,一台主監控管理六個dc供應單機以及一個電池監控單元等。CAN BUS在電磁干擾或中距離情境下,能較準地傳送或接收MESSAGE,所以CAN BUS就有他的舞台了!
發表於: 2007/9/10 11:46
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
版主
![]() ![]() ![]() |
CAN bus 國內有用在工廠的自動控制及大樓的安全控制,主要是用來取代RS-485的運用。
CAN2.0B 規範已傳過去了。
發表於: 2007/9/10 10:46
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
參照:
請也傳給我好嗎? Mail: shadow5552@yahoo.com.tw 謝謝! P.S 想請問其它人, CAN Bus 在除了汽車領域外,其它的領域也應用的很廣,這我略有耳聞,但我想知道的是 CAN Bus 在業界沒有新的應用技術嗎?如: 排程理論,能使得傳輸加快及避免 deadline 之類的,還有 CAN Bus 沒有缺點嗎?有的話,有哪些呢?
發表於: 2007/9/10 10:13
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
初級會員
![]() ![]() ![]() |
原來如此,因為小弟是搞車子的,所以領域外的就沒注意太多,能否請K大概略介紹一下CAN BUS在業界有哪些實用例子,謝謝!!
發表於: 2007/9/10 10:01
|
|||
|
Re: 關於 CAN Bus 的一些疑問!
|
||||
---|---|---|---|---|
高級會員
![]() ![]() ![]() |
在業界can bus使用還蠻多,針對較大的模組整合都用can bus取代rs-485,而在pcb上的ic整合則是i2c居多!所以大家好好學吧!
發表於: 2007/9/10 8:52
|
|||
|