renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 81 forks source link

OSPI: Byte order fixed to halfword swap (1-0-3-2) in R_OSPI_DirectTransfer #301

Closed GodavarthyAravinda closed 5 months ago

GodavarthyAravinda commented 8 months ago

Issue

The byte order configuration for the R_OSPI module is fixed to byte1-byte0-byte3-byte2 for when using R_OSPI_DirectTransfer.

Workaround

Existing projects using R_OSPI with ospi_extended_cfg_t::dopi_byte_order set to OSPI_DOPI_BYTE_ORDER_0123 should ensure any data sent using R_OSPI_DirectTransfer() is using the appropriate byte order and is not swapped.