question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Higher-level abstractions for setting SPI transfer_size

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
thijstriemstracommented, Feb 21, 2018

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

0reactions
rm-hullcommented, Feb 21, 2018

Will create a new release tomorrow for this

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found