Bestcomm receives only one packet of data 5200b

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bestcomm receives only one packet of data 5200b

454 Views
alexandervirko
Contributor I

Hi. I'm trying to receive data from fec. But it succeeds only once. I can't manage to receive any next packet.

Trying to check (bdrx->Status & SDMA_BD_MASK_READY) to know if something new has arrived. But rxBuff does not change.

Tried calling TaskStart(rxTaskId, TASK_AUTOSTART_ENABLE, rxTaskId, TASK_INTERRUPT_ENABLE) once and periodically.

What does TASK_AUTOSTART_ENABLE mean?

0 Kudos
1 Reply

347 Views
Pavel
NXP Employee
NXP Employee

Look at fec_demo example in the MPC5200_Quick_Start software (http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2757SW&location=null&fr=gtl&Paren...).

Install this software and use the following path to documentation: C:\Program Files (x86)\Freescale\MPC5200_Quick_Start r0.9\doc\BestComm.

See documentation for BestComm API for Ethernet using in the Sections A.1.3 and A.1.4 of this document.

This software contains simple fec-demo program example.

See also simple program examples in the attached file. Find main.c in these examples. !

0 Kudos