Search found 7 matches

by Sgt_Pepper
Sun May 03, 2020 6:10 pm
Forum: Other Boards
Topic: [STM32F405RGT6/Custom Board] Flashing firmware first time using DFU
Replies: 1
Views: 281

[STM32F405RGT6/Custom Board] Flashing firmware first time using DFU

I have a custom board that I designed using the PYB v1.1 schematics as a reference. I did the best job to match the critical components and wiring (STM32F405RTG6, 12MHz crystal). I did this so that I can use the same firmware without having to build my own. After soldering my board together I tied B...
by Sgt_Pepper
Tue Mar 10, 2020 7:09 pm
Forum: Other Boards
Topic: Micro SD Card Slot with Nucleo L476RG
Replies: 2
Views: 627

Re: Micro SD Card Slot with Nucleo L476RG

@jimmo Thanks for the reply. I just decided to buy a PyBoard and continue testing with that. I'm sure that the results I found from my testing are trivial to most people but for anyone (like myself) who is relatively new to micropython and the different boards out there I figured this might be usefu...
by Sgt_Pepper
Thu Mar 05, 2020 7:30 pm
Forum: Other Boards
Topic: Micro SD Card Slot with Nucleo L476RG
Replies: 2
Views: 627

Micro SD Card Slot with Nucleo L476RG

Hello, I am trying to make a data logger with Micropython running on a Nucleo L476RG. I want to save data from two ADXL375 accelerometers and write them to a micro SD card. I originally purchased a micro SD card breakout board from Adafruit that allows a connection over SPI and I used the sdcard.py ...
by Sgt_Pepper
Wed Mar 04, 2020 11:44 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 36
Views: 16583

Re: data write speeds and broken SD cards

At 3200 Hz sampling rate, the INT1 goes high every 20/3200 = 6.25 ms. The readout/file write takes 1.3 ms, so there's plenty of time. If the write buffer has filled up to 512, a sector is written to the SD card, which takes about 1.2 ms (427 kB/s). I have been trying to get similar speeds using an ...
by Sgt_Pepper
Thu Feb 20, 2020 8:00 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 36
Views: 16583

Re: data write speeds and broken SD cards

This is great work! I am also trying to make a data logger with an ADXL375 for my mountain bike. I spent a lot of time writing a driver although I can't get it quite correct. I think that I am interpreting the data incorrectly. Would you be willing to share your ADXL375 driver?
by Sgt_Pepper
Sun Jun 09, 2019 6:00 am
Forum: General Discussion and Questions
Topic: Trouble reading ADXL375 accelerometer using over SPI
Replies: 2
Views: 481

Re: Trouble reading ADXL375 accelerometer using over SPI

@pythoncoder Thank you for the reply. That makes sense that they are redundant.... I just wanted to be extra sure that they were set correctly. Strangely enough just yesterday I tried using SPI 2 (instead of SPI 1) and it worked perfectly. It must be a problem more fundamental to the microcontroller...
by Sgt_Pepper
Fri Jun 07, 2019 10:47 pm
Forum: General Discussion and Questions
Topic: Trouble reading ADXL375 accelerometer using over SPI
Replies: 2
Views: 481

Trouble reading ADXL375 accelerometer using over SPI

Hello everyone! This is my first forum post so I apologize if I have formatted things improperly. I am trying to write a driver for the ADXL375 accelerometer (https://www.digikey.com/product-detail/en/analog-devices-inc/ADXL375BCCZ/ADXL375BCCZ-ND/4376342) using SPI. I am using Micropython version 1....