5475 FEC transmition problems

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

5475 FEC transmition problems

1,606 次查看
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 

标签 (1)
0 项奖励
回复
4 回复数

1,237 次查看
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 项奖励
回复

1,237 次查看
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 项奖励
回复

1,237 次查看
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 项奖励
回复

1,237 次查看
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 项奖励
回复