AnsweredAssumed Answered

issue with DCache on STM32F746ZG

Question asked by ml.michal on Mar 11, 2018
Latest reply on Mar 12, 2018 by ml.michal

Hello,

 

i'm having issue on STM32F746ZG, connected with ETH PHY through RGMII, and i'm having also enabled USB HS using ULPI,

 

when i not enable DCache at start everything works perfectly ...

but when i enable SCB_EnableDCache(), USART DMA TX is sending wrong data, ethernet does not work both ways (RX+TX),

i'm sure that DMATxDscrTab is at 0x20010280 , DMARxDscrTab is at 0x20010200, Rx_Buff is at 0x2004c000, Tx_Buff is at 0x2004d7d0,

 

i tried :

- before executing SCB_EnableDCache() i executed: MPU config region 1K starting at 0x20010000, with mode NotBufferable,

- before executing SCB_EnableDCache() i executed: MPU config region 1K starting at 0x20010000, with mode NotCacheable,

... no success at all,

... MPU_Config taken from ST's examples in HAL,

- without DCache everything works on 100% ...

 

please could you help me to find out what to do to get DCache usable ?

 

Thanks for all replies ...

 

Kind regards,

Outcomes