PIC MCU / PIC24FJ64GA202 개발 환경 정리 (16bit)
< 사진 출처 : www.microchip.com >
1. PIC24FJ64GA202 Chip
칩 소개 : http://www.microchip.com/wwwproducts/Devices.aspx?product=PIC24FJ64GA202
DataSheet : http://ww1.microchip.com/downloads/en/DeviceDoc/30010038b.pdf
칩 단품 가격 : 3달러 대...(홈페이지에... 예상가격이 나오네요)
2. 주요 기능 :
16-bit 아키텍춰
16 MIPS 처리 속도
Flash메모리 내장 (64 K byte)
RAM 8 k byte ( 8192 byte)
28핀 구조이며 ... 20개의 I/O ... POR 보유, WDT보유, 내부 오실레이터 8 MHz, 4개의 UART, 3개의 SPI, 2개의 I2C
비교기 3개, Capture/Compare/PWM 6 개 지원
3. 크로스 컴파일러 툴 :
MPLAB XC16 (free 버전) 무료임.
/ ( Pro버전은 1000달라 수준의 고가임)
시리즈 소개 : http://www.microchip.com/pagehandler/en-us/devtools/mplabxc/home.html
1) MPLAB® XC16 Compiler v1.23 (2014/12/6 기준) : http://www.microchip.com/mplabxc16windows
2) MPLAB X IDE v2.26 : http://www.microchip.com/mplabx-ide-windows-installer
MPLAB_IDE_option_for_XC16_comfiler.pptx
4. 프로그래머 (FW 다운로드 장비) :
PICkit3(In-Circuit Debugger (PG164130)) 등 이용... (대략 7달러 정도)
크기는 휴대용 라이터 정도...
5. Sample 코드 / 한글화 어플리케이션 Note
Sample 코드 : http://www.embeddedcodesource.com/
한글 어플리케이션 노트 : http://www.microchipkorea.co.kr/html/data/sw_library.asp?page=5
6. I2C통신 한글 가이드와 sample코드
< MPLAB X IDE와 XC Compliers >
< MPLAB X IDE 스크린 샷>
< PICkit 3 In-Circuit Debugger (PG164130) 사진 출처 : www.microchip.com >
Debug Features:
Stop watch:True
Pgm-memory HW breakpoints:5
Data-memory breakpoints:5
WDT overflow:True
Pass counter:True