Nuvoton ARM Cortex M0: NUC140

ARM adalah arsitektur prosesor 32 bit yang dibuat oleh ARM Holding dan dilisensikan untuk diproduksi oleh berbagai vendor di dunia termasuk AMD, Atmel, Freescale, Nuvoton, Nvidia, NXP, Samsung, ST Micro, dan TI. Prosesor ARM digunakan pada perangkat smartphone, tablet, dan embedded system. Kini ARM menjadi arsitektur prosesor yang paling banyak diproduksi di dunia.

Seri arsitektur ARM terbaru terdiri dari 3 lini kelas penggunaan yaitu:

  • ARM CORTEX A untuk aplikasi umum
  • ARM CORTEX R untuk aplikasi real time
  • ARM CORTEX M yang setara dengan mikrokontroler

Deskripsi Umum

NuMicro NUC100 merupakan seri mikrokontroler 32-bit dengan inti ARM Cortex M0 yang tertanam atau menjadi satu didalamnya, digunakan dalam kontrol industri maupun aplikasi-aplikasi yang memerlukan media komunikasi yang beragam. Cortex M0 merupakan prosesor tertanam ARM 32-bit yang relatif baru. Seri NuMicro NUC100 terdiri dari NUC100, NUC120, NUC130 dan NUC140.

NuMicro™ NUC130 Automotive Line dilengkapi dengan fungsi CAN dengan Cortex™-M0 tertanam bekerja hingga frekuensi 50 MHz dengan kelengkapan 32K/64K/128K-byte embedded flash, 4K/8K/16K-byte embedded SRAM, dan 4Kbyte loader ROM untuk ISP. Juga dilengkapi dengan berbagai piranti periferal seperti Timers, Watchdog Timer, RTC, PDMA, UART, SPI, I2C, I2S, PWM Timer, GPIO, LIN, CAN, PS/2, ADC 12-bit, Komparator Analog, Kontroler Low Voltage Reset dan detektor Brown-out.

NuMicro™ NUC140 Connectivity Line dilengkapi dengan USB 2.0 full-speed dan fungsi CAN dengan Cortex™-M0 tertanam bekerja hingga frekuensi 50 MHz dengan kelengkapan 32K/64K/128K-byte embedded flash, 4K/8K/16Kbyte embedded SRAM, dan 4K-byte loader ROM untuk ISP. Juga dilengkapi dengan berbagai piranti periferal seperti Timers, Watchdog Timer, RTC, PDMA, UART, SPI, I 2C, I2S, PWM Timer, GPIO, LIN, CAN, PS/2, USB 2.0 FS Device, ADC 12-bit, Komparator analog, Kontroler Low Voltage Reset dan Detektor Brown-out.

Berikut ini tabel perbandingan keluarga NUC100 terkait dengan fasilitas komunikasi yang dimiliki masing-masing tipe NUC100.

tabel_1_1

Fitur-fitur NuMicro™ NUC140 – Connectivity Line

Core

  • ARM® Cortex™-M0 core runs up to 50 MHz
  • One 24-bit system timer
  • Supports low power sleep mode
  • Single-cycle 32-bit hardware multiplier
  • NVIC for the 32 interrupt inputs, each with 4-levels of priority
  • Serial Wire Debug supports with 2 watchpoints/4 breakpoints

Build-in LDO for wide operating voltage ranges from 2.5 V to 5.5 V

Flash Memory

  • 32K/64K/128K bytes Flash for program code
  • 4KB flash for ISP loader
  • Support In-system program (ISP) application code update
  • 512 byte page erase for flash
  • Configurable data flash address and size for 128KB system, fixed 4KB data flash for the 32KB and 64KB system
  • Support 2 wire ICP update through SWD/ICE interface
  • Support fast parallel programming mode by external programmer

SRAM Memory

  • 4K/8K/16K bytes embedded SRAM
  • Support PDMA mode

PDMA (Peripheral DMA)

  • Support 9 channels PDMA for automatic data transfer between SRAM and peripherals

Clock Control

  • Flexible selection for different applications
  • Built-in 22.1184 MHz high speed OSC for system operation
    • Trimmed to 1 % at +25 ℃ and VDD = 5 V
    • Trimmed to 3 % at -40 ℃ ~ +85 ℃ and VDD = 2.5 V ~ 5.5 V
  • Built-in 10 KHz low speed OSC for Watchdog Timer and Wake-up operation
  • Support one PLL, up to 50 MHz, for high performance system operation
  • External 4~24 MHz high speed crystal input for USB and precise timing operation
  • External 32.768 kHz low speed crystal input for RTC function and low power system operation

GPIO

  • Four I/O modes:
    • Quasi bi-direction
    • Push-Pull output
    • Open-Drain output
    • Input only with high impendence
  • TTL/Schmitt trigger input selectable
  • I/O pin can be configured as interrupt source with edge/level setting
  • High driver and high sink IO mode support

Timer

  • Support 4 sets of 32-bit timers with 24-bit up-timer and one 8-bit pre-scale counter
  • Independent clock source for each time
  • Provides one-shot, periodic, toggle and continuous counting operation modes
  • Support event counting function
  • Support input capture function

Watchdog Timer

  • Multiple clock sources
  • 8 selectable time out period from 1.6ms ~ 26.0sec (depends on clock source)
  • WDT can wake-up from power down or idle mode
  • Interrupt or reset selectable on watchdog time-out

RTC

  • Support software compensation by setting frequency compensate register (FCR)
  • Support RTC counter (second, minute, hour) and calendar counter (day, month, year)
  • Support Alarm registers (second, minute, hour, day, month, year)
  • Selectable 12-hour or 24-hour mode
  • Automatic leap year recognition
  • Support periodic time tick interrupt with 8 period options 1/128, 1/64, 1/32, 1/16, 1/8, 1/4, 1/2 and 1 second
  • Support wake-up function

