Hello everyone,
Recently, I engaged in integrating FM module in FAXLIB into CODEC ENGINE system. Then, when did some basic tests for the FM , I observe the different operational effects. Additionally, my test code was a slightly modified version of fmsim.c in the FM Unit test package.
And the log info I got in DSP are as follows:
[DSP] State transition: high speed tx training Ans
[DSP] New modulation: V.29 9600bps Org
[DSP] State transition: high speed tx training Org
[DSP] State transition: high speed rx Ans
[DSP] New modulation: V.29 9600bps Ans
[DSP] State transition: high speed rx Ans
[DSP] SNR REPORTED in dB: 0
[DSP] BER REPORTED:0
[DSP] ONES TRANSMITTED:0
[DSP] RXLEVEL REPORTED: 0
[DSP] FILE USED FOR TEST
[DSP] ===================================================
While the correct log infomation got from CCS Simulation are as follows:
[C674X_0] State transition: high speed tx training Ans
[C674X_0] New modulation: V.29 9600bps Ans
[C674X_0] State transition: high speed tx training Org
[C674X_0] State transition: high speed rx Ans
[C674X_0] New modulation: V.29 9600bps Ans
[C674X_0] State transition: high speed rx Ans
[C674X_0] Processed sync message
[C674X_0] Beginning of data RX or TX during transmission
[C674X_0] State transition: high speed tx data
[C674X_0] End of data RX or TX during transmission
[C674X_0] State transition: high speed tx preamble off
[C674X_0] State transition: offline Org
[C674X_0] State transition: offline
[C674X_0] P2 detected in state: high speed rx Ans
[C674X_0] Carrier detected in state: high speed rx Ans
SNR REPORTED in dB: 21
BER REPORTED:0
ONES TRANSMITTED:100048
RXLEVEL REPORTED: 24
FILE USED FOR TEST:../../../vectors/input/V29_9600_c1_48dBrn.pcm
===========================================
It seems like the fmSendIn() API run off the rails, and fmSendOut did not be called. Why?
My slightly modified version is as follows: 6305.faxlib_fm.c