Re: How to mesure current SPI transfer speed

2011-01-11 Thread Jassi Brar
On Tue, Jan 11, 2011 at 5:25 AM, Kevyn-Alexandre Paré kap...@rogue-research.com wrote: What's the best way to calculate the current SPI transfer speed? Right now I use something like that and transfer one spi_message with 1 spi_transfer of 10 bytes and I do the math... I know that this

Re: How to mesure current SPI transfer speed

2011-01-10 Thread Kevyn-Alexandre Paré
On Sat, 2011-01-08 at 11:16 +0900, Jassi Brar wrote: On Sat, Jan 8, 2011 at 3:51 AM, Kevyn-Alexandre Paré kap...@rogue-research.com wrote: Hi, What's the best way to calculate the current SPI transfer speed? Right now I use something like that and transfer one spi_message with 1

How to mesure current SPI transfer speed

2011-01-07 Thread Kevyn-Alexandre Paré
Hi, What's the best way to calculate the current SPI transfer speed? Right now I use something like that and transfer one spi_message with 1 spi_transfer of 10 bytes and I do the math... I know that this is not accurate and was wondering if anyone have a better way? struct timeval

Re: How to mesure current SPI transfer speed

2011-01-07 Thread Jassi Brar
On Sat, Jan 8, 2011 at 3:51 AM, Kevyn-Alexandre Paré kap...@rogue-research.com wrote: Hi, What's the best way to calculate the current SPI transfer speed? Right now I use something like that and transfer one spi_message with 1 spi_transfer of 10 bytes and I do the math... I know that