|
From: | Mauro Garcia Acero |
Subject: | Re: [Paparazzi-devel] 16b vs 8b YAPA SPI and other subjects |
Date: | Wed, 27 Feb 2013 17:46:05 +0100 |
Tx Felix for your remarks, I'm working right now in making more
clear the code I have done and more readable. I will try to make different
transactions for each communication, good idea. I will push the new code as soon as it
is ok. Best regards, From:
address@hidden
[mailto:address@hidden On Behalf Of Felix Ruess Hi Mauro, first a general note: If you have problems with your code, the easiest and quickest way is to
commit it and push it to github. Then you can directly point it out what you did and we don't have to
guess what exactly you did/didn't do...
Hm.. The max1168 driver uses 8 data words and according to Gautier
works fine on lpc.
Yes.
Yes.
Yes.
Patches/pull requests with updated doxygen comments for all this
in sw/airborne/mcu_periph/spi.h would
be very much appreciated!! This will then automatically land in the generated docs at http://paparazzi.github.com/docs/latest/group__spi.html
Did use the same spi_transaction for these subsequent requests? If you submit multiple requests in a row you have be careful not to
overwrite the values in the previous spi_transaction structure. Either make sure the previous one is finished if you want to reuse the
transaction structure or make a separate one for each request. Hope that is of some help for now... But as I said, the often repeated mantra of "show me the
code" is also very true here ;-) Cheers, Felix |
[Prev in Thread] | Current Thread | [Next in Thread] |