Hi team,
Here's an issue from the customer may need your help:
1Ch OSPI_IND_AHB_ADDR_TRIGGER_REG Indirect trigger address register 0FC4 001Ch
24h OSPI_REMAP_ADDR_REG Address remapping register 0FC4 0024h
80h OSPI_INDIRECT_TRIGGER_ADDR_RANGE_REG Indirect trigger address range register 0FC4 0080h
OSPI_REMAP_ADDR_REG, 0x6000_0000( it should be the memory-mapped address settings)
OSPI_IND_AHB_ADDR_TRIGGER_REG(which should be the trigger address for indirect Flash read and write)
OSPI_INDIRECT_TRIGGER_ADDR_RANGE_REG(which should be the range of address triggers when indirectly reading or writing flash)
For example, if set the memory map address to 0x6000_0000, the trigger address to 0x7000_1000, and the trigger address range to 0x1000. Then read or write 0x7000_1200, it can read or write the flash in space 0x6000_1200.
However, there is no response to setting these registers.
Below is a section of source code for the SDK:
CSL_REG32_WR(&pReg->IND_AHB_ADDR_TRIGGER_REG, 0);
CSL_REG32_WR(&pReg->INDIRECT_TRIGGER_ADDR_RANGE_REG, OSPI_utilLog2(128));
When reading or writing to Flash, only 0x6000_0000 can be read or written to operate SRAM FIFO to further enable indirect read and write functionality. Why is this?
Could you help check this case? Thanks.
Best Regards,
Cherry