Location:
Search - microchip 3
Search list
Description: MicroChip Zigbee协议栈开源代码,版本1.0-3.3,支持coordinator\\router\\rfd。-MicroChip Zigbee protocol stack source code versions 1.0-3.3, support coordinator \\ router \\ Cfd.
Platform: |
Size: 1227698 |
Author: 杨明 |
Hits:
Description: microchip协议栈3.5版本.不支持网络安全-microchip version 3.5 protocol stack. Not to support network security
Platform: |
Size: 5503027 |
Author: 成章 |
Hits:
Description: microchip公司的ZIGBEE协议源代码,安装后即可看到源代码的C语言文件-microchip companies ZIGBEE agreement source code, After installation can see the source code in C language documents
Platform: |
Size: 5617122 |
Author: cathayhan |
Hits:
Description: MicroChip Zigbee协议栈开源代码,版本V1.0-3.8和V1.0-3.8.1,支持coordinator\\router\\rfd
Platform: |
Size: 11894805 |
Author: 杨明 |
Hits:
Description: Microchip 公司的zigbee协议栈安装包
Platform: |
Size: 5857052 |
Author: 徐华 |
Hits:
Description: microchip公司提供的无线ziebee协议的演示程序,支持802.15.4,是free并且非常不错的协议程序。安装后即可看到源代码的C语言文件
Platform: |
Size: 5617129 |
Author: 曾发 |
Hits:
Description: This demo uses the selected hardware platform as an SD card reader. Connect the hardware platform to a computer through a USB cable.
To run this project, you will need to load the corresponding firmware into the devices. There are two methods available for loading the demos: Precompiled demos and source code projects.
Precompiled Demos are available in the “\USB – Precompiled Demos” folders. Each demo should be prefaced with the hardware platform it is compiled for. Select the file that matches the hardware that you have and the demo that you want to run. For more information about how to load a precompiled project, please see the “Getting Started – Loading a precompiled demo” guide.
The source code for this demo is available in the “Topics…->MPLAB IDE).
Please note that when using either the C30 or C32 demo projects you will be required to select the correct processor for the demo board.
1) Open the associated project file
2) In MPLAB Select “Configure->Select Device”
3) In the device list box in the top left corner of that window, select the desired device.
NOTE WHEN USING THE HID BOOTLOADER (for PIC18F87J50 PIM): The “USB Device - Mass Storage - SD Card reader” and “USB Device - Mass Storage - SD Card data logger” demos make use of the SD Card PICtail Daughter Board (Microchip® Direct: AC164122). This PICtail uses the RB4 I/O pin for the card detect (CD) signal, and is actively driven by the PICtail. The active drive overpowers the pull up resistor on the RB4 pushbutton (on the PIC18F87J50 FS USB Plug-In Module board). As a result, if the PIC18F87J50 is programmed with the HID bootloader, and an SD Card is installed in the socket when the microcontroller comes out of reset, the firmware will immediately enter the bootloader (irrespective of the RB4 pushbutton state). To exit the bootloader firmware, remove the SD Card from the SD Card socket, and tap the MCLR button. When the SD Card is not plugged in, the PICtail will drive the card detect signal (which is connected to RB4) logic high, which will enable the bootloader to exit to the main application after coming out of reset. Once the main application firmware is operating, the SD Card can be plugged in. The SD Card is “hot-swappable” and should be recognized by the host upon insertion. To avoid this inconvenience when using the bootloader with the PICtail, it is suggested to modify the bootloader firmware to use some other I/O pin for bootloader entry, such as RB0 (which has a pushbutton on it on the HPC Explorer board).
Platform: |
Size: 773398 |
Author: bluntpig |
Hits:
Description: 、 先在microchip网站上找到00738.zip,这个包中有
can18xx8.h,can18xx8.c,将其复制到一个你要编写程度的子目录中,例如C:\testcan下,这个时候这个东东是不能直接用的。
2、 下载一个MPLAB 7.10,直接安装(要求直接下载)
3、 再下载一个PICC18 (HI-TECH的),要正版哦(支持正版,买不起的想其它办法吧)
4、在你的头文件上写上如下的样式:
#include "stdio.h"
#include "can18xx8.h"
#include "pic18fxx8.h"//可能是“pic.h”不太好包含,因此常会报错,直接包含克服之
5、然后设置好PICC和MPLAB,如果MPLAB上没有PICC18,则到PICC的网上下一个安装软件,可以直接运行安装就有了。
6、按照工程的基本要求把你的源代码、添加上两个库(不加也可以)
然后就可以写如下代码了:下面是一个完整版,可以直接使用microchip的库函数,本程序只是仿真调试过,未在多个芯片通信过,仍在制作中。
#include "stdio.h"
#include "can18xx8.h"
#include "pic18fxx8.h"
unsigned long NewMessage;
BYTE NewMessageData[8];
BYTE MessageData[8];
BYTE NewMessageLen;
enum CAN_RX_MSG_FLAGS NewMessageFlags=1;
BYTE RxFilterMatch;
void main()
{
//int a;
//int b;
CANInitialize(1, 5, 7, 6, 2, CAN_CONFIG_VALID_XTD_MSG);
while(1)
{
// Application specific logic here
// Check for CAN message
if ( CANIsRxReady() )
{
CANReceiveMessage(&NewMessage,NewMessageData,&NewMessageLen,&NewMessageFlags);
if ( NewMessageFlags & CAN_RX_OVERFLOW )
{
// Rx overflow occurred; handle it
}
if ( NewMessageFlags & CAN_RX_INVALID_MSG )
{
// Invalid message received; handle it
}
if ( NewMessageFlags & CAN_RX_XTD_FRAME )
{
// Extended Identifier received; handle it
}
else
{
// Standard Identifier received.
}
if ( NewMessageFlags & CAN_RX_RTR_FRAME )
{
// RTR frame received
}
else
{
// Regular frame received.
}
// Extract receiver filter match, if it is to be used
RxFilterMatch = NewMessageFlags & CAN_RX_FILTER_BITS;
}
// Process received message
// Transmit a message due to previously received message or
// due to application logic itself.
if ( CANIsTxReady() )
{
MessageData[0] = 0x01;
CANSendMessage( 0x02,MessageData,1,CAN_TX_PRIORITY_0
&CAN_TX_STD_FRAME &
CAN_TX_NO_RTR_FRAME);
}
// Other application specific logic
} // Do this forever
// End of program
}
以上均是参考文档并进行了修正,由于中间总是报错,为了大家让CAN更容易,谢谢大家!
Platform: |
Size: 10682 |
Author: lovelzs2008@126.com |
Hits:
Description: 一本关于PIC单片机的英文书籍,涉及汇编语言的编程。
Platform: |
Size: 3034679 |
Author: lxp5921 |
Hits:
Description: MicroChip 的 Zigbee协议说明文档
Platform: |
Size: 399021 |
Author: vfor@qq.com |
Hits:
Description: Full Information to bouild a 8x70 led display
Platform: |
Size: 660997 |
Author: rhinomx |
Hits:
Description: MicroChip Zigbee协议栈开源代码,版本1.0-3.3,支持coordinator\router\rfd。-MicroChip Zigbee protocol stack source code versions 1.0-3.3, support coordinator \ router \ Cfd.
Platform: |
Size: 1227776 |
Author: 杨明 |
Hits:
Description: microchip协议栈3.5版本.不支持网络安全-microchip version 3.5 protocol stack. Not to support network security
Platform: |
Size: 5502976 |
Author: 成章 |
Hits:
Description: microchip公司的ZIGBEE协议源代码,安装后即可看到源代码的C语言文件-microchip companies ZIGBEE agreement source code, After installation can see the source code in C language documents
Platform: |
Size: 5616640 |
Author: |
Hits:
Description: microchip单片机编程助手,可以将设置好的配置翻译成C代码-Singlechip microchip programming assistant, you can set up a good configuration translated into C code
Platform: |
Size: 211968 |
Author: csj0101 |
Hits:
Description: Generic_HID Firmware for Microchip Full-speed USB Chips
Using Microchip MCHPFSUSB Framework v2.3
Platform: |
Size: 62464 |
Author: SookyoungKim |
Hits:
Description: microchip公司的HCS300
KEELOQ解码程序
C语言源代码-microchip company HCS300 KEELOQ decoding program C language source code
Platform: |
Size: 407552 |
Author: yatou25 |
Hits:
Description: microchip GUI图形库开发帮助文档-microchip GUI graphics library development help documentation
Platform: |
Size: 2678784 |
Author: hi |
Hits:
Description: microchip usb相关库开发帮助文档-microchip usb related database development to help documentation
Platform: |
Size: 3935232 |
Author: hi |
Hits:
Description: microchip tcp/ip相关库开发帮助文档-microchip tcp/ip related to library development help documentation
Platform: |
Size: 7113728 |
Author: hi |
Hits: