User Tools

Site Tools


projects:crazyflie2:expansionboards:microsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
projects:crazyflie2:expansionboards:microsd [2020-03-13 16:13]
tobias
projects:crazyflie2:expansionboards:microsd [2020-09-24 13:07] (current)
tobias [Current limitations]
Line 47: Line 47:
 where fileName is a file from the µSD-Card. For convenience there is also an [[https://github.com/bitcraze/crazyflie-firmware/blob/master/tools/usdlog/example.py|example.py]] which shows how to access and plot the data. where fileName is a file from the µSD-Card. For convenience there is also an [[https://github.com/bitcraze/crazyflie-firmware/blob/master/tools/usdlog/example.py|example.py]] which shows how to access and plot the data.
  
-===== Current limitations ====== +===== Current limitations [SOLVED] ====== 
-The SD-Card is using the SPI bus on the deck port to communicate. This has turned out to have some implications for the other decks that use the SPI bus. The effected decks are the Loco-deck and the Flow v1,v2 deck. An [[https://github.com/bitcraze/crazyflie-firmware/issues/270|issue]] has been open about it and currently we have no easy solution. One workaround is to use a "hidden" SPI on the deck port that is multiplexed with TX1, RX1 and IO_4. This SPI port is called SPI3 in the STM32F405 and after [[https://github.com/bitcraze/crazyflie-firmware/commit/bfedc1ca97824434758269a0af255b0fa9afefbf|this]] commit there is a possibility to switch to this SPI bus.+The SD-Card is using the SPI bus on the deck port to communicate. This has turned out to have some implications for the other decks that use the SPI bus. The effected decks are the Loco-deck and the Flow v1,v2 deck. An [[https://github.com/bitcraze/crazyflie-firmware/issues/270|issue]] has been open about it and this has finally been solved but there might still be interesting to use the other SPI bus sometimes. One workaround is to use a "hidden" SPI on the deck port that is multiplexed with TX1, RX1 and IO_4. This SPI port is called SPI3 in the STM32F405 and after [[https://github.com/bitcraze/crazyflie-firmware/commit/bfedc1ca97824434758269a0af255b0fa9afefbf|this]] commit there is a possibility to switch to this SPI bus.
  
   - First thing the SD-card deck needs to be patched, CS->RX2(PA3), SCLK->TX1(PC10), MISO->RX1(PC11), MOSI->IO_4(PC12) and this is a quite hard to cut the small lines and solder small patch wires. Easier is to use a sd-card breakout deck such as [[https://www.sparkfun.com/products/544|this]] and solder wires to e.g. the battery holder board.   - First thing the SD-card deck needs to be patched, CS->RX2(PA3), SCLK->TX1(PC10), MISO->RX1(PC11), MOSI->IO_4(PC12) and this is a quite hard to cut the small lines and solder small patch wires. Easier is to use a sd-card breakout deck such as [[https://www.sparkfun.com/products/544|this]] and solder wires to e.g. the battery holder board.
projects/crazyflie2/expansionboards/microsd.txt · Last modified: 2020-09-24 13:07 by tobias