Search found 4 matches

by Piphi5
Wed Aug 02, 2023 6:39 pm
Forum: STM32 Support
Topic: STM32 F722 spiSend not updating register
Replies: 6
Views: 6502

Re: STM32 F722 spiSend not updating register

It seems like the way I was reading the register after writing to it doesn't actually indicate if the register was written to. I tried using the write function without that check and called it how the Ardupilot Driver calls it and the gyro ended up responding the way it should, but the function ...
by Piphi5
Tue Aug 01, 2023 8:15 am
Forum: STM32 Support
Topic: STM32 F722 spiSend not updating register
Replies: 6
Views: 6502

Re: STM32 F722 spiSend not updating register

So from the STM32F722xE.ld file, it seems like ram3 is the one that is associated with DTCM.

ram3 : org = 0x20000000, len = 64k /* DTCM-RAM */


And it seems like Ram3 is where the stack is:

ram3 0x0000000020000000 0x0000000000010000


.mstack 0x0000000020000000 0x400 ...
by Piphi5
Mon Jul 31, 2023 11:00 pm
Forum: STM32 Support
Topic: STM32 F722 spiSend not updating register
Replies: 6
Views: 6502

Re: STM32 F722 spiSend not updating register

Where can I check that?

Here is my mcuconf.h if it helps

/*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the ...
by Piphi5
Mon Jul 31, 2023 8:33 pm
Forum: STM32 Support
Topic: STM32 F722 spiSend not updating register
Replies: 6
Views: 6502

STM32 F722 spiSend not updating register

I am currently trying to adapt a ChibiOS driver for the BMI270 gyro for a F722 based flight controller: https://www.hglrc.com/products/hglrc-zeus-f722-3-6s-f722-flight-controller .

Currently, I am attempting to send data via SPI to the gyro based off of a simplified version of ...