SlideShare a Scribd company logo
1 of 16
통신 교육 – SCI통신
MAZE
SCI 통신 (23기 우경은)
개요
TMS320F28x 프로세서에 탐재되는 통신회로 중
SPI/SCI/I2C/CAN에 대한 특징과 동작 구조를 이해하고
통신을 해보자는 의미에서 공부한다.
목차
01. SPI 통신
02. SCI 통신
03. I2C 통신
04. CAN통신
02. SCI통신(Serial Communication Interface)
SCI란
•Serial Communications Interface로 병렬 데이터의 형태를 직렬 방식으로
전환하여 데이터를 전송하는 컴퓨터 하드웨어의 일종이다.
•장거리 통신이 가능한 범용 비동기식 직렬통신방식이다
•일반적으로 UART(Universal Asynchronous Receiver/Transmitter)로
알려져 있다.
•SCI통신회로는 TX,RX로 이루어져 있다.
•주로 보드간 중장거리 통신에 사용된다.
이를 위해서는 별도의 트랜시버 IC가 필요하다.
02. SCI통신(Serial Communication Interface)
데이터 송수신 형태
•데이터 비트 : 실제 전송할 데이터
•패리티 비트 : 단순한 저레벨 에러 보장 방법
•동기화 비트
- 시작비트 : 통신의 시작 (1bit)
- 종료비트 : 통신의 끝 (1bit, 1.5bit, 2bit)
02. SCI통신(Serial Communication Interface)
TTL (transistor-transistor Level) serial
signal
•마이크로 컨트롤러의 동작 전압에 의해 변화하는데 보통 0V~3.3V 또는5V
•임베디드 회로에서 구현하기 간편
02. SCI통신(Serial Communication Interface)
RS-232
-13V ~ 13V로 변화하며 +/- 3V ~ +/- 25V 까지 허용
컴퓨터나 주변장치에 종종 사용
02. SCI통신(Serial Communication Interface)
통신속도 설정
•buad rate : 시리얼 라인으로 전송되는 데이터 속도
-1200, 2400, 4800, 19200, 38400, 57600, 115200 으로 나뉨 ( LSPCLK=25MHz
)
02. SCI통신(Serial Communication Interface)
•SCIA : 현재 DSP와 PC간에 시리얼통신에 사용
•SCIB : 블루투스 등 다른통신에 사용
•SCITXD
SCI 전송 output pin
•SCIRXD
SCI 수신 input pin
02. SCI통신(Serial Communication Interface)
02. SCI통신(Serial Communication Interface)
•7이므로 8개의 비트를 보내겠다.
• 0이면 1 stop bits
•SWRESET
0 : SCI모듈의 플래그 값들을 모두 초기화
1 : 플래그 값이 SCI모듈의 상태에 따라 변화
•TXENA : 송신 사용 여부 설정
•RXENA : 수신 사용 여부 설정
1 :SCITXEMU와 SCITXBUF 로부터 데이터 출력/입력을 내보냄
0: SCITXEMU와 SCITXBUF 로부터 데이터 출력/입력을 차단
02. SCI통신(Serial Communication Interface)
•BRR115200 =26
•통신속도 = LSPCLK/[(레지스터값+1)*8]
02. SCI통신(Serial Communication Interface)
•RXBKINTENA = 1 : 수신인터럽트 허용
•TXINTENA = 0 : 송신 인터럽트 비허용
•SCIFFTX : SCI FIFO Register[transmit]
•SCIRST
•0 : 수신/송신 FIFO채널 초기화
•1 : 다시 재기능
•TXFIFO Reset
•0 : 다시 활성화
•1 : 송신 FIFO포인터 초기화
02. SCI통신(Serial Communication Interface)
•ABDCLR : 인터럽트에서 SCIFFCT레지스터의 ABD CLR비트를
1로 써주어 ABD비트를 0으로 클리어 해주고, CDC비트도
0으로 클리어 해주어야 한다. 마지막으로 수신 된 문자를
읽어온다
02. SCI통신(Serial Communication Interface)
DSP와 PC간의 SCI통신을 위한 소스
02. SCI통신(Serial Communication Interface)
통신결과
• pc와 dsp 간의 통신
- pc에서 입력해준 값을 terminal
을 통해 보여주고 dsp에서 받은
값을 terminal에서 보여준다.

More Related Content

What's hot

I2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingI2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingBhargav Kakadiya
 
電路學 - [第五章] 一階RC/RL電路
電路學 - [第五章] 一階RC/RL電路電路學 - [第五章] 一階RC/RL電路
電路學 - [第五章] 一階RC/RL電路Simen Li
 
Netmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW ArchitectureNetmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW ArchitectureChris Changmo Yoo
 
Vlsi techniques
Vlsi techniquesVlsi techniques
Vlsi techniquesarpit1010
 
Redes NGN - Next Generation Networks
Redes NGN - Next Generation NetworksRedes NGN - Next Generation Networks
Redes NGN - Next Generation NetworksFrederico Madeira
 
Scaling Beyond 100G With 400G and 800G
Scaling Beyond 100G With 400G and 800GScaling Beyond 100G With 400G and 800G
Scaling Beyond 100G With 400G and 800GAPNIC
 
電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路Simen Li
 
Benchmarking of indoor localization and tracking systems (LTSs)
Benchmarking of indoor localization and tracking systems (LTSs)Benchmarking of indoor localization and tracking systems (LTSs)
Benchmarking of indoor localization and tracking systems (LTSs)Kurata Takeshi
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)Claudia Sin
 
A Guide to Peering on the Internet
A Guide to Peering on the InternetA Guide to Peering on the Internet
A Guide to Peering on the InternetRichard Steenbergen
 
2019 3 testing and verification of vlsi design_sta
2019 3 testing and verification of vlsi design_sta2019 3 testing and verification of vlsi design_sta
2019 3 testing and verification of vlsi design_staUsha Mehta
 
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyBandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyOlaf Reitmaier Veracierta
 
Porvoo sukututkimus MP 2015-1029
Porvoo sukututkimus MP 2015-1029Porvoo sukututkimus MP 2015-1029
Porvoo sukututkimus MP 2015-1029Marja Pirttivaara
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment RoutingAPNIC
 
IC Design of Power Management Circuits (IV)
IC Design of Power Management Circuits (IV)IC Design of Power Management Circuits (IV)
IC Design of Power Management Circuits (IV)Claudia Sin
 
FTTx Splice Plan
FTTx Splice PlanFTTx Splice Plan
FTTx Splice PlanBALAJI K
 

What's hot (20)

I2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingI2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacing
 
Lte throughput
Lte throughputLte throughput
Lte throughput
 
電路學 - [第五章] 一階RC/RL電路
電路學 - [第五章] 一階RC/RL電路電路學 - [第五章] 一階RC/RL電路
電路學 - [第五章] 一階RC/RL電路
 
Thesis of sdh
Thesis of sdhThesis of sdh
Thesis of sdh
 
Netmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW ArchitectureNetmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW Architecture
 
Vlsi techniques
Vlsi techniquesVlsi techniques
Vlsi techniques
 
Redes NGN - Next Generation Networks
Redes NGN - Next Generation NetworksRedes NGN - Next Generation Networks
Redes NGN - Next Generation Networks
 
Scaling Beyond 100G With 400G and 800G
Scaling Beyond 100G With 400G and 800GScaling Beyond 100G With 400G and 800G
Scaling Beyond 100G With 400G and 800G
 
電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路電路學 - [第六章] 二階RLC電路
電路學 - [第六章] 二階RLC電路
 
Benchmarking of indoor localization and tracking systems (LTSs)
Benchmarking of indoor localization and tracking systems (LTSs)Benchmarking of indoor localization and tracking systems (LTSs)
Benchmarking of indoor localization and tracking systems (LTSs)
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)
 
A Guide to Peering on the Internet
A Guide to Peering on the InternetA Guide to Peering on the Internet
A Guide to Peering on the Internet
 
ApresentaçãO Mpls
ApresentaçãO MplsApresentaçãO Mpls
ApresentaçãO Mpls
 
2019 3 testing and verification of vlsi design_sta
2019 3 testing and verification of vlsi design_sta2019 3 testing and verification of vlsi design_sta
2019 3 testing and verification of vlsi design_sta
 
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyBandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
 
Porvoo sukututkimus MP 2015-1029
Porvoo sukututkimus MP 2015-1029Porvoo sukututkimus MP 2015-1029
Porvoo sukututkimus MP 2015-1029
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment Routing
 
OPEN STA
OPEN STAOPEN STA
OPEN STA
 
IC Design of Power Management Circuits (IV)
IC Design of Power Management Circuits (IV)IC Design of Power Management Circuits (IV)
IC Design of Power Management Circuits (IV)
 
FTTx Splice Plan
FTTx Splice PlanFTTx Splice Plan
FTTx Splice Plan
 

Similar to Maze통신교육 sci

Maze통신교육 i2c
Maze통신교육   i2cMaze통신교육   i2c
Maze통신교육 i2cgeonhee kim
 
Maze통신교육 can
Maze통신교육   canMaze통신교육   can
Maze통신교육 cangeonhee kim
 
Netmanias L2,L3 Training (1) L2 Ethernet
Netmanias L2,L3 Training (1) L2 EthernetNetmanias L2,L3 Training (1) L2 Ethernet
Netmanias L2,L3 Training (1) L2 EthernetChris Changmo Yoo
 
[엄마정치 메이커팀] 두번째 모임_2018_01_27
[엄마정치 메이커팀] 두번째 모임_2018_01_27[엄마정치 메이커팀] 두번째 모임_2018_01_27
[엄마정치 메이커팀] 두번째 모임_2018_01_27yuna cho
 
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoSNetmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoSChris Changmo Yoo
 
불루투스 기술 및 활용
불루투스 기술 및 활용불루투스 기술 및 활용
불루투스 기술 및 활용활 김
 
Mikrotic CCR1036 라우팅 설정
Mikrotic CCR1036 라우팅 설정Mikrotic CCR1036 라우팅 설정
Mikrotic CCR1036 라우팅 설정ymtech
 
코위버.2016.10.Flexible Grid ROADM 기술.pdf
코위버.2016.10.Flexible Grid ROADM 기술.pdf코위버.2016.10.Flexible Grid ROADM 기술.pdf
코위버.2016.10.Flexible Grid ROADM 기술.pdfEuncheolPark1
 
소켓프로그래밍 기초요약
소켓프로그래밍 기초요약소켓프로그래밍 기초요약
소켓프로그래밍 기초요약세빈 정
 
스트리밍 프로토콜
스트리밍 프로토콜스트리밍 프로토콜
스트리밍 프로토콜greenday96
 
원준갓의 IoT 수업
원준갓의 IoT 수업원준갓의 IoT 수업
원준갓의 IoT 수업Won Jun Song
 
Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명진우 이
 
Beacon ble.-leejunwoo@gmail.com
Beacon ble.-leejunwoo@gmail.comBeacon ble.-leejunwoo@gmail.com
Beacon ble.-leejunwoo@gmail.comJunwoo Lee
 
아두이노 2015-2 한동대학교 공학설계입문
아두이노 2015-2 한동대학교 공학설계입문아두이노 2015-2 한동대학교 공학설계입문
아두이노 2015-2 한동대학교 공학설계입문Sangjun Han
 
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직Hyunjik Bae
 
Comm manual kor(dasa sigma [rev.c])(2)
Comm manual kor(dasa sigma [rev.c])(2)Comm manual kor(dasa sigma [rev.c])(2)
Comm manual kor(dasa sigma [rev.c])(2)ganeshtajane
 
사물인터넷 노트5_센서네트워크
사물인터넷 노트5_센서네트워크사물인터넷 노트5_센서네트워크
사물인터넷 노트5_센서네트워크Dong Hwa Jeong
 
