background image

Demo/Emulation Manual

 

NLP-5x Toolkits

 

 

© 2010 Sensory Inc. 

P/N 80-0314-A 

23 

 

 

Timers in Turbo Mode 

 
Timers #0, #1 and #3 will run twice as fast in Turbo Mode on the NLP-5x Demo/Emulation chipset than on the 
actual NLP-5x.   When not in Turbo Mode, they run at the same rate on both platforms. 
 
A global variable platform can be tested by software to determine when the program is running on the NLP-5x-
DE.  This is done automatically in library functions such as _SetupTimer0().  Here is an example of explicitly 
setting up timer 3 when in Turbo Mode, where the prescale value is selected based on the platform.  This 
example is from the Timers sample in the FluentChip™ 5 for NLP-5x library. 
 

if

 (_platform 

&

 

1

  timerCtrl 

=

 (timerCtrl 

&

 

0xff00

+

 

3

// Emulator: use prescale = 16 

else

 

  timerCtrl 

=

 (timerCtrl 

&

 

0xff00

+

 

2

// Real NLP-5x: prescale = 8 

 

 
Other Differences 

 

 

XM Mode (i.e., internal OTP memories disabled) is not emulated by the NLP-5x Demo/Emulation board. 

 

The Low Voltage Detect NMI Interrupt is not emulated. 

 

The NLP-5x has more interrupt channels than are emulated by the NLP-5x Demo/Emulation board.  
Normally, applications will not need to use these additional interrupt channels.  The FluentChip™ 5 for 
NLP-5x library will not use interrupt channels that cannot be emulated. 

 

The External Memory Interface is not electrically identical to the real NLP-5x, because it is emulated by 
an FPGA chip that has somewhat different characteristics, such as drive strength etc.  The NLP-5x-
Demo/Emulation board has permanent 200K-ohm pull-up resistors on the address, data, and control 
signals of the External Memory Interface, whereas the real NLP-5x can control whether each pull-up is 
present when the address and/or data lines are used as general purpose I/O pins. 

 

The NLP-5x Demo/Emulation board operating voltage is fixed at 3.3V. 

 

VSI403 Errata:   the VSI403 chip uses an earlier version of the ZSP processor than that used in the 
NLP-5x.  There are some problems in the VSI403 that have been fixed in the NLP-5x processor.  Some 
of these are discussed in the Emulator Features chapter of the NLP-5x datasheet.  The most important 
issue is that using a bitc, bits, or biti with the %ireq register may cause interrupts to be lost, and since 
the processor in the VSI403 uses edge-sensitive interrupts, the program may appear to “lock up” for 
lack of interrupts.  The solution is to re-register interrupts after using one of the listed problematic 
instructions.  Writing 0x1f to the miStatus register will re-register the 5 merged interrupt sources.  Most 
application level programs will not need to modify the %ireq register. 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Содержание NLP-5 Demo Series

Страница 1: ...NLP 5x Demo Emulation Board Manual For FluentChip 5 Technologies 2010 Sensory Inc P N 80 0314 A ...

Страница 2: ...s for NLP 5x 11 Step Five Building a Sample Program with the ZViewIDE 11 Demo Emulation Board Hardware 14 Default Setting of DIP Switches and Jumper Blocks 15 ON OFF Switch and the Power Supply Circuit 15 IO Summary and Allocations 16 LEDs and Pushbuttons 17 Serial Memory ICs 17 Parallel Memory IC 17 Audio Outputs 18 Microphone Circuit 18 USB 18 NLP 5x Demo Emulation Board Parts Locator 19 NLP 5x ...

Страница 3: ...tion SV plus speech and music synthesis MP3 decoding and a variety of other technologies QuickSynthesis 5 QS5 which allows speech to be compressed for low data rate synthesis SensoryLoader5 SL5 which is used to download programs to the NLP 5x Programming Verification Board This toolkit works in conjunction with ZView Tools for NLP 5x which includes the ZViewIDE and the ZView C compiler Quick T2SI ...

Страница 4: ...Reference Manual 80 0316 x Installing the ZViewIDE Installation Guide 80 0320 x NLP 5x Debugging with the ZViewIDE Quick Start Guide 80 0328 x Programming the NLP 5x Rapid Prototyping Module 80 0330 x NLP 5x Programming Verification Manual 80 0319 x NLP 5x Product Brief 80 0329 x Various other Design Notes Design Guides and Schematics ...

Страница 5: ...USB cable to the USB connector located on the bottom of the board near the lower left corner which is labeled PC LOADER There are three USB connectors near the lower left corner so be careful to connect to the correct one Note The port number assigned to the Virtual COM Port may change if you plug the USB cable into a different USB connector on your computer Note If a problem occurs with the USB c...

Страница 6: ...hange if you plug the USB cable into a different USB connector on your computer To find out the port number selected for the Virtual COM Port driver use the Device Manager in your PC s Administrative Tools Control Panel under Computer Management System Tools or System Properties on My Computer In the Device Manager the Virtual COM Port will appear in the section for Ports COM LPT as a USB Serial P...

Страница 7: ...ory Inc P N 80 0314 A 7 On the Port Settings tab click on Advanced The Advanced Settings window allows you to change the COM Port number While not necessary you can also change the latency setting to the minimum value 1 to improve upload performance ...

Страница 8: ...ard Use the pull down menu to select the correct COM port number QuickSynthesis 5 QuickSynthesis5 QS5 is the tool used to compress speech and sound effects for NLP 5x projects It has the ability to download projects to the NLP 5x Demo Emulation board for listening tests In order to use this feature you will need to select the correct COM port From QS5 click on the File menu and then select Options...

Страница 9: ...ns Window select the COM port for the NLP 5x Demo Emulation Board To use the download feature you will also need to select the FluentChip 5 for NLP 5x path The easiest way to do this is to click on the Find button in the Options window after you have installed the FluentChip 5 Library ...

Страница 10: ...omputer recognizes that a USB device is connected you will hear the USB device connect sound If you don t hear this sound or see the error message on the computer something went wrong If this happens it is probably because the FTDI USB drivers were not installed correctly Uninstall the FTDI USB drivers then install them again Place the On Off switch S4 in the ON position and confirm that the green...

Страница 11: ... is provided at the root of library which is where you should keep all project folders The folder is found at C Sensory FC5_0_3 workspace Copying the T2SI Sample Project to the Workspace Folder Let s start with the t2si sample Copy the entire t2si folder to the workspace folder After this has been done the t2si folder will be a sub folder of workspace C Sensory FC5_0_3 workspace t2si Note In addit...

Страница 12: ...t just right click on the project name in the DSP Projects window and select Rename Renaming the project also renames the project folder name on your disk however the executable name created by the compiler and linker tools will not change If you want to change the executable file name right click on the project name in the DSP Projects window again and select Properties In the Project Properties ...

Страница 13: ... file Right click t2si out in the DSP Projects window and select Open with then select SensoryLoader5 Note When you click on the Download button in the SL5 window or press the PROGRAM button on the D E board the 4 LEDs on the D E board should flash once with the left to right sequence If they blink quickly and continuously turn off the board with the ON OFF switch S4 wait a couple of seconds power...

Страница 14: ...fferences between the emulator and the real NLP 5x chip from application level programmers Because differences do exist it is necessary to verify all programs by programming an NLP 5x IC and running it on your application hardware or by using the NLP 5x Program Verification board 60 0263 The Demo Emulation board has another NLP 5x U8 which with the USB interface IC FT232BL U13 is used for download...

Страница 15: ...attery holder located on the bottom side of the board The On Off switch S4 is also located near the upper right corner of the board When this switch is in the ON position If the external power supply is plugged in the board is powered from the external power supply If the external power supply is not plugged in the board is powered from the on board batteries When the power is applied to the board...

Страница 16: ... P0 14 LCD Segment P0 15 LCD Segment P1 0 IO Wake Interrupt Comparator Line Input Audio Shutdown P1 1 Motor Stop Input LCD Segment P1 2 Button A P1 3 Button B P1 4 Motor PWM 2 Fwd Button C P1 5 Motor PWM 2 Rev Button D P1 6 Motor PWM 1 Fwd Motor PWM 1 Fwd USB Detect P1 7 Motor PWM 1 Rev Motor PWM 1 Rev USB Pull up P1 8 Comp Out Motor PWM 0 Fwd Motor PWM 0 Fwd P1 9 Comp Out Motor PWM 0 Rev Motor PW...

Страница 17: ...evices which will be connected to in parallel with LEDs and switches Connector CN8 This connector is provided to connect different port pins to the LEDs and switches To do this place the LED SW default DIP switch to the OFF position and make connections with hook up wires to CN8 from the CN3 connector Serial Memory ICs We have provided one 32Mbit Serial Flash IC AT45DB321D U23 and one 128Kbit Seri...

Страница 18: ...ard Disconnect the speaker cord from the mini plug jack on the PCB Cut into one side of the cord and insert a 200 Ohm potentiometer in series with the wire Microphone Circuit There are two on board microphones To use the external microphone plug the microphone cable into the microphone jack If you do the on board microphone will be disconnected from the circuit Microphone Power The microphones are...

Страница 19: ...Demo Emulation Manual NLP 5x Toolkits 2010 Sensory Inc P N 80 0314 A 19 NLP 5x Demo Emulation Board Parts Locator Top View ...

Страница 20: ...NLP 5x Toolkits Demo Emulation Manual 20 P N 80 0314 A 2009 Sensory Inc Bottom View ...

Страница 21: ... are also included in 80 0073 C19 01 C10 1 C23 1 3Vdd C32 01 NOTE3 3Vdd C5 1 NOTE1 Vdd_PWM AVdd R9 510 3Vdd C35 2 2uF NOTE7 3Vdd C39 4700pF 3V regulated NOTE2 Vdd_PWM C2 1 R8 2 2K C25 1 Recommended JTAG diagnostic port RST D3 1N4148 Recommended GND C20 01 C8 1 3Vdd C30 2 2uF NOTE3 RST C18 01 NOTE5 C24 10uF LS1 SPEAKER VDDINT U1 NLP 5x QFP176 26 1 174 175 6 8 9 12 10 13 14 2 176 18 15 16 5 17 19 21...

Страница 22: ...ess Speed for Instruction OTP Memory When the NLP 5x is configured to run at 40 MHz or less it does not have to be in Turbo Mode so the NLP 5x s Instruction OTP can be accessed at full speed In this case the VSI403 and NLP 5x throughput are matched When the NLP 5x is configured to run faster than 40MHz it must be in Turbo Mode In this mode the NLP 5x processor can run at full speed from Instructio...

Страница 23: ...ill not use interrupt channels that cannot be emulated The External Memory Interface is not electrically identical to the real NLP 5x because it is emulated by an FPGA chip that has somewhat different characteristics such as drive strength etc The NLP 5x Demo Emulation board has permanent 200K ohm pull up resistors on the address data and control signals of the External Memory Interface whereas th...

Страница 24: ...into any country prohibited by the United States Export Administration Act and the regulations there under f In the event that you fail to comply with this EULA 1 Sensory may terminate the license and you must destroy all copies of the Software and 2 You may be held liable for any claims by or damage to Sensory Inc whether incidental or consequential 4 Upgrades If this copy of the Software is an u...

Страница 25: ...s or the amount paid by you for the software that caused such damage b USA only some states do not allow the limitation or exclusion of liability for incidental of consequential damages so the above limitation or exclusion may not apply to you and you may also have other legal rights that vary from state to state 9 Basis of Bargain The Limited Warranty Exclusive Remedies and Limited Liability set ...

Страница 26: ...ce recording and playback and an entire suite of interactive robotic and sonic networking technologies The family is supported by a complete suite of evaluation and development toolkits that include the ability to quickly create speaker independent recognition sets in many languages SC6 Slave Processor and Tools The SC 691 is a standard slave synthesizer that accepts compressed speech data from ot...

Отзывы: