Originally published on the Sienovo Engineering Blog. Sienovo is the overseas brand of 深圳信迈 (Shenzhen Xinmai), building edge AI computing solutions for industrial video analytics.
Table of Contents
This example is developed based on the Sienovo OMAPL138+SPARTAN6 evaluation board.
- Development Board Preparation 16
- Program Loading and Flashing 19
- CCS Project Creation, Compilation, and Import 55
- StarterWare Demo Examples 88
- DEMO - Comprehensive Example 89
- GPIO_LED - GPIO Output (LED) 93
- GPIO_KEY - GPIO Input (Key Interrupt) 93
- GPIO_KEY_EDMA - Key Triggered EDMA Event 94
- GPIO_KEY_TIMER_EventCombine - Key and Timer Interrupt 96
- TIMER - Timer 96
- TIMER_Dual_32-bit_Chained - Chained 32-bit Mode Timer/Counter 97
- TIMER_Dual_32-bit_UnChained - Independent 32-bit Mode Timer/Counter 99
- TIMER_Dual_32-bit_UnChained_4-bit_Prescaler - Independent 32-bit Mode / Additional 4-bit
4.14 RS485 - RS485 Serial Polling Transmit/Receive 107
- 1. TL_MULTUART_INT - Multi-UART Module (Polling Mode) 109
- TL_MULTUART_POLL - Multi-UART Module (Interrupt Mode) 110
- IIC_EEPROM - IIC EEPROM Read/Write 112
- SPI_FLASH - SPI FLASH Read/Write 113
- SPI_EDMA_FLASH - SPI FLASH Read/Write Test 114
- SPI_DAC_AD5724 - 4-Channel DAC Module (Analog SPI Bus) 115
- SPI_DAC_AD5724v2 - 4-Channel DAC Module (SPI Bus) 117
- WatchDog - Watchdog 118
- NMI - Non-Maskable Interrupt 119
- PWM - High-Precision Pulse Width Modulator PWM Output 119
- ECAP_APWM - Enhanced Capture Module ECAP Auxiliary Output 121
- PWM_ECAP - Enhanced Capture Module ECAP Capture 124
- RTC - RTC Clock 126
- LCD - LCD Display 127
- VGA - VGA Display 129
- LCD_TOUCH_4INCH3 - 4.3-inch Touchscreen 130
- LCD_TOUCH - 7-inch Touchscreen 131
- LCD_TOUCH_5INCH6/10INCH4/12INCH/15INCH - Various Sizes of Touchscreens 132
- GRLIB_DEMO - StarterWare Graphics Library Controls 133
- MMCSD - SD Card Read/Write 134
- SATA - SATA Enumeration Test 134
- USB_DEV_BULK - USB OTG Slave Mode (USB BULK Pipe Communication) 135
- USB_DEV_MSC - USB OTG Slave Mode (Virtual Storage Device) 144
- USB_DEV_SERIAL - USB OTG Slave Mode (USB Virtual Serial Port) 154
- USB_HOST_KEYBOARD - USB OTG Host Mode (USB Keyboard) 157
- USB_HOST_MOUSE - USB OTG Host Mode (USB Mouse) 157
- USB_HOST_MSC - USB OTG Host Mode (U Disk Content View) 158
- ENET_HTTPD - Network Web Server 160
- ENET_HTTPD_RMII - Network Web Server (using RMII Interface) 162
- ENET_ECHO - Network Socket Communication 165
- AUDIO_LINE_OUT - Line Out Audio Output (EMDA Mode) 171
- AUDIO_LINE_OUT_INTR - Line Out Audio Output (Interrupt Mode) 175
- AUDIO_LINE_OUT_POLL - Line Out Audio Output (Polling Mode) 176
- AUDIO_LINE_OUT_WAV - Line Out Audio Output (File Import Mode) 177
- AUDIO_MIC_IN - Mic In Audio Input (EMDA Mode) 180
- AUDIO_MIC_IN_INTR - Mic In Audio Input (Interrupt Mode) 181
- AUDIO_MIC_IN_POLL - Mic In Audio Input (Polling Mode) 182
- AUDIO_MIC_IN_SAVEMEM - Mic In Audio Input (Save File Mode) 183
- AUDIO_MIC_IN_WAVE - Mic In Audio Input (Waveform Input Mode) 188
- AUDIO_LINE_IN - Line In Audio Input (EMDA Mode) 191
- AUDIO_LINE_INTR - Line In Audio Input (Interrupt Mode) 192
- AUDIO_LINE_POLL - Line In Audio Input (Polling Mode) 193
- AUDIO_LINE_IN_SAVEMEM - Line In Audio Input (Save File Mode) 193
- AUDIO_LINE_IN_WAVE - Line In Audio Input (Waveform Input Mode) 199
- McBSP - McBSP Bus Data Transmit/Receive 202
- VPIF_OV2640 - VPIF Bus CMOS Camera Data Acquisition 204
- Memory_Benchmark - Memory Read/Write Speed Test 206
- NandFlash - NAND FLASH Read/Write Test 206
- EMIF_AD7606 - EMIFA Bus 8-Channel Parallel AD Data Acquisition 208
- EMIF_AD7606v2 - EMIFA Bus 8-Channel Parallel AD Data Acquisition 212
- EMIF_AD7606_10K - CPU Acquisition at 10k Sampling Rate 215
- EMIF_AD7606_200K_EDMA - EDMA Acquisition at 200k Sampling Rate 216
- EMIF_AD7656 - EMIFA Bus 6-Channel Parallel AD Data Acquisition 217
- EMIF_AD7656v2 - EMIFA Bus 6-Channel Parallel AD Data Acquisition 220
- EMIF_AD8568 - EMIFA Bus 8-Channel Parallel AD Data Acquisition 222
- EMIF_AD8568v2 - EMIFA Bus 8-Channel Parallel AD Data Acquisition 224
4.71 EMIF_AD8568_100K - 100 KHz Sampling of AD8568 8-Channel AD Data 227
- 1. EMIF_FPGA - EMIFA Bus FPGA Read/Write Test 230
- EMIF_FPGA_DMA - EMIFA Bus FPGA Read/Write Test (EDMA Optimized) 232
- EDMA3 - EDMA3 One-Dimensional Data Transfer 234
- EDMA3_TRANSPOSE - EDMA3 Two-Dimensional Data Transfer 235
- uPP_B_TO_A - uPP Bus FPGA Read/Write Test 236
- uPP_2CH - uPP Inter-board Dual Communication Test 240
- TL2515_CAN - Dual CAN Communication Test 242
- TL5147_VGA - Composite Video Input VGA Display Test 244
- TL5147_LCD - Composite Video Input LCD Display Test 246
- TL5147_LCD_2CH - Composite Video Dual Channel Input LCD Display Test 248
- H264Encoder - Encoding Example Test 249
4.83 NRF24L01 - 2.4G Wireless Module Test 253
- 1. HC-SR04 - Ultrasonic Ranging Test 256
- DHT11 - Temperature and Humidity Sensor Test 258
- WIFI_UART - Serial WIFI Module Test 260
- RFID - RFID Radio Frequency Identification Test 264
- ECAP_REMOTE - Infrared Remote Control Test 266
- BTUART - Serial Bluetooth Module Test 268
- MPU6050 - 3-Axis Accelerometer Gyroscope Test 270
- ZIGBEE - Serial to Zigbee Wireless Test 272
- ClockOut - Clock Frequency Test 274
- DSPClockSpeed - CPU Clock Test 277
- Fsfat - SD Card Read/Write Test 278
- SPI0 - SPI0 Test Example 279
- UART2_INT_FIFO - UART2 FIFO Interrupt Mode 281
- TL5147_LCD_3CH_Multi - TL5147 Camera 3-Channel Image Acquisition 282
- TL5147_LCD_2CH_SYNC - Dual 5147 Camera Simultaneous Acquisition and Display 285
- EDMA3_LINK - EDMA Linked Operation Mode 286
- EDMA3_LED - EDMA Mode LED Blinking 287
- EMIF_AD7606_PinBoard - EMIF Expansion Board Test 287
- SYS/BIOS Demo Examples 289
- Board - Comprehensive Example 289
- GPIO_LED - Task 295
- GPIO_LED_MUTEX - Preemptive Multitasking 295
- GPIO_LED_STATIC - Static Task Creation 296
- Semaphore_Binary - Binary Semaphore 300
- Semaphore_Counting - Counting Semaphore 301
- Clock - Clock 302
- Timestamp - SYS/BIOS Timestamp (Generic) 302
- Timestamp_C674x - SYS/BIOS Timestamp (Specific) 303
- Timer - Timer (Generic) 303
- Timer_C674x - Timer (Specific) 304
- Timer_C674x_Runtime - Timer (Dynamic Creation) 304
- Timer_C674x_Runtime_Reload - Timer (Dynamic Creation, Change Timing Period) 305
- HWI_C674x - Hardware Interrupt (HWI Device Specific Component) 306
- HWI_C674x_Hook - Hardware Interrupt (HWI Hook Function) 306
- HWI_C674x_Nest - Hardware Interrupt (HWI Interrupt Nesting) 307
- HWI_Runtime - Hardware Interrupt (HWI) 307
- HWI_Runtime_Post_SWI - Hardware Interrupt (HWI Post Software Interrupt) 308
- HWI_Runtime_Post_Task - Hardware Interrupt (HWI Trigger Task) 308
- SWI - Software Interrupt (Static Configuration) 309
- SWI_Runtime - Software Interrupt (SWI) 309
- SWI_Runtime_Post_Conditionally_andn - Software Interrupt (Conditional Trigger ANDN) 310
- SWI_Runtime_Post_Conditionally_dec - Software Interrupt (Conditional Trigger DEC) 310
- SWI_Runtime_Post_Unconditionally_or - Software Interrupt (Unconditional Trigger OR) 311
- MEMORY - Memory Allocation 312
- MMCSD - SD Card RAW Mode 313
- MMCSD_FatFs - SD Card FAT File System 315
- UART1 - UART1 Serial Polling Transmit/Receive 318
- UART2 - UART2 Serial Polling Transmit/Receive 319
- UART2_INT - UART2 Serial Interrupt Receive 320
- AudioLineInSave - Line In Audio Input and Save 321
- AudioMicInSave - Mic In Audio Input and Save 321
- AudioPlayMP3 - MP3 Audio Playback (SD Card) 322
- AudioPlayWAV - WAV Audio Playback (SD Card) 322
- LCD_TOUCH - Touchscreen 323
- TCP_Client - TCP Client 324
- TCP - TCP Server 331
- UDP - UDP Communication 335
- TCP_Benchmark - TCP Send/Receive Speed Test 338
- Telnet - Telnet Protocol 342
- Telnet - TFTP Protocol 348
- WebServer - Network Web Server 355
- NDK_UIA - Network-based System Analysis 363
- NDK_Runtime - Network Web Server (Supports Serial Input IP) 371
- WebServer_RMII - Network Web Server (using RMII Interface) 374
- WebServer_Audio_Video - Web Server Audio and Video Experiment 382
- MJPEG_Streamer - IP Camera Network Camera 386
- RawSocket - Ethernet Data Link Layer Communication 389
- EDMA3 - EDMA3 One-Dimensional Data Transfer 400
- McBSP_LoopBack - McBSP Internal Loopback Test 401
- McBSP - McBSP External Loopback Test 401
- Gate - SYS/BIOS Gate Protection 403
- Queue - SYS/BIOS Queue 403
- Event - SYS/BIOS Event Module 404
- Mailbox - SYS/BIOS Mailbox Communication 404
- SLEEP - CPU Low Power Mode 405
- VFSCALE - Dynamic Frequency and Voltage Scaling Test 406
- uPP_B_TO_A - uPP Loopback Test 407
- ADS1278_uPP - AD Module Acquisition Test (using uPP) 410
- Servo Motor Test - Control Servo Motor Operation via DSP and FPGA 411
- Algorithm Demo Examples 412
- FIR - Finite Impulse Response Filter 412
- IIR - Infinite Impulse Response Digital Filter 419
- Matrix - Matrix Operations 423
- FFT - Fast Fourier Transform/Inverse Transform 425
- FFT_Benchmark - Fast Fourier Transform/Inverse Transform (Cache On/Off Speed Comparison) 428
- FFT_DIT2 - Radix-2 Decimation-in-Time Fast Fourier Transform/Inverse Transform (In-place Computation) 451
- DCT - Image Discrete Cosine Transform 454
- RGB2Gray - RGB24 Image to Grayscale 457
- HIST - Grayscale Image Histogram 461
- InteEqualize - Histogram Equalization 470
- ImageReverse - Image Inversion 478
- Canny - Edge Detection 484
- Threshold - Grayscale Image Binarization 490
- LinerTrans - Grayscale Image Linear Transformation 497
- Zoom - Image Zoom 504
- Rotate - Image Rotation 510
- MATH - Math Function Library 517
- UniversalCopy - Codec Engine Based Data Copy Algorithm 518
- MP3Decode - MP3 Decoding 519
- MP3Decode_SD - MP3 Decoding (Cache Enabled and SD Access) 520
- AACLCDecode - AACLC Decode AAC Decoding 522
- AACHEv2Decode - AACHEv2 Decode AAC Decoding 524
- AACLCEncode - AACLC Encode AAC Encoding 526
- G711ADecode - G711A Rate Speech Encoding 527
- G711ADecode - G711A Rate Speech Decoding 528
- ImageProcess - Digital Recognition 530
- FaceDetect - Face Detection and Tracking 533
- ImageProcessQR - QR Code Scanning 534
- ImageProcessChar - Character Recognition 538
- ImageProcessAlph - Alphabet Recognition 541
- Plate Recognition Demo - License Plate Recognition 544
- PRU Demo Examples 565
- PRU_GPIO_LED - PRU Control GPIO Output 569
- PRU_GPIO_KEY - PRU Control GPIO Input 569
- PRU_TL5724_DAC - PRU Driven DAC Output Test 569
- PRU_TL5724_DACv2 - PRU Control AD5724 Output Continuous Waveform 571
- PRU_TL7606_ADC - PRU Triggered ADC Analog Acquisition 574
- PRU_TL8568_ADC - PRU Triggered ADC Analog Acquisition 576
- PRU_uPP_B_TO_A - PRU Control uPP Data Transfer 577
- PRU_AD8568_SAVE - PRU Control AD8568 Data Acquisition and SD Card Storage 581
- PRU_TIMER2_POLL - PRU Control Timer 582
- PRU to DSP_Interrupt - PRU Sends Interrupt to DSP 582
- Other Demo Examples 583
- GPIO_LED_Assembly - GPIO Output (Standard Assembly) 583
- GPIO_LED_LinearAssembly - GPIO Output (Linear Assembly) 583
- GPIO_LED_C++ - GPIO Output (C++) 583
- GPIO_KEYv2 - Interrupt Example without StarterWare Function Library 583
- GPIO_LED_C_Mix - C Language Calls Linear Assembly, Assembly Statements, and Functions 584
- GPIO_LED_C++_Mix - C++ Language Calls C Language, Linear Assembly, Assembly Statements, and Functions 584 More Help 585
Appendix A 586
This article was translated from Chinese to English with AI assistance and a light human review. The original is published at Sienovo Blog. The original Chinese source is at CSDN. Learn more about Sienovo edge AI computing.

Top comments (0)