Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi Team,
I am connecting two QSPI flash devices that share the same data lines (D0–D3), clock (CLK), and DQS pins, but use different chip select pins. One device uses QSPI_CSn1 (pin R3)
and the other uses QSPI_CSn0 (pin P1)
. Both devices are S25FL128SA.
1. How to enable QSPI_CSn1 in the code
Because in example.syscfg file their is no way to change the QSPI pins.
2.) Or else i can change manually in the code by defining the duplicate function
I'm testing example code QSPI flash transfer code for this QSPI_CSn0 chip select code is working fine but not for QSPI_CSn1, i changed the pin in ti_pinmuc_config.c
/* QSPI pin config */
/* QSPI_CSn0 -> QSPI_CSn0 (P1) */
{
PIN_QSPI_CSN0,
( PIN_MODE(0) | PIN_PULL_DISABLE | PIN_SLEW_RATE_LOW )
},
here i changed PIN_QSPI_CSN0 to PIN_QSPI_CSN1 to enable R3 as a chip select. but didn't get success can you please help me it's on urgent base.
Thanks in advance