|
From: | Mauro Garcia Acero |
Subject: | [Paparazzi-devel] SPI with 16bit on LPC2148(YAPA) |
Date: | Wed, 20 Feb 2013 17:34:08 +0100 |
Dear all, The spi.h from mcu_periph is referred to
transactions of 8bits words. For example: extern uint8_t* spi_buffer_input; The same for spi_arch.h from ../lpc21/mcu_periph/,
but I have read that the LPC2148 can deal with 8 to 16 bits per transfer. As long as I see in other modules, read
registers from SPI devices are made as follows: spi_buffer_input = (uint8_t*)
....; spi_buffer_output = (uint8_t*)
....; SpiSetCPHA(); SpiStart(); I don't thing that spliting every command
into 2 bytes and sending them independently would work. Any ideas? Best regards, |
[Prev in Thread] | Current Thread | [Next in Thread] |