This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

faxsim.c in faxlib_C55_CPU3_2_1_0_1

Hi All...

Faxsim.c contains the example code for fax integration (i.e., FM, FIU and HDLC). But the documentation or the code comments are not sufficient to understand the code flow.

I see only the fmSendIn and fiuTask calls. Who/ which module will call the fiuSendIn/fmReciveOut etc modules..?

Also has any one tried it with DSP BIOS..? I have issues while calling fmSendIn from a TASK. The code never comes out of the fmSendIn module.

Please help.

Regards,

Ashok

  • Hi,

    Team will work on this to provide an update for the same.

    Thanks & regards,
    Sivaraj K

  • Thanks Sivaraj.

    I found the answers to my questions...!

    The fmSendIn will in turn call the fiuSendIn which will internally call the network interface and this will call fiuRecievIn which will call fmRecieveIn this will put the pcm samples into output buffer in pcminterface functions.

    Also the other question about running the fmSendIn from a swi/hwi, going to some halt code is due to the use of many functions which invoke printf functions. These printfs have blocking calls and hence need to be called from a task and not from swi/hwi. Hence the issue.

    Thanks & regards,

    Ashok