Can TCMU be used as buffer descriptor(BD) of ENET for CM4 core of i.MX6 SoloX?

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

Can TCMU be used as buffer descriptor(BD) of ENET for CM4 core of i.MX6 SoloX?

953 次查看
guohuxu
Contributor I

Hi Experts,

I'm find an uncahed area to be used as the BD of ENET for Cortex-M4 of i.MX6 SoloX.

And the TCM_U(Upper Tightly Coupled Memory) may be satisfied.

But When I use it as BD of ENET(setting addresses value with TCM_U area to ENETx_RDSR/ENETx_TDSR registers, the ENET doesn't work.

If I use the DDR address space as BD, the ENET works fine.

Except for the BD settings, all other settings and configuration process are same for these 2 situation.

I'd like to know is the TCM_U capable of being used as BD area of ENET?

If yes, is there any configuration to be done for it?

Thanks!

Best Regards,

Guohu

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

819 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   The TCMU is not accessible by the ENET module.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

819 次查看
johannesstuttne
Contributor II

Hi,

do you have some example code for using ENET on CM4?

Which minimum Registers need to be initialised and which DDR address area are you using?

I had the same problems with the addresses. Now the Buffer Descriptor and controller logic works fine, but the frames are not sent on ENET port. I don´t initialise the RMII from the M4. I am taking control over the ENET1 interface after initialising the RMII Stuff over Linx with the FEC Driver and then reseting the ENET controller and setting the new register addresses...

Can this might be a problem?

0 项奖励
回复

819 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  I am afraid, we do not have example code for using ENET on CM4.

Usually FreeRTOS or MQX for the i.MX6SX may be used as code examples,

but they do not support ENET.

Regards,

Yuri.

0 项奖励
回复