AnsweredAssumed Answered

How to Set SPI's Clock

Question asked by Jie Liu on Nov 1, 2016
Latest reply on Nov 1, 2016 by Jie Liu

I use the imx6ql-sabreauto board to communicate with a slave board.

I want to know the highest speed of spi block.

I read the document and i think the highest speed is up to 60MHz.

and i use the ioctl like this

 ioctl (fd, SPI_IOC_WR_MAX_SPEED_HZ, 60MHz)

But , I don't confirm whether this is effective or not.

How do I know the actual speed of the SPI work with?


Thank you!