cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Ethernet in NUCLEO-N657X0-Q board.

Rajasekhar
Visitor

Hello

I'm using a NUCLEO-N657X0-Q board and trying to bring up ethernet in RMII mode using STM32CubeIDE

:small_blue_diamond: Issue Description:

  • When I run the application in the non-secure project, the Ethernet DMA bit (in ETH_DMASR) does not clear after transmission.

  • The same configuration works correctly when running in Secure mode.

:small_blue_diamond: Clarifications Requested:

  1. In which context should Ethernet initialization (MX_ETH_Init()) be performed — FSBL, Secure, or Non-secure?

  2. Should the ETH clocks and DMA be configured in the Secure project, with only application-level operations done in non-secure?

Any guidance or official examples on the proper initialization flow and DMA handling for Ethernet on STM32N6 would be greatly appreciated.

I have attached my CubeMX .ioc file (for both Secure and Non-secure projects) and a snippet of my memory configuration for reference and analysis.

  1. Is there an example project or reference demonstrating Ethernet initialization (LAN8742, RMII) on STM32N6 with Trust Zone enabled?

  2. Any known causes for the DMA bit not clearing when the application runs in non-secure mode?

Best regards,

Rajasekhar

 

0 REPLIES 0