Question for the hardware gurus: ISP vs. SPI

Post Reply
simondlevy
Posts: 7
Joined: Sun Jul 12, 2015 7:14 am

Question for the hardware gurus: ISP vs. SPI

Post by simondlevy »

I'm interested in interfacing an STM32-based flight controller with external sensors based on the SPI (Serial Peripheral Interface) protocol. I have a couple of FCs (Flip32 F3, shown in attached photo; EMAX Skyline 32) that have a section of pins marked 5V/GND/RST/SCK/MISO/MOSI, which I presume are there to support ISP (In-System Programming); i.e., these pins allow the FC to act as a slave device for a programmer device that acts as the master. Other boards, such as the multiFlite NANO-B-FC, provide pin headders explicitly for SPI (other attached image), with CS (Chip Select) instead of RST.

Am I correct in these assumptions: i.e., the first kind of pinout (/RST/SCK/MISO/MOSI) does not support an external SPI sensor, and the latter (CS/SCK/MISO/MOSI) does?
Attachments
http://store.multiflite.co.uk/index.php?route=product/product&product_id=50
http://store.multiflite.co.uk/index.php?route=product/product&product_id=50
Flip32 F3
Flip32 F3

Post Reply