USBB17AP77016-XXX-B11 NEC Electronics, USBB17AP77016-XXX-B11 Datasheet - Page 65

no-image

USBB17AP77016-XXX-B11

Manufacturer Part Number
USBB17AP77016-XXX-B11
Description
DSP middleware(WMA (Windows Media Audio)decoder)
Manufacturer
NEC Electronics
Datasheet
A.3.2
(so_sample_20_16s_l.dat, so_sample_20_16s_r.dat). Set any name for the file names on the 9th and 10th lines. In
the case of stereo data, L-channel and R-channel data is output to output files #1 and #2 respectively. In the case of
monaural data, the same data is output to output files #1 and #2.
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
set pin soen1 = 0
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
open output #1 "so_sample_20_16s_l.dat"
open output #2 "so_sample_20_16s_r.dat"
open output #3 "dummy_serial.dat"
output format showbase unsigned hex,
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
This timing file is used to save the 16-bit linear PCM data output from the serial interface to a file
if pin soen1 == 0
endif
wait cond pin sorq1 == 0
set pin soen1 = 0
rept 15
endrept
wait 5ns
smp_serout.tmg
Initialize
File Open
Dummy Output
wait cond pin sorq1 == 1
wait 5 ns
set pin soen1 = 1
wait cond pin sck1 == 0
wait cond pin sck1 == 1
output #3 port so1&0xFFFF
if pin sorq1 == 1
endif
set pin soen1 = 1
APPENDIX A SAMPLE PROGRAM SOURCE
User’s Manual U15683EJ1V0UM
; initialize SOEN1 line
; do only if new transmission start
; wait for serial output request
; logic delay
; start serial output
; wait for serial output start confirmation
;
; wait 15 clock cycles for one data frame
;
;
;
; make sure SO1 and SORQ1 are updated
; write output data to file, mask sign bits
; request next output
; start next serial output
wait for rising edge (0->1)
;
;
;
; select output format
(1/3)
65

Related parts for USBB17AP77016-XXX-B11