-
Notifications
You must be signed in to change notification settings - Fork 1k
New Variant FK407M1 #406
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
New Variant FK407M1 #406
Conversation
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
20-40 days for my boards to ship, oh well 🤣 |
Do you have a link on this board and the schematics? |
Boards I've bought -> https://www.aliexpress.com/item/IRS2092-single-channel-amplifier-board-200W/32822107693.html (not sure what the URL is about) I found schematics tucked away in the HW folder of github repo that I've forked for safe keeping -> https://github.com/BennehBoy/Firmware-ALPHA |
Blink tested - found issue with PC13 definition (pin is not broken out) HID bootloader tested USART, SDIO, SPI to test... |
USART working (1 & 3) |
I can't get i2c scanner to report anything, but not just with this board, same problem with 407VE. The device I'm testing against is found by scanner against rogers core on a maple mini - same wiring. I'll try and test on bluepill & blackpill shortly. I'm not forgetting something daft like pin initialisation? Wire lib should take care of that right? |
|
Working on Bluepill, so perhaps something common to the GenF4 variants - I cloned the base 407VE to define this? |
Hmm... If I force SDA to PB7 and SCL to PB6:
Then it works.... I thought these were the default pins? From PeripheralPins.c:
|
this shows it is better to explicitly set I/Os than think it is set to some defaults |
Yeah but if this a variant bug that will catch out beginners it's worth fixing... |
Just thinking about move peripheralpins.c from variant to core, so less to fix if something change and could be more generic, also variant will be more. simple |
I don't really see how that would work, it's specific to each board so if it was in the core it would need so many switches as to make it unintelligible. |
just check stm32generic these variants are realy simple |
Perhaps, but that's not the way this core is structured - I suspect DianelF had to do a lot of leg work to make the internals work on STM32GENERIC |
About variant, lot of work has been done to only have pin mapping to define. |
On that note, analog pins are not consecutive in this variant - they are broken out at seemingly random so PeripheralPins.c would be a bit confusing for anyone looking at it (I think). |
@fpistm, |
I agree, but it IS nice to have the integer value of say A0 be the same as it's PXn equivalent - perhaps the readme.md should simply state which boards do and do not have Arduino pin equivalency? |
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
I thought I had set the I2C pins to the arduino compatible values, but it seems I messed that up. This change will set the defaults for the board variant RemRam V1.
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
I'm going to leave the I2C pins as is. Analogue read is tested and working. Any other tests required? |
Thanks @BennehBoy |
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO. Based and close stm32duino#406 Signed-off-by: BennehBoy <bennyboy@benneh.net>
Chinese STM32F407VET6 Minimum Development board with USB-C connector and SDIO.
Untested.