Re: [beagleboard] SPI in 48MHz

2014-07-14 Thread Guy Grotke
I don't think you will be able to overcome these times using the 
existing SPI HW and SW.  48 MHz is the fastest the SPI hardware can run 
because that is the clock signal it gets before any clock dividing.  
Some things I have read say not to use it at faster than /3 (16 Mhz).  
If you really need to run faster, program a PRU to bitbang SPI: I think 
you could write fixed sequences out at 100 Mbits/second, if you can 
manage to get 100 MHz signals off the board without too much noise and 
ringing.  (I would put 25 ohm resistors in series with the cs, clock, 
and mosi signals to terminate them.) Then you can have zero time between 
bytes, use whatever cs hold time you need, etc.


On 7/10/2014 11:46 PM, ES wrote:

Hi
Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz 
as a master.

if i send bytes am getting the following issues
1. Delay between the first byte and second byte  is around 18us
2. Inter byte delay around 400ns
3. cs hold time is around 127us
can someone please help me to reduce this
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google 
Groups BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to beagleboard+unsubscr...@googlegroups.com 
mailto:beagleboard+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups BeagleBoard group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI in 48MHz

2014-07-11 Thread ES
Hi 
Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz as a 
master.
if i send bytes am getting the following issues
1. Delay between the first byte and second byte  is around 18us
2. Inter byte delay around 400ns
3. cs hold time is around 127us 
 
can someone please help me to reduce this
 
 
 
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI in 48MHz

2014-07-11 Thread Yiling Cao
to what? setting SPI to higher clock?


On Fri, Jul 11, 2014 at 2:46 PM, ES elasu2...@gmail.com wrote:

 Hi
 Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz as a
 master.
 if i send bytes am getting the following issues
 1. Delay between the first byte and second byte  is around 18us
 2. Inter byte delay around 400ns
 3. cs hold time is around 127us

 can someone please help me to reduce this





 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI in 48MHz

2014-07-11 Thread John Syn

From:  ES elasu2...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 10, 2014 at 11:46 PM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  [beagleboard] SPI in 48MHz

 Hi 
 Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz as a
 master.
 if i send bytes am getting the following issues
 1. Delay between the first byte and second byte  is around 18us
 2. Inter byte delay around 400ns
 3. cs hold time is around 127us
  
 can someone please help me to reduce this
Are you talking to SPI via SPIDEV or are you using a Kernel Module or Device
driver?

Regards,
John
  
  
  
  
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.