Higher-level abstractions for setting SPI transfer_size
See original GitHub issueThis is a feature request, not a bug report.
Currently, the command line parsers and device configuration settings for the MAX7219 devices in the luma library allow the SPI bus speed (i.e. clock speed) and CS active-high to be set, but there’s no way to adjust the maximum transfer_size
parameter, which is exposed by the spi
class constructor (the default is 4096). I think this would be very useful for me to debug my glitchy MAX7219-based displays; the raspberry pi supports 4096, but I think the cascaded MAX7219s in my display would be happier with smaller words. I don’t want to have to manually override the default parameter in the core library, it would be great if this could be supported from the command line argument parser.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
PerformanceResourceTiming.transferSize - Web APIs | MDN
The transferSize read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields ...
Read more >FTDI MPSSE Serial Engine Programming Tutorial: Basics and ...
In this article, we are going to understand the basics of MPSSE, how to configure, and write a small program to drive a...
Read more >15. Memory Mapping and DMA - Linux Device Drivers, 3rd ...
This chapter delves into the area of Linux memory management, with an emphasis on techniques that are useful to the device driver writer....
Read more >Chipyard Documentation - Read the Docs
This next example shows a “higher-level” additive config fragment that uses prior parameters that were set to derive other parameters.
Read more >Kinetis SDK v.1.3 API Reference Manual - NXP
Abstraction layer provides prologues and epilogues in a uniform API for all ... (such as SPI flash and ENET PHY) found on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe you can try it, it’s exactly the same as https://github.com/rm-hull/luma.core/commit/5c688227fc26d0373a92e778813dc60fb514aeba but then for transfer_size @drspangle
Will create a new release tomorrow for this