본문 바로가기

분류 전체보기97

ex01_MCO SYSCLOCK - HSI (High-Speed Internal clock signal) : 내장 오실레이터. 별도 외부 회로 불필요. 정확도 떨어짐.- HSE (High-Speed External clock signal) : 외부 오실레이터. 외부에 crystal과 load cap 추가하거나 자체 오실레이터를 추가하여 사용. 정확도 높음.- PLL clock : HSI나 HSE를 입력받아 증폭시킨 후 사용. 최대 168MHz.   PROJECT 1) 내용: MCO 핀을 이용해 선택한 클럭 옵션이 제대로 출력되는지 확인 2) PIN: (sysclk to) PA8 3) file tree & main.c    RESULT 2018. 1. 9.
[mycortex-STM32F4] IAR 개발환경 구성 1. Project 생성Project 탭 -> Create New Project... -> 경로 설정 후 생성* project별로 폴더 생성할 것.2. Workspace 저장File 탭 -> Save All -> 같은 경로에 .eww 파일 저장3. Group 생성Workspace 윈도우 -> Project 이름 우클릭 -> Add -> Add Group... -> 3개의 group(CMSIS, lib,src) 생성- startup 파일: startup_stm32f40xx.s (위치: ...\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar)- system_device 파일: system_stm32f4xx.c (위치: ...\CMSIS\Device\ST\STM32F4xx\.. 2018. 1. 8.
[mycortex-STM32F4] ST-LINK 드라이버 설치 1. ST-LINK 디바이스와 PC 연결 2. 링크 접속http://www.st.com/en/development-tools/stsw-link009.html 3. GET SOFTWARE에서 STSW-LINK009 설치 (간단한 registration 필요) 4. 다운로드 된 파일 압축 풀고 stlink_winusb_install.bat 실행 5, 장치 관리자에서 드라이버 설치 확인. 2018. 1. 7.
ARM Cortex-M4 ARM Generic User Guide - http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf   Key features - Armv7E-M architecture- 3-stage pipeline with branch speculation.- Instruction sets:Thumb-1 (entire).Thumb-2 (entire).32-bit hardware integer multiply with 32-bit or 64-bit result, signed or unsigned, add or subtract after the multiply.32-bit hardware integer divide (2-1.. 2017. 12. 30.
마이크로프로세서 - CPU 기능을 수행하도록 집적된 회로.- Multipurpose, clock driven, register based, digital-integrated circuit(using binary data)- 기본 구성: Control unit (명령어 해석 및 실행), ALU(Arithmetic Logic Unit, 기본적인 연산 수행), Register(Stack Pointer, Program Counter, Index register 등)1) CPU (Central Processing Unit): 마이크로프로세서와 동일하게 볼 수 있으나, 요즘은 주로 PC에 들어가는 x86 범용 프로세서를 칭함. - 강한 처리 능력, 단독 사용 불가능.ex) Intel사의 Pentium, i시리즈 / AMD사의 CP.. 2017. 12. 30.
Linux 기본 명령어 모음 2017. 11. 17.