Hi again
A look in the data sheet revealed that the clock setting were the problem - with these settings the spifi driver works also with the S25FL064L
#define SPIFI_DEVICE_S25FL064L 0 /**< Enables Cypress S25FL064L device */
#if SPIFI_DEVICE_ALL || SPIFI_DEVICE_S25FL064L
/* Add support for S25FL064L */
{
static const SPIFI_DEVICE_DATA_T pData = {
"S25FL064L",
{{0x01, 0x60, 0x17}, 0, }, /* JEDEC ID, extCount, ext data */
(SPIFI_CAP_DUAL_READ | SPIFI_CAP_QUAD_READ | SPIFI_CAP_QUAD_WRITE | SPIFI_CAP_FULLLOCK |
SPIFI_CAP_NOBLOCK), /* Capabilities */
128, /* # of blocks */
0x10000, /* block size */
0, /* # of sub-blocks (Does NOT support full sub-block erase) */
0, /* sub-block size 0x1000 */
256, /* page size */
MAX_SINGLE_READ, /* max single read bytes */
54, /* max clock rate in MHz */
108, /* max read clock rate in MHz */
108, /* max high speed read clock rate in MHz */
108, /* max program clock rate in MHz */
108, /* max high speed program clock rate in MHz */
FX_spifiDeviceDataInitDeinit, /* (Fx Id) use generic deviceInit / deInit */
FX_spifiDeviceDataClearStatusS25FL032P, /* (Fx Id) has persistent bits in status register */
FX_spifiDeviceDataGetStatusS25FL032P, /* (Fx Id) getStatus */
FX_spifiDeviceDataSetStatusS25FL032P, /* (Fx Id) setStatus */
FX_spifiDeviceDataSetOptsQuadModeBit9, /* (Fx Id) to set/clr options */
FX_spifiDeviceInitReadCommand, /* (Fx Id) to get memoryMode Cmd */
FX_spifiDeviceInitWriteCommand /* (Fx Id) to get program Cmd */
};
static SPIFI_DEV_NODE_T data; /* Create persistent node */
data.pDevData = &pData; /* save the data in the node */
spifiDevRegister(&devFamily, &data); /* Register the new device */
}
#endif
Thanks for your good support.
-Otto
Von: lpcxpresso_support
Gesendet: Donnerstag, 25. Januar 2018 17:31
An: Franz-Otto Witte <otto.witte@teconcept.de>
Betreff: Re: - Re: LCP4370 SPIFI support
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community
Re: LCP4370 SPIFI support
reply from LPCX support <https://community.nxp.com/people/lpcxpresso_support?et=watches.email.thread> in MCUXpresso IDE - View the full discussion <https://community.nxp.com/message/981028?commentID=981028&et=watches.email.thread#comment-981028>