Enabling APS6404L PSRAM on flexspi2 for TEENSY41 fails #83244
Labels
bug
The issue is a bug, or the PR is fixing a bug
platform: NXP
NXP
priority: low
Low impact/importance bug
Describe the bug
TEENSY41 board has an optional PSRAM chip (APS6404L). To enable it an overlay file was added to
samples/drivers/memc
. Building the sample for this target fails:Mentioned type
flexspi_device_config_t
is defined in NXP mcux-sdk. It seems that the majority of nxp soc´s doesn´t have the struct member.addressShift
, except the FRDM_RW612 and RD_RW612_BGA.If line 225 is removed from
memc_mcux_flexspi_aps6404l.c
, then code builds properly and works like expected. Could this be a solution? Both boards FRDM_RW612 and RD_RW612_BGA are built correctly with the proposed solution, but the RD_RW612_BGA seems to have a deviating default value (addressShift=true) according to nxp-sdk. This should be checked on hardware for these boards.To Reproduce
Steps to reproduce the behavior:
teensy41.overlay
with PSRAM config tosamples/drivers/memc/boards
:west build -p -b teensy41 samples/drivers/memc
Expected behavior
Should build and work properly.
Environment:
Note
Link to Teensy4.1 PSRAM option:
https://www.pjrc.com/store/psram.html
The text was updated successfully, but these errors were encountered: