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: FT232HL SPI Protocol(about Performance)  (Read 4142 times)

Terry

  • Newbie
  • *
  • Posts: 4
    • View Profile
FT232HL SPI Protocol(about Performance)
« on: October 15, 2023, 12:06:41 PM »

Hi, I'm Terry

I'm using FT232HL(USB to SPI / 1 Channel) and It's working.
Ubuntu 20.04
But I would like to ask for advice(about Perfomance)

Briefly explaining my code(C++):
----code start----

callback(from other process request, SPI_Write)

int main
{

  loop
  (
  SPI_Write and SPI_Read --> to get data from chip(MCP2517)
  callback check
  )   

}
----code end----
I wanna separate callback and loop(two process work independently)
1 process (only check callback)
2 process (only only loop, not check callback)

Is there a way to do this using FT232HL(USB to SPI / 1 Channel)?
« Last Edit: October 15, 2023, 01:05:34 PM by Terry »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 872
    • View Profile
Re: FT232HL SPI Protocol(about Performance)
« Reply #1 on: October 16, 2023, 04:24:59 PM »

Hello,

You may want to take a look at FT_SetEventNotification.

See the D2XX Programmer’s Guide.

There may be other FTDI Community users who have further inputs to this.

Best Regards,
FTDI Community
Logged