cancel
Showing results for 
Search instead for 
Did you mean: 

No Octo SPI Clk with STM32N6 external loader for MX66UW1G45G

DBonh.1
Associate III

Hi,

I have a custom board that duplicates the STM32N6 Disco schematic for an external flash MX66UW1G45G. I configured  the .ioc to configure XSPI2 and XPSIM with PN6 pin for the clk. I use STM32CubeProgrammer with the external loader activated for MX66UW1G45G. The CubeProgrammer connects via a J-Link cable, and I select the first few blocks to erase. When I click Erase Selection, the oscope shows activity on XSPIM_P2_IO0 and XSPIM_P2_IO3, but nothing on the clock. I also didn't see any activity on the NCS1, it remains high. 
The Clock Configuration tab in the .ioc file shows an active 66.66MHz clock signal to XSPI2, with HCLK as a source.

The .ioc has XSPI2 and XSPIM enabled for all three domains - FSBL, Application, and ExtMemLoader. I attached the .ioc. 

Huge thanks for help!  

1 REPLY 1
DBonh.1
Associate III

The repo for example external loaders doesn't seem to include N6, even though N6 loaders are included with CubeProgrammer. Is source code for the N6 loaders located somewhere else? Because the symptoms I'm seeing could be explained if the loader calling some other pin for the clock. 

https://github.com/STMicroelectronics/stm32-external-loader