
NY6 User Manual
Ver 1.3 2019/03/28
21
IR carrier polarity can be initial low or high according to data value. Moreover, the IR output can provide
large sink current or not according to the mask option, which is used to determine output sink current
described above.
The inputs of voltage comparator are designated to PA0/PA1 by option. Users can enable comparator
through $ONOFF register for analog detection application.
SPI associated pins are allocated PB0 to CSb, PB1 to SCK, PB2 to MOSI and PB3 to MISO. NY6 plays as
master part to control SPI flash. Also, NY6 supports two modes, User mode for normal read back or write in
and Auto-play mode for automatically reading back speech data from SPI flash. For Auto-play Mode, NY6
offers this function to auto read back voice data to play, only for channel 0. Users have to finish a sequence
of setting steps for voice pattern and set PLAY. For details, please refer to Chapter 2.10.
2.7.1 Pull-High Input Mode
Pull-high Input Mode Configuration
Pad status of PA~PF, which are set as input mode, can be read in by MVTA. If the pads are not
connected, an internal pull-high resistor will be optioned to pull the pad toward supply voltage. All I/O
pins set as input mode can be used to wake-up the system, and the wake-up procedure will be
launched if the comparison between PTLH and pad status is unmatched. Therefore, users have to store
the current pad status into PTLH before entering Halt or Slow mode. The system will be waked-up when
pad voltage change is detected.
2.7.2 Floating Input Mode
It is similar to the pull-high input mode except the internal pull-high resistor is not connected. User
should apply external pull-high resistor or pull-low resistor for high-resistance switch applications.