background image

Key Phrase Detection on HM01B0 UPduino Shield Demonstration 
User Guide
 

© 2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at 

www.latticesemi.com/legal

All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. 

 

FPGA-UG-02094-1.0 

Disclaimers 

Lattice makes no warranty, representation, or guarantee regarding the accuracy of information contained in this document or the suitability of its 
products for any particular purpose. All information herein is provided AS IS and with all faults, and all risk associated with such information is entirely 
with Buyer. Buyer shall not rely on any data and performance specifications or parameters provided herein. Products sold by Lattice have been 
subject to limited testing and it is the Buyer's responsibility to independently determine the suitability of any products and to test and verify the 
same. No Lattice products should be used in conjunction with mission- or safety-critical or any other application in which the failure of Lattice’s 
product could create a situation where personal injury, death, severe property or environmental damage may occur. The information provided in this 
document is proprietary to Lattice Semiconductor, and Lattice reserves the right to make any changes to the information in this document or to any 
products at any time without notice. 

Summary of Contents for HM01B0 UPduino Shield

Page 1: ...Key Phrase Detection on HM01B0 UPduino Shield Demonstration User Guide FPGA UG 02094 1 0 October 2019 ...

Page 2: ...AS IS and with all faults and all risk associated with such information is entirely with Buyer Buyer shall not rely on any data and performance specifications or parameters provided herein Products sold by Lattice have been subject to limited testing and it is the Buyer s responsibility to independently determine the suitability of any products and to test and verify the same No Lattice products s...

Page 3: ...Introduction 5 2 Functional Description 5 3 Demo Setup 5 4 Programming Key Phrase Detection Demo on iCE40 SPI Flash 6 5 Running the Key Phrase Detection Demo 12 Technical Support 13 Revision History 14 Figures Figure 2 1 Key Phrase Detection Demo Diagram 5 Figure 4 1 Create a New Blank Project 6 Figure 4 2 Radiant Programmer Initial Project Window 7 Figure 4 3 Radiant Programmer iCE40 UltraPlus De...

Page 4: ...emarks or registered trademarks of their respective holders The specifications and information herein are subject to change without notice 4 FPGA UG 02094 1 0 Acronyms in This Document A list of acronyms used in this document Acronym Definition BNN Binary Neural Network FPGA Field Programmable Gate Array LED light emitting diode MDP Mobile Development Platform SOIC Small Outline Integrated Circuit...

Page 5: ...mentation using our Compact CNN soft IP which is used in key phrase detection 2 Functional Description In this demo an LED indicates when a sample key phrases Seven Marvin On and Happy are detected When the microphone detects the key phrase the LED indicator turns ON When the microphone does not detect a key phrase the LED stays OFF Figure 2 1 shows the diagram of the Key Phrase Detection demo The...

Page 6: ...provides the procedure for programming the SPI Flash on the Himax HM01B0 UPduino Shield Board Two different files should be programmed into the SPI Flash These files are programmed to the same SPI Flash but at different addresses Bitstream Firmware To program the SPI Flash in Radiant Programmer 1 Connect the Himax HM01B0 UPduino Shield board to the PC using a micro USB cable Important The onboard ...

Page 7: ... specifications and information herein are subject to change without notice FPGA UG 02094 1 0 7 Figure 4 2 Radiant Programmer Initial Project Window 5 To program three bin files as needed in this demo add two more devices by clicking the button on the toolbar 6 In the Radiant Programmer main interface set Device Family to iCE40 UltraPlus for all three cases as shown in Figure 4 3 Figure 4 3 Radian...

Page 8: ... the Device Properties dialog box apply the settings below that are common to the three files to program a Under Device Operation select the options below Target Memory External SPI Flash Memory Port Interface SPI Access Mode Direct Programming Operation Erase Program Verify b Under SPI Flash Options select the options below Family SPI Serial Flash Vendor Winbond Device W25Q32 Package 8 pin SOIC 1...

Page 9: ...d information herein are subject to change without notice FPGA UG 02094 1 0 9 Figure 4 5 Bitstream File Settings 11 To program the filter binary firmware for generating spectrogram select the options below as shown in Figure 4 6 a Under Programming Options select the key phrase filter bin firmware generated by SensAI tool b Click Load from File to update the Data file size Bytes value Change the d...

Page 10: ...information herein are subject to change without notice 10 FPGA UG 02094 1 0 Figure 4 6 Filter Firmware Bin File Setting 12 To program firmware bin that contains model architecture select the options below as shown in Figure 4 6 a Under Programming Options select the key phrase firmware binary file generated by SensAI tool b Click Load from File to update the Data file size Bytes value Change the ...

Page 11: ...sclaimers are as listed at www latticesemi com legal All other brand or product names are trademarks or registered trademarks of their respective holders The specifications and information herein are subject to change without notice FPGA UG 02094 1 0 11 Figure 4 7 Firmware Bin File Settings 13 In the main interface click Program Device to program the binary file ...

Page 12: ...tions and information herein are subject to change without notice 12 FPGA UG 02094 1 0 5 Running the Key Phrase Detection Demo To run the basic demo and observe results on the board 1 Power ON the Himax HM01B0 UPduino Shield board 2 State the keyword in front of the board LEDs turn on Refer to Figure 5 1 for the LED information Figure 5 1 Microphone and LED Location D1 turns ON if an active audio ...

Page 13: ...nd disclaimers are as listed at www latticesemi com legal All other brand or product names are trademarks or registered trademarks of their respective holders The specifications and information herein are subject to change without notice FPGA UG 02094 1 0 13 Technical Support For assistance submit a technical support case at www latticesemi com techsupport ...

Page 14: ...tents and disclaimers are as listed at www latticesemi com legal All other brand or product names are trademarks or registered trademarks of their respective holders The specifications and information herein are subject to change without notice 14 FPGA UG 02094 1 0 Revision History Revision 1 0 October 2019 Section Change Summary All Initial release ...

Page 15: ...www latticesemi com ...

Reviews: