Freescale S08JS16 8-bit MCU Family
Freescale MC9S08JS16/8 is an entry-level 8-bit USB MCU family expressly designed for cost-effective wireless applications and PC peripherals. The JS16 provides an integrated full-speed USB 2.0 device controller and USB transceiver, thus allowing to reduce the need for external components. Freescale 8-bit entry-level MCU family is characterized by an easy-to-use hardware and software solution, so that design and development activities can be performed in a rapid and easy way.
MC9S08JS16/8 main features
This family of MCU has several outstanding features, which can be summarized as follows:
- Integrated full-speed USB 2.0 controller and USB transceiver able to operate at 12 Mbps with a dedicated on chip 3.3V regulator. The USB device supports control, interrupt, isochronous and bulk transfer mode. Support is provided for endpoint 0 and up to 6 additional endpoints
- Core processor based on the 48 MHz HCS08, corresponding to an internal bus frequency of 24 MHz. Reliable performance available on all the supply voltage range (2.7V to 5.5V) and temperature range (-40 ºC to +85 ºC)
- Up to 16 KB of on-chip flash memory usable on all power supply and temperature ranges
- Up to 512 B of SRAM offering a security circuitry to prevent unauthorized access to the random access memory
- 256 B of USB RAM providing data buffering for a more efficient and rapid data transfer
- Multiple purpose clock generation (MCG): PLL and FLL, internal reference clock with trim adjustment
- Several clock source options available: crystal, resonator, and external clock
- Other communication interfaces such as:
- Serial Communication Interface (SCI) with optional 13 bit break; allows full-duplex, non-return to zero (NRZ) communication, LIN Master extended break generation, LIN slave extended break detection, wake-up on active edge
- Serial Peripheral Interface (SPI) with 8- or 16-bit selectable interface with receive data buffer (RDB) hardware match function
- 8-pin keyboard interrupt module (KBI) with selectable polarity
- One 8-bit modulo timer (MTIM) with 8-bit prescaler and overflow interrupt
- Up to 2-channel 16-bit timer/pulse-width modulator (TPM): they can be configured for buffered, centered PWM (CPWM), and allow selectable input capture and output compare
- One hardware CRC circuit generator using 16-bit shift register. This module implements the 16-bit CRC-CCITT polynomial: x16+x12+x5+1
- 8-bit Real Time Counter (RTC) with binary or decimal based prescaler
- 12 general purpose I/O pins and 2 output only pins. Pull-up on ports can be software selected for input pins; for output pins, slew rate and drive strength can be software selected, as well
- ROM based USB bootloader able to erase and program the flash memory contents without requiring additional development tools: using Freescale PC GUI, the firmware update procedure can be conducted in an easy and straight manner. Working with PC GUI, the user can:
- mass erase the entire flash array
- partial erase flash array: all the flash contents are erased except for the first 1 KB block
- program flash contents
- reset the MCU
The USB bootoloader feature requires an external oscillator at one of the following frequencies: 2, 4, 6, 8, 12, or 16 MHz. The USB descriptors have a fixed value (VID is 0x15A2 and PID is 0x 0038). The full-speed USB 2.0 interface is very fast, thus allowing 60 KB of flash memory to be programmed in 2-3 seconds, even faster than a connection performed with a BDM cable. The bootloader uses only few MCU resources: the code is less than 1 KB, and only 70 bytes of RAM are used. The bootloader code resides in the upper addresses of flash memory, between 0xFC00 and 0xFFAF and this set of addresses must be protected in order to avoid accidentally erasing the bootloader code.
The following picture shows the system environment for a USB bootloader

- Single-wire background debug interface
- On-chip in-circuit emulator (ICE) debug with real-time bus capture capability
- Available in 24QFN and 20SOIC packages
- Low voltage detection with reset or interrupt
- Illegal opcode and illegal address detection: upon detection of these events the processor resets to recover a known and stable state
- Flash block protection
- Watchdog Computer Operating Properly (COP) module able to operate either with the bus clock or with a dedicated 1 KHz internal clock source: this circuit provides an additional system protection by resetting the MCU o a known state
- Two USB stacks available: The USB-MINI stack by Freescale and the USB-LITE stack by CMX. These stacks are complimentary (subject to license agreement) and are provided with source code. CMX USB stack is developed by CMX System, Inc. and can be downloaded here
The corresponding block diagram which lists all those features is depicted in the following picture:
Target applications
Typical applications for this family of MCU are:
- PC peripherals
- Wireless keyboard/mouse receiver
- Wireless adapter
- USB dongle
- SD card reader
- RS-232 to USB bridge
- Remote control
- UPS
Freescale MC9S08JS16/8 MCU family is software compatible with other devices belonging to the Controller Continuum, providing a direct migration path to USB microcontrollers with higher performance.
Development tools
Freescale offers two types of development systems:
- the background debug controller (BDC): it is the primary debug interface for development, allowing non intrusive access to memory and CPU register contents; support for breakpoint and single instruction trace are also provided. BDC is a single-wire debug interface
- the on-chip debug module (DBG). Devices which are based on the HCS08 core do not have external address and data buses, so a debug system has been build directly on the chip to allow external access to the MCU execution behavior for debugging purpose. The debug system is based on a 8-stage FIFO which stores address and data bus information, and a configurable trigger that decides which data have to be captured and stored
Reference
S08JS: 8-bit Microcontroller Family
CONTACT REQUEST
If you want to know more about this Freescale product, please submit your request to Arrow Italy using this form.
NOTE: this form is valid ONLY for Companies or Customers based in Italy and working in the Italian area.
- slovati's blog
- 666 reads



Post new comment