Fix for SPI0 DMA mode on Raspberry Pi A/B/Zero

Releases, updates and announcements from the Ultibo team.
User avatar
Ultibo
Site Admin
Posts: 2121
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Fix for SPI0 DMA mode on Raspberry Pi A/B/Zero

Postby Ultibo » Sat Feb 09, 2019 12:03 am

In response to a report of a problem using the PiTFT35 driver with a Raspberry Pi Zero it was discovered that random DMA failures can occur due to apparent timing issues when using the SPI0 device in DMA mode.

A fix has now been committed which resolves these issues by changing the way the DMA channel pair for SPI RX and TX are started when performing an SPI DMA transfer. After extensive testing no further failures have been observed on any current Raspberry Pi model.

For details of how to apply the latest source to your Ultibo core installation and rebuild your run time library see the wiki page Building from Source or watch the Building the RTL video on YouTube.
Ultibo.org | Make something amazing
https://ultibo.org

Return to “Ultibo”

Who is online

Users browsing this forum: No registered users and 0 guests