-
Notifications
You must be signed in to change notification settings - Fork 1
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
Awesome work! #1
Comments
Hi, and thanks for the interest! According to the datasheet this mcu does not support USB at all. This chip is the “N” version (FM33LC043N) Based on my pcb tracing work, the USB C port has only a sensing GPIO (Pin11/PB8) that is wired to VBUS line over a voltage devider, as well as VCC in of the battery charging controller . I’m not sure how this can be hijacked and turned into a data out pin even with a custom breakout usbc plug board. PIN11 = PB8/SEG7/SPI1_SSN/ATIM_CH3N Currently only way to extract history data from internal flash would be either over SWD port or some sort of hardware mod. Thanks again for the interest and let me know if you have any kind of input or ideas 😁 |
Ah, I see, missed that. I suppose one other option would be to wire uart tx/rx to the unused typec pins and make external 'datacable' with generic usb-uart ttl converter. But yea, not the most elegant of solutions. |
Yeah, unfortunately the only broken out and useful UART gpios are the one used as SDA and SCL for OLED I2C bitbanging (which are already pulled up). The alternative would be to use the SWD pads |
Another idea struck me: HFS-P3 has two LEDs I could use to transfer data over “Li-Fi” This is an Arduino DIY PoC:
|
Wow, this it brilliant! The problem however is that it's one-way communication and will require some kind of makeshift fixture to secure the light receiver onto the device... I too was thinking about using the LEDs, but rather make the LED pins pull double duty: switch their function to tx/rx when communicating with a PC. Alternatively, same can be done with the LCD pins SCL/SDA: we can pull down LCD reset for the duration of communication with a PC (at the price of having screen not working when the cable is plugged in). |
Hi! Just wanted to say you did awesome job here. Thanks for that!
I had an idea to write custom software for this device so it wold be able to communicate with PC via USB (send measurements history and real-time). Sadly, according to the schematics USB connector does not have traces to the microcontroller (even though the MCU does supports USB). So this not gonna be possible with this hardware.
The text was updated successfully, but these errors were encountered: