FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Getting Incorrect Data on the Slave over SPI via FTDi (FT2232H)  (Read 372 times)

Siddharth Mishra

  • Newbie
  • *
  • Posts: 4
    • View Profile
Getting Incorrect Data on the Slave over SPI via FTDi (FT2232H)
« on: September 28, 2021, 03:37:36 PM »

Hi Team,

We are using SPI Interface with FT2232H Chip with the Chip being the Master and the MCU (KS20 Family of MCU by NXP) acting as slave. When we transmit the data "15" in decimals from the FT chip, then at the Slave side i.e. MCU side we are receiving the data as "7" which supposedly should be "15" but when we connect 10K Pull-Up Resistor on the SCK Line, we are getting the appropriate data of what is being sent.

Do we really need to connect that Pull-up resistor ?  or is there any other Configs or changes that are needed?

Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 686
    • View Profile
Re: Getting Incorrect Data on the Slave over SPI via FTDi (FT2232H)
« Reply #1 on: September 29, 2021, 12:53:24 PM »

Hello,

The SCK line should normally be a push-pull output on this device (unless your code switches the pin to input mode at any time)

What I/O voltage does your MCU use? Is it a 3v3 I/O

We would recommend to check with a scope or logic analyser with analog capability to see what the waveforms are doing,

Best Regards, FTDI Community



« Last Edit: September 29, 2021, 02:16:18 PM by FTDI Community »
Logged