-
-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPI Flash pins on TX16S currently left unconfigured #8365
Labels
Comments
rotorman
changed the title
EEPROM pins on TX16S currently left undefined
EEPROM pins on TX16S currently left unconfigured
Mar 13, 2021
By looking at the mainboard PCB images of Jumper T18 and Jumper T16 (in addition to RadioMaster TX16S), I see that the SPI flash chip is present/populated on all. I am suggesting following additions:
|
rotorman
changed the title
EEPROM pins on TX16S currently left unconfigured
SPI Flash pins on TX16S currently left unconfigured
Mar 29, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By going through the source code, I noticed the SPI Flash pins on TX16S (PI0 to PI3) are left unconfigured (= inputs and thus floating). The GD25Q127CSIG memory chip is physically populated on the TX16S PCB and connected to STM32F429BI SPI2 SCK, MISO and MOSI pins plus PI0 for the ChipSelect.
The pins are defined here:
opentx/radio/src/targets/horus/hal.h
Lines 614 to 628 in 1a4eb06
but GPIO_Init() is never called for them when building for e.g. TX16S.
IMHO it would be better to minimally configure weak pull-ups, even if the SPI Flash chip is not actively used on TX16S:
This is to avoid possible CMOS high current due to floating inputs.
The text was updated successfully, but these errors were encountered: