2008年6月21日 星期六

44B0xEmbeded System lab 1-1

S3C44B0X主要的功能有:
·2.5V Static ARM7TDMI CPU core with 8KB cache . (SAMBA II bus architecture up to 66MHz)
· External memory controller. (FP/EDO/SDRAM Control, Chip Select logic)
· LCD controller (up to 256 color DSTN) with 1-ch LCD-dedicated DMA.
· 2-ch general DMAs / 2-ch peripheral DMAs with external request pins
· 2-ch UART with handshake(IrDA1.0, 16-byte FIFO) / 1-ch SIO· 1-ch multi-master IIC-BUS controller
· 1-ch IIS-BUS controller
· 5-ch PWM timers & 1-ch internal timer
· Watch Dog Timer
· 71 general purpose I/O ports / 8-ch external interrupt source
· Power control: Normal, Slow, Idle, and Stop mode
· 8-ch 10-bit ADC.· RTC with calendar function.· On-chip clock generator with PLL.

S3C44B0X 共有 71 多功能的I/O Port,主要可以分成7個Group:
— Two 9-bit input/output ports. (Port E and F)
— Two 8-bit input/output ports. (Port D and G)
— One 16-bit input/output port. (Port C)— One 10-bit output port. (Port A)
— One 11-bit output port. (Port B)EVM板上有3個LED在PortC中的第115到117隻腳,也就是115 pin DATA19/IISCLK/GPC3116 pin DATA18/IISDI/GPC2117 pin DATA17/IISDO/GPC1
首先想要控制Led就必須先了解3個Register
PCONC 0x01D20010: port control register.決定多功能pin I/O的功能。
00:input 01:output.
PDATC 0x01D20014: port data register.
如果是輸出port,register中的資料就是輸出的資料,如果是輸入port就是資料讀取的register。PUPC 0X01D20018: pull-up resistor. 0:pull-up resistor enable.待續...

沒有留言: