Hi Henry,
Please kindly refer to the following for details.
- The NFC clock (WE/RE) is generated by nfc internal function clock:
NFC clock = nfc function clock | gate
So when WE/RE is active, it is the same as the nfc function clock.
Users only need to configure the nfc function clock frequency.
- You can set NFC_CMD2[8]=1 to send data to Nand Flash, it is not only for page program.
The size of data is defined by SECTOR_SIZE.
The block erase command is 60h+ADDR+D0h (+70h+read status), I don’t see any data output here.
You need to set
CMD_BYTE1=60h, CMD_BYTE2=D0h, and CMD_CODE=16’b0100_1110_1101_1000

If you want to send 4 bytes to Nand Flash, just set NFC_CMD2[8]=1 and SECTOR_SIZE=4.
3. The GPIO has no relation with the NFC module, as well as the arbitration logic, so you have to change the GPIO pin level by software.
4. Actually NFC is on the master port, and flexbus is on the slave port, so there is no priority comparison between them.
Hope this helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------