reduce read/write time in SPI driver on MQX 4.0.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

reduce read/write time in SPI driver on MQX 4.0.2

1,503件の閲覧回数
helderhdw
Contributor III

I need to reduce the time of date transfer by SPI drive. The time to write/read data is:

ioctl (spiFD, IO_IOCTL_SPI_READ_WRITE, &rw) -> 18 us

ioctl (spiFD, IO_IOCTL_SPI_FLUSH_DEASSERT_CS, NULL) -> 8us

sum = 26 us

I need 4us in FULL_DUPLEX mode. is possible? help me..

Att,

Francisco

0 件の賞賛
返信
2 返答(返信)

1,051件の閲覧回数
helderhdw
Contributor III

Hi,

I forgot to mention that I'm using Vybrid (M4 side), and I like know...How to I reduce the read time in SPI driver for MQX 4.0.2...

Regards,

Francsico

0 件の賞賛
返信

1,051件の閲覧回数
cyborgnegotiato
Senior Contributor II

Hi Francsico,

You must provide more information, especially:

- your spi settings

- your rw data structure content

Do you need call IO_IOCTL_SPI_FLUSH_DEASSERT_CS after each read write operation?

Regards,

Jozef

0 件の賞賛
返信