PWM/Capture

  • Built-in up to four 16-bit PWM generators provide eight PWM outputs or four complementary paired PWM outputs
  • Each PWM generator equipped with one clock source selector, one clock divider, one 8-bit prescaler and one Dead-Zone generator for complementary paired PWM
  • Up to eight 16-bit digital Capture timers (shared with PWM timers) provide eight rising/falling capture inputs
  • Support Capture interrupt

UART

  • Up to three UART controllers
  • UART ports with flow control (TXD, RXD, CTS and RTS)
  • UART0 with 64-byte FIFO is for high speed
  • UART1/2(optional) with 16-byte FIFO for standard device
  • Support IrDA (SIR) and LIN function
  • Support RS-485 9-bit mode and direction control.
  • Programmable baud-rate generator up to 1/16 system clock
  • Support PDMA mode

SPI

  • Up to four sets of SPI controller
  • Master up to 32 MHz, and Slave up to 10 MHz (chip working @ 5V)
  • Support SPI master/slave mode
  • Full duplex synchronous serial data transfer
  • Variable length of transfer data from 1 to 32 bits
  • MSB or LSB first data transfer
  • Rx and Tx on both rising or falling edge of serial clock independently
  • 2 slave/device select lines when it is as the master, and 1 slave/device select line when it is as the slave
  • Support byte suspend mode in 32-bit transmission
  • Support PDMA mode
  • Support three wire, no slave select signal, bi-direction interface

I2C

  • Up to two sets of I 2C device
  • Master/Slave mode
  • Bidirectional data transfer between masters and slaves
  • Multi-master bus (no central master)
  • Arbitration between simultaneously transmitting masters without corruption of serial data on the bus
  • Serial clock synchronization allows devices with different bit rates to communicate via one serial bus
  • Serial clock synchronization can be used as a handshake mechanism to suspend and resume serial transfer
  • Programmable clocks allow versatile rate control
  • Support multiple address recognition (four slave address with mask option)

I2S

  • Interface with external audio CODEC
  • Operate as either master or slave mode
  • Capable of handling 8-, 16-, 24- and 32-bit word sizes
  • Mono and stereo audio data supported
  • I2S and MSB justified data format supported
  • Two 8 word FIFO data buffers are provided, one for transmit and one for receive
  • Generates interrupt requests when buffer levels cross a programmable boundary
  • Support two DMA requests, one for transmit and one for receive

CAN 2.0

  • Supports CAN protocol version 2.0 part A and B
  • Bit rates up to 1M bit/s
  • 32 Message Objects
  • Each Message Object has its won identifier mask
  • Programmable FIFO mode (concatenation of Message Object)
  • Maskable interrupt
  • Disabled Automatic Re-transmission mode for Time Triggered CAN applications
  • Support power down wake-up function

PS/2 Device Controller

  • Host communication inhibit and request to send detection
  • Reception frame error detection
  • Programmable 1 to 16 bytes transmit buffer to reduce CPU intervention
  • Double buffer for data reception
  • S/W override bus

USB 2.0 Full-Speed Device

  • One set of USB 2.0 FS Device 12Mbps
  • On-chip USB Transceiver
  • Provide 1 interrupt source with 4 interrupt events
  • Support Control, Bulk In/Out, Interrupt and Isochronous transfers
  • Auto suspend function when no bus signaling for 3 ms
  • Provide 6 programmable endpoints
  • Include 512 Bytes internal SRAM as USB buffer
  • Provide remote wake-up capability

EBI (External bus interface) support (100-pin and 64-pin Package Only)

  • Accessible space: 64KB in 8-bit mode or 128KB in 16-bit mode
  • Support 8-/16-bit data width
  • Support byte write in 16-bit data width mode

ADC

  • 12-bit SAR ADC with 700K SPS
  • Up to 8-ch single-end input or 4-ch differential input
  • Single scan/single cycle scan/continuous scan
  • Each channel with individual result register
  • Scan on enabled channels
  • Threshold voltage detection
  • Conversion start by software programming or external input
  • Support PDMA Mode

Analog Comparator

  • Up to two analog comparators
  • External input or internal bandgap voltage selectable at negative node
  • Interrupt when compare result change
  • Power down wake-up

One built-in temperature sensor with 1 ℃ resolution

Brown-Out detector

  • With 4 levels: 4.5 V/3.8 V/2.7 V/2.2 V
  • Support Brown-Out Interrupt and Reset option

Low Voltage Reset

  • Threshold voltage levels: 2.0 V

Operating Temperature: -40℃ ~85℃

Packages:

  • All Green package (RoHS)
  • LQFP 100-pin / 64-pin / 48-pin

Banyak sekali fasilitas atau fitur pada NUC140 tinggal bagaimana kita memanfaatkan se-optimal mungkin pada aplikasi-aplikasi yang kita rancang-bangun. Gambar berikut ini adalah diagram blok dari NUC140.

nuc140 block diagram

Untuk lebih jelasnya Anda bisa menggunakan rujukan di bawah ini terkait dengan pemilihan tipe-tipe keluarga NUC140 seri NUC100.

numicro_NUC140_selection

Pembahasan-pembahasan pada artikel selanjutnya akan saya buat sesederhana mungkin tanpa meninggalkan konsep-konsep terkait.

Berita terkait — Nuvoton launches NuMicro® Family —32-bit Microcontroller based on ARM® Cortex™-M0

Advertisements
This entry was posted in introduksi, nuc140 and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s