Thursday, May 21, 2009

MinggU yang seterusya...

Aku trus menjalani training, Lab pertama yang aku pegi Communication Lab dgn Abg ADZ..kat sne aku blajar Konsep Bluetooth..Mule2 yang kte tau mcm transfer lagu ke data ke mesti pkai Bluetooth tp Bgaimne cara penghantaranny? Tak bnyak yg aku tau, tp secara transmissionny aku pham la..Tp Cip Bluetooth ni kcik je..
Tapi yg aku tau, susah sbnarnye blajar Communication ni..

Pastu aku g training dgn Kak Zira dkt Digital Signal Processing (DSP) Lab.. kat Lab tu aku lajar psal Board je..nnt aku tunjukkan board yg mne satu erh..
Kak zira kate blajar basic je sebab xdek dlm modul aku mse sem 5 nnt..
so aku pon folloe up je ape yg k.zira ajar..

1.1.1 Digital Signal Processing

1) Study and processing of signals in digital domain using various algorithms




1.1.2 Applications



1) Communications
2) Control
3) Speech
4) Image processing
5) e.g. cellular phone, fax/modem, radio


Primary Concern of DSP– Real Time Signal Processing.
Analog based system – sensitive to temperature changes
DSP based system – less affected by environmental conditions
Cost Effective – easily reprogrammed

1.2 ABOUT THE HARDWARE


Figure 1.2.1: DSK BOARD

1) TM320C6711
a) Floating point processor
b) Special architecture
c) Harvard Architecture

2) VLIW

a) 150 MHz clock speed
b) Memory
c) Internal Memory 72Kb
d) 4Kb 1L Program Cache
e) 4Kb 1L Data Cache
f) 64Kb RAM
g) External Memory
h) 16MB SDRAM(2)
i) 128KB Flash ROM




3) AD535 codec
a)Sampling frequency 8KHz
b)Quantization 16bit level

4) Audio daughter card

a) Sampling frequency – 48KHz
b) Functional Units – (4 x 2)
c) .M – for multiply operations
d) .L - Logical and arithmetic operations
e) .S - Branch, bit manipulation, arithmetic operations
f) .D - for loading/storing

5) EDMA Controller

a) Transfer data to and from internal memory, peripherals or external devices in
the background of CPU operation

1) Parallel Port
2) Serial Port McBSP – 2







1.3 ABOUT THE SOFTWARE


Figure 1.3.1: CCS DSK-2 WINDOW DISPLAY


Code Composer Studio (CCS)
o Icon on desktop

Programming
o Parallel Assembly language
o Linear assembly
o C/C++ language

Our emphasis on
o C language – hence revise c language


1.4 STRUCTURE OF DSP PROGRAM


1) Main.c
a)Initializes the onboard audio codec
b)Sets up the ISR

2) Blocks.h
a)For block processing – provides constants
b)for changing the size of sampling buffer change the value of constant

3) Processing.c
a)Necessary functions and objects defined here
b)Called after buffer filled with data coming from ADC
c)After processing passed to the DAC

4) Vectors.asm
a)Entry for the ISR – a vector table

5) Lnk.cmd
a)Memory map
b)Arguments for linker (e.g. libraries)









1.5 MAIN DEBUGGING TOOLS

Memory viewer
a)Watch variables
b)Breakpoints
c)Animate
d)Graphs


1.5.1 Practical Work

1) Load, Compile ,Build and Run
dotp.pjt

a. Familiarize with various debugging tools by using it in this project.


1.5.2 General Instructions

a) Submit the lab0 quiz tomorrow.
b) Basic of C language must be revised for grasping the concepts easily.
c) Book - DSP Applications Using C and the TMS320C6x DSK – Rulph Chassaing


Seterusya,Aku training kat Microprocessor Lab..aku training dgn Kak Siti Fatimah..Aku blajar tulis coding dgn kak Siti..best...Mula2 alu blajar psal Board 68k..Aku buat lg Experiment2 yg kne tulis coding contohnye :
1)Times Sequence
2)Application in Traffic Lights


Kedua-dua Board ni berSambung ye..


















Pastu aku Familiar dgn Programmer Intergrated Circuit(PIC) PIC16F84 & PIC16F84A
Aku blajar knal kaki setiap IC..Kak CT pon pot-pet2 la bercerita psal PIC ni..
Then, aku buat experiment berkaitan dgn PIC..PIC ni sng skit, ade Port A ngan Port B je..Experiment yg pertama aku Blink LED..aku 8 Led utk Blink kan diorang ni..So, aku pon buat la Circuit tok Blink kesemua LED ni..Mcm2 colour aku ltak,Pastu aku taip coding kat Note,convertkan ke Hex File, pastu Download pkai Downloader..Downloader yg ade kat UTP ni, Cytron,Warp13 & Universal Programming..Dah download kat PIC, aku ubah kat circuit yg aku buat td..Then, jd la aku punye Projek yg pertama..

YG NI DOWNLOADER CYTRON

YG NI DOWNLOADER WARP13



YG NI PULAK DOWNLOADER UNIVERSAL PROGRAMMER





Ni la hasilnye Circuit yg aku buat pkai PIC16F84..


Pastu aku di familiarkan dgn PIC16F877..fuhhh PIC ni mmg susah gile..kalu PIC16F84 tu senang skit sebaba ade Port A ngan Port B je..tp Ni siap ade Port C ngan Port D skali..ade 40 kaki(pin) kat PIC ni..huh!!kne pasanh dgn berhati2..Tersilap pasang bleh hangus Lab..:)
Projek aku kali ni aku kne buat Circuit pkai PIC16F877 ni..paling Susah skali nk buat 7 Segment..kali ni kne tgk btol2 Pin mne nk kne msuk,port ape yg pkai..
aku kne knal btol2 pin mne yg kne aku msukkan..kalu x...jeng3..



CIRCUIT NI TOK BLINK KAN LED TU..



YG NI CIRCUIT 7 SEGMENT

No comments:

Post a Comment