g1embed

  • 홈
  • 태그
  • 방명록

Nordic 2

Nordic nRF52 UART 통신

Introduction Universal Asyncronous Receiver / Transmitter (UART) 는 데이터 통신에 널리 쓰이는 통식 방식중 하나이다. Asynchronous인 이유는 두 디바이스 간 통신 시 Clock 이 비동기 이기 때문이다. 각 디바이스는 고유한 Clock 을 발생시킨다. 같은 Clock Source로 통신을 동기화시킬 경우 Universal Synchronous Asynchronous Transmitter/Receiver (USART) 로 볼 수 있다. 하나의 Packet은 다음과 같이 구성된다. Baud Rate는 보통 9600 b/s 또는 115200 b/s 로 설정된다. 마이크로컨트롤러끼리 UART로 통신할 경우 한 Device의 Tx Pin 이 반대쪽의 R..

EE/Embedded Systems 2020.12.23

nRF52328(PCA10040) Project Initiation / Basics

저번 포스팅에서는 Pre-configured Example 을 가져오는 방법을 알아보았다. 이번에는 이것을 변형하는 과정을 보도록 한다. 우선, 보드 뒤쪽에 보면 I/O Pin 번호가 적혀있는데 13 - 16은 보드 내부에 위치한 버튼, 17- 20은 LED임을 알 수 있다. 0. Internal LED 사용 GPIO를 Output으로 쓸 때의 Header / Function #include "nrf_gpio.h" GPIO 헤더 추가 nrf_ nrf_gpio_cfg_output(uint32_t pin_number); 핀을 output 으로 설정 nrf_gpio_range_cfg_output (uint32_t start_pin_number,uint32_t end_pin_number); 여러 핀을 같은 co..

EE/Embedded Systems 2020.12.23
1
더보기
프로필사진

Embedded Systems / Mobile Electronic Systems / Materials

  • 분류 전체보기
    • Algorithms
      • Problems
      • Theory
      • C, C++
    • EE
      • Embedded Systems
      • Computer Architecture
      • Signals and Systems
      • HDL and SoC Design
    • CS
      • Operating Systems
      • ML+DL
      • Mobile
      • Numerical Computing
    • Research
    • Others

최근댓글

방문자수Total

  • Today :
  • Yesterday :
About Me Jihwan's Github

Copyright © Jihwan Kim. All rights reserved.

티스토리툴바