Icmp Attak Against Tcp
Icmp Attak Against TcpIcmp Attak Against Tcp
Icmp Attak Against Tcpxyzlee
 

Similar to Maze통신교육 sci (20)

Maze통신교육 i2c
Maze통신교육   i2cMaze통신교육   i2c
Maze통신교육 i2c
 
Maze통신교육 can
Maze통신교육   canMaze통신교육   can
Maze통신교육 can
 
Netmanias L2,L3 Training (1) L2 Ethernet
Netmanias L2,L3 Training (1) L2 EthernetNetmanias L2,L3 Training (1) L2 Ethernet
Netmanias L2,L3 Training (1) L2 Ethernet
 
[엄마정치 메이커팀] 두번째 모임_2018_01_27
[엄마정치 메이커팀] 두번째 모임_2018_01_27[엄마정치 메이커팀] 두번째 모임_2018_01_27
[엄마정치 메이커팀] 두번째 모임_2018_01_27
 
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoSNetmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoS
 
불루투스 기술 및 활용
불루투스 기술 및 활용불루투스 기술 및 활용
불루투스 기술 및 활용
 
Mikrotic CCR1036 라우팅 설정
Mikrotic CCR1036 라우팅 설정Mikrotic CCR1036 라우팅 설정
Mikrotic CCR1036 라우팅 설정
 
코위버.2016.10.Flexible Grid ROADM 기술.pdf
코위버.2016.10.Flexible Grid ROADM 기술.pdf코위버.2016.10.Flexible Grid ROADM 기술.pdf
코위버.2016.10.Flexible Grid ROADM 기술.pdf
 
소켓프로그래밍 기초요약
소켓프로그래밍 기초요약소켓프로그래밍 기초요약
소켓프로그래밍 기초요약
 
스트리밍 프로토콜
스트리밍 프로토콜스트리밍 프로토콜
스트리밍 프로토콜
 
원준갓의 IoT 수업
원준갓의 IoT 수업원준갓의 IoT 수업
원준갓의 IoT 수업
 
Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명
 
Beacon ble.-leejunwoo@gmail.com
Beacon ble.-leejunwoo@gmail.comBeacon ble.-leejunwoo@gmail.com
Beacon ble.-leejunwoo@gmail.com
 
아두이노 2015-2 한동대학교 공학설계입문
아두이노 2015-2 한동대학교 공학설계입문아두이노 2015-2 한동대학교 공학설계입문
아두이노 2015-2 한동대학교 공학설계입문
 
Avr lecture6
Avr lecture6Avr lecture6
Avr lecture6
 
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직
KGC 2014: 클라이언트 개발자를 위한 컴퓨터 네트워크 기초 배현직
 
Avr lecture1
Avr lecture1Avr lecture1
Avr lecture1
 
Comm manual kor(dasa sigma [rev.c])(2)
Comm manual kor(dasa sigma [rev.c])(2)Comm manual kor(dasa sigma [rev.c])(2)
Comm manual kor(dasa sigma [rev.c])(2)
 
사물인터넷 노트5_센서네트워크
사물인터넷 노트5_센서네트워크사물인터넷 노트5_센서네트워크
사물인터넷 노트5_센서네트워크
 
Icmp Attak Against Tcp
Icmp Attak Against TcpIcmp Attak Against Tcp
Icmp Attak Against Tcp
 

Recently uploaded

A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)Tae Young Lee
 
Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Wonjun Hwang
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionKim Daeun
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Wonjun Hwang
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Kim Daeun
 

Recently uploaded (6)

A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)
 
Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
 

