cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5A9 Octal SPI with octal flash in DTR mode

Sanath
Associate II

Hi Team,

 

I am working on STM32U5A9J-DK for one of our applications interfaces with an Octal flash via Octal SPI.

we were able to communicate and do the flash operations Read write using the SDR mode .

Now to achieve the DTR mode from STM32U5a9 end what are the initial setting we need to go through or make?

We have a register in Octal flash to set it in Octal DDR mode, but do we need to set anything from STM32 end to change? 

 

Regards

Sanath

1 ACCEPTED SOLUTION

Accepted Solutions

>>So it remains same for DTR also right.

If you'd stated an ISSI part# I might be able to read the manual..

I'd expect it to work if the timings and modes are consistent. Watch the peripheral initialization, and the expectations of each phase, how many cycles the memory takes to fetch the initial byte(s)

Bandwidth probably not going to improve significantly for small/short transfers.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5

Hi @Tesla DeLorean ,

 

Thank you for the information.

So, from STM32U5a9 side it supports DTR right?

Its just from the Octal Flash end we need to set the command for DDR mode

we are using ISSI Octal Flash chip BTW.

 

Regards

Sanath

So you're NOT using the STM32U5A9J-DK? Or you replaced the NOR FLASH with some unspecified ISSi chip?

On the STM32 side you need to populate the command structure with the modes of the various phases, ie command, address, data, etc.

The Macronix have distinct commands that drive the expectations in following phases.

The initialization of the interface you define clock speeds, and relationships, and the type of device,for example if it uses a Micron or Macronix type strategy. Review the component level support in the BSP, both of the U5 series, but perhaps also of H5, H7 and related platforms with broader OCTO SPI component support.

Read/review the memory part documentation, and familiarize yourself with the modes and expectations of the device.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi @Tesla DeLorean 

 

Sorry for the delayed reply.

We are using STM32U5A9J-DK board. The Macronix chip has been replaced with ISSI octal flash chip.

Right now for SDR mode we are using Micron type in our settings where we are able to perform Read,Write Erase operations.

So it remains same for DTR also right.

 

Regards,
Sanath

>>So it remains same for DTR also right.

If you'd stated an ISSI part# I might be able to read the manual..

I'd expect it to work if the timings and modes are consistent. Watch the peripheral initialization, and the expectations of each phase, how many cycles the memory takes to fetch the initial byte(s)

Bandwidth probably not going to improve significantly for small/short transfers.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..