[INSTRM-609] Make SPI bit-banging take less time. Created: 13/Feb/19 Updated: 13/Feb/19 Resolved: 13/Feb/19 |
|
Status: | Done |
Project: | Instrument control development |
Component/s: | ics_xcu_smb |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Task | Priority: | Normal |
Reporter: | cloomis | Assignee: | cloomis |
Resolution: | Done | Votes: | 0 |
Labels: | SM1 | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Story Points: | 1 |
Description |
The spi_bus.py loop puts 0 and 1 bits on the SPI bus by flipping, separated by time.sleep(1e-6). Which of course take ~75us. This particular loop should probably be in cython/c, but for now use a null method, which takes about 1 us on a Pi3. |
Comments |
Comment by cloomis [ 13/Feb/19 ] |
Merged at 4084e64, tagged 1.1.0 |