[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Starting point for SPI on Lisa/M2

From: Gerard Toonstra
Subject: [Paparazzi-devel] Starting point for SPI on Lisa/M2
Date: Mon, 8 Oct 2012 06:24:18 -0300

Hi all,

I'm looking at the complexity of attaching another SPI device for communications purposes on Lisa/M2.

The expectation was that spi_arch.c would be more of an SPI driver that you could use to initialize a structure with
and then pass along to different functions for reading/writing and so on, things that would typically be done inside a driver.

Reading the code, I get the impression that instead it is a file specifically written for communication with the IMU,
as there are specific references to SS pins, addresses and DMA's and the likes.

The examples and tests had some specific SPI code in there not using any of the "mcu arch" code, indicating that others
have seen the same thing and just tried to get their equipment working on the hardware.

What's the best starting point in either tests, examples or existing code for doing anything related to SPI on the current
code base, which ideally uses the standard existing SPI connector on the main board?

I've also found this post:

Was this ever merged?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]