-
Notifications
You must be signed in to change notification settings - Fork 1k
Core Board F401RC #604
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
Core Board F401RC #604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basic tests done by @mrguen.
Ready to merge
37f6252
to
520c502
Compare
Fixes stm32duino#594 Co-authored-by: Thierry GUENNOU <[email protected]> Signed-off-by: Frederic.Pillon <[email protected]>
520c502
to
419dbc6
Compare
Sorry I tested only if analogRead() and digitalRead() on all ad hoc pins are ok. I would try to test the rest later if you mind. |
@fpistm
Works. Then the device COM port is enumerated. Then DFU download is not possible anymore and results in
|
@mrguen So timeout you get in for serial upload is due to no ack from the board about the 0x7F. You have to reset the board then it will acknowledge properly. I've planned to add an automatic reset in bootloader mode thanks a special sequences on the Serial line as it is done for HID BL or Maple DFU BL. |
Either I manual reset or not it will not upload using STM32CubeProgrammer (Serial) (BOOT0=0). There is no delay before printing the error... there is no time for scanning a device (and pressing the switch). The device is enumerated in Windows "STM Serial (COM29)" Now it raises: |
This is not related to the core. |
Ok, I will continue testing the device uploading with reset / DFU because it is way over my head and I would like to finish this. |
So far I could not validate these tests: Serial 6 on PC7/PC6: not working (Serial 1 and 2 ok) |
PB3/PB10 is only I2C2. |
Sorry my comment was false. I tested I2C1 on PB7/PB6. I just modified my comment. I tested Serial 6 with SerialCallResponse.ino modified with instantiating |
Well I guess you do not pay attention to pin mapping, SerialCallResponse set the pin number 2 in And how do you test I2C1 on PB7/PB6 |
Ok, thanks. Serial 6 is working. I2C works when instantiating TwoWire Wire1(PB7, PB6); but not with the default Wire instance. So variant.h should have |
Which is normal as the default Wire instance is on PB8 (SDA) / PB9 (SCL)... |
Ok, so these tests passed:
I could not write to EEPROM (eeprom_write.ino) the value '100' and then read it (eeprom_read.ino). It constantly reads 255. |
Thanks for the tests. |
Yes, passed:
I suppose eeprom_write and eeprom_read have a datatype problem but won't investigate it. |
@fpistm Thanks for your constant support. |
These were taken from stm32duino/Arduino_Core_STM32#604. It is not entirely clear where they originally came from (there is an aliexpress link, which has an image with the dimensions but no PDF and no schematics).
These were taken from stm32duino/Arduino_Core_STM32#604. It is not entirely clear where they originally came from (there is an aliexpress link, which has an image with the dimensions but no PDF and no schematics).
These were taken from stm32duino/Arduino_Core_STM32#604. It is not entirely clear where they originally came from (there is an aliexpress link, which has an image with the dimensions but no PDF and no schematics).
Fixes #594
Based on @mrguen first try for this board:
https://fr.aliexpress.com/item/32894670982.html?spm=a2g0s.9042311.0.0.27426c37RrpWiJ
Shematics: STM32F401RCT6_CORE_BOARD_原理图.pdf
Pinouts STM32F401RCT6_CORE_BOARD尺寸图.pdf