Maze통신교육 sci

  • 1. 통신 교육 – SCI통신 MAZE SCI 통신 (23기 우경은)
  • 2. 개요 TMS320F28x 프로세서에 탐재되는 통신회로 중 SPI/SCI/I2C/CAN에 대한 특징과 동작 구조를 이해하고 통신을 해보자는 의미에서 공부한다.
  • 3. 목차 01. SPI 통신 02. SCI 통신 03. I2C 통신 04. CAN통신
  • 4. 02. SCI통신(Serial Communication Interface) SCI란 •Serial Communications Interface로 병렬 데이터의 형태를 직렬 방식으로 전환하여 데이터를 전송하는 컴퓨터 하드웨어의 일종이다. •장거리 통신이 가능한 범용 비동기식 직렬통신방식이다 •일반적으로 UART(Universal Asynchronous Receiver/Transmitter)로 알려져 있다. •SCI통신회로는 TX,RX로 이루어져 있다. •주로 보드간 중장거리 통신에 사용된다. 이를 위해서는 별도의 트랜시버 IC가 필요하다.
  • 5. 02. SCI통신(Serial Communication Interface) 데이터 송수신 형태 •데이터 비트 : 실제 전송할 데이터 •패리티 비트 : 단순한 저레벨 에러 보장 방법 •동기화 비트 - 시작비트 : 통신의 시작 (1bit) - 종료비트 : 통신의 끝 (1bit, 1.5bit, 2bit)
  • 6. 02. SCI통신(Serial Communication Interface) TTL (transistor-transistor Level) serial signal •마이크로 컨트롤러의 동작 전압에 의해 변화하는데 보통 0V~3.3V 또는5V •임베디드 회로에서 구현하기 간편
  • 7. 02. SCI통신(Serial Communication Interface) RS-232 -13V ~ 13V로 변화하며 +/- 3V ~ +/- 25V 까지 허용 컴퓨터나 주변장치에 종종 사용
  • 8. 02. SCI통신(Serial Communication Interface) 통신속도 설정 •buad rate : 시리얼 라인으로 전송되는 데이터 속도 -1200, 2400, 4800, 19200, 38400, 57600, 115200 으로 나뉨 ( LSPCLK=25MHz )
  • 9. 02. SCI통신(Serial Communication Interface) •SCIA : 현재 DSP와 PC간에 시리얼통신에 사용 •SCIB : 블루투스 등 다른통신에 사용 •SCITXD SCI 전송 output pin •SCIRXD SCI 수신 input pin
  • 11. 02. SCI통신(Serial Communication Interface) •7이므로 8개의 비트를 보내겠다. • 0이면 1 stop bits •SWRESET 0 : SCI모듈의 플래그 값들을 모두 초기화 1 : 플래그 값이 SCI모듈의 상태에 따라 변화 •TXENA : 송신 사용 여부 설정 •RXENA : 수신 사용 여부 설정 1 :SCITXEMU와 SCITXBUF 로부터 데이터 출력/입력을 내보냄 0: SCITXEMU와 SCITXBUF 로부터 데이터 출력/입력을 차단
  • 12. 02. SCI통신(Serial Communication Interface) •BRR115200 =26 •통신속도 = LSPCLK/[(레지스터값+1)*8]
  • 13. 02. SCI통신(Serial Communication Interface) •RXBKINTENA = 1 : 수신인터럽트 허용 •TXINTENA = 0 : 송신 인터럽트 비허용 •SCIFFTX : SCI FIFO Register[transmit] •SCIRST •0 : 수신/송신 FIFO채널 초기화 •1 : 다시 재기능 •TXFIFO Reset •0 : 다시 활성화 •1 : 송신 FIFO포인터 초기화
  • 14. 02. SCI통신(Serial Communication Interface) •ABDCLR : 인터럽트에서 SCIFFCT레지스터의 ABD CLR비트를 1로 써주어 ABD비트를 0으로 클리어 해주고, CDC비트도 0으로 클리어 해주어야 한다. 마지막으로 수신 된 문자를 읽어온다
  • 15. 02. SCI통신(Serial Communication Interface) DSP와 PC간의 SCI통신을 위한 소스
  • 16. 02. SCI통신(Serial Communication Interface) 통신결과 • pc와 dsp 간의 통신 - pc에서 입력해준 값을 terminal 을 통해 보여주고 dsp에서 받은 값을 terminal에서 보여준다.