5475 FEC transmition problems

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

5475 FEC transmition problems

915 Views
JOA2
Contributor I

Hi

We are developing a port for MCF5475 for  LLWIP and FreeRTOS. 

With FreeRTOS no problems but now with MCF5475 we are not abble to transmit any data with FEC.

We can receiving datas properly but when try to send nothing happen.

We are not ussing DMA we have copy Linux initialization but does not work.

Has anybody a sample to transmit datas with MCF54xx?

 

 

Thank you in advance

Oscar Alegría 

Labels (1)
0 Kudos
4 Replies

546 Views
plattro
Contributor I

Hi Oscar,

Did you ever resolve this problem?

i'm curious since we have a FEC transmit problem, but for us it is usually fine then hangs sometimes.

Maybe your solution gives me some ideas on the problem we have.

0 Kudos

546 Views
JOA2
Contributor I

It was imposible to transmit any using the FEC directly. I think there is any bad into FEC documentation. We started to use DMA to send and receive datas from DMA. There is an API (Multichannel_DMA_API) and it works nice. 

It is not difficult to use it.

Try with it and if you have any problem, I will try to help you.

 

 

0 Kudos

546 Views
plattro
Contributor I

Hi Oscar

thanks

 

We are using the McDMA, it is mostly working very well. I never tried writing directly to the registers, I think at the end of the frame there's a control word and some other writes to the control register needed to mark the frame end. Seems complicated.

 

If you're curious, description of the problem I face is here:

https://community.freescale.com/thread/83532

0 Kudos

546 Views
PaoloRenzo
Contributor V

Hi Oscar

 

How did you port FreeRTOS to mcf547x/8x? Only reusing v2 ports? Can you share the port.c, portasm.s and portmacro.h? What compiler are you using?

 

Thanks

0 Kudos