How to use OLED 6pin with NFC MODULE V3 simultaneously ( please read )

hello. I have a question.
now, I use oled 6pin using SPI mode and use NFC module v3 using i2c mode(p2p).
OLED and NFC module work well respectively.
but When i operated oled and nfc simultaneously, they didn’t work.
i think hardware connection is everything ok.
And i use example Adafruit_SSD1306_128x64_spi(oled) and use example NFC p2p initiator and target.(i2c mode nfc)
please reply as soon as possible. thank you

use different cs and dc pins. you should able to setup different pins for that when setting it up.

May share the code?

~Straw

strawmedia:
use different cs and dc pins. you should able to setup different pins for that when setting it up.

May share the code?

~Straw

This is my code. I merged NFC p2p initiator example and modified Adafruit_SSD1306_128x64_spi(oled) example. What’s the problem?
AND 6pin OLED has no cs pin. only has GND, VCC, SCL, SDA, RST, D/C pin.
I used Arduino pro mini.

#include <SPI.h>
#include "nfc.h"
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_MOSI  9
#define OLED_CLK   10
#define OLED_DC    11
#define OLED_CS    12
#define OLED_RESET 13
Adafruit_SSD1306 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);

NFC_Module nfc;

u8 tx_buf[50]="Hi, this message comes from NFC INITIATOR.";
u8 tx_len;
u8 rx_buf[50];
u8 rx_len;

int count=0;

void setup()   { 
  Serial.begin(9600);
  display.begin(SSD1306_SWITCHCAPVCC);
    
  nfc.begin();
  Serial.println("P2P Initiator Demo BY ELECHOSUE!");
  
  uint32_t versiondata = nfc.get_version();
  if (! versiondata) {
    Serial.println("Didn't find PN53x board");
    while (1); 
  }
  
  Serial.print("Found chip PN5"); Serial.println((versiondata>>24) & 0xFF, HEX); 
  Serial.print("Firmware ver. "); Serial.print((versiondata>>16) & 0xFF, DEC); 
  Serial.print('.'); Serial.println((versiondata>>8) & 0xFF, DEC);
  
  nfc.SAMConfiguration();
}

void loop() {

  display.clearDisplay();
  display.setCursor(0,0);
  display.setTextSize(2);
  display.setTextColor(WHITE);
  display.print("Hello");
  display.print(count++);
  display.display();
  
  if(nfc.P2PInitiatorInit()){
    Serial.println("Target is sensed.");
    
    tx_len = strlen((const char*)tx_buf);
    Serial.println(tx_len);

    if(nfc.P2PInitiatorTxRx(tx_buf, tx_len, rx_buf, &rx_len)){
      Serial.print("Data Received: ");
      Serial.write(rx_buf, rx_len);
      Serial.println();
    }
    Serial.println();
  }
  delay(3000);
}