rizacelik / STM32F411CEU6_INAV_Firmware

STM32F411CEU6 Board Firmware
122 stars 32 forks source link

Blackbox #29

Closed Lalbabu2001 closed 6 months ago

Lalbabu2001 commented 6 months ago

Where to connect blackbox connection Quadcopter configuration . Can I use SD card module https://images.app.goo.gl/5wFvNcc6KCMUzVYJ6

rizacelik commented 6 months ago

Unfortunately, there is no SD card support. You can use M25P16 instead. Here M25Pxx represents the xx flash size. You can get it in any size you want. Connection pins are as follows.

SPI2_SCK_PIN PB13 SPI2_MISO_PIN PB14 SPI2_MOSI_PIN PB15 SPI2_CS_PIN PA4

If you can't find this flash chip in your country, you can buy it from Aliexpress. https://aliexpress.com/item/1005003030545704.html

Lalbabu2001 commented 6 months ago

Unfortunately, there is no SD card support. You can use M25P16 instead. Here M25Pxx represents the xx flash size. You can get it in any size you want. Connection pins are as follows.

SPI2_SCK_PIN PB13 SPI2_MISO_PIN PB14 SPI2_MOSI_PIN PB15 SPI2_CS_PIN PA4

If you can't find this flash chip in your country, you can buy it from Aliexpress. https://aliexpress.com/item/1005003030545704.html

Can I use w25q32 flash module, it's easily available here. Do I also need txs0108e module?

Lalbabu2001 commented 6 months ago

Kindly assist me

rizacelik commented 6 months ago

It probably supports the w25q32 chip, but I haven't tested it. It should work normally.

Lalbabu2001 commented 6 months ago

Do I need txs0108e module or I can do without it?

rizacelik commented 6 months ago

Check the pin level of the module. The datasheet file contains the necessary information. If it is 3.3V, you will need a level converter. If it is 5V there is no need.

Lalbabu2001 commented 6 months ago

Thank you, so much great people comes with great knowledge like you. I saw inav repository it has support there. One thing I saw here is I already have used pins pb 13,14, and 15 for gyro sensor. So connecting flash module to same may cause problem.

rizacelik commented 6 months ago

No, it's okay. Because you can connect multiple modules to the SPI interface. Because the CS pin of each connected module is different. SPI2_CS_PIN PA4 This pin is reserved for M25P16.

Example image

Lalbabu2001 commented 6 months ago

Right now you are serving us with knowledge, in future we will serve new generation with knowledge provided by you. Thank you for your time sir.