Bringup: Digital #2

Open
opened 2022-10-17 18:21:58 +02:00 by markus · 2 comments
Owner
  • USB Bootloader
  • Battery monitor
  • VBus detection
  • Accelerometer (+Vaux)
  • LED level shifter
  • LED string
- [x] USB Bootloader - [ ] Battery monitor - [x] VBus detection - [x] Accelerometer (+Vaux) - [x] LED level shifter - [x] LED string
Author
Owner

Even before bringup, this board is a disaster.

CPU doesn't support 12 MHz, which is required by V-USB. Adding a crystal could be done through a mod, but that will violate the MHz-vs-voltage spec.

Even before bringup, this board is a disaster. CPU doesn't support 12 MHz, which is required by V-USB. Adding a crystal could be done through a mod, but that will violate the MHz-vs-voltage spec.
Author
Owner
  • Add 16 MHz crystal, rewire I/Os
  • Remove level shifter, connect directly
  • CPU is always powered from the cell, meaning the 12 mA current draw of the system will prevent the charger from ever turning off it's output, so we don't know when we've finished charging unless we go into suspend (~20 uA). But then, when we turn back on, the CPU will run exclusively from the cell as the charger turned its output off. -> Solution: Force CPU into suspend when connected to power, waking on status signal changes. Or just live with it.
* Add 16 MHz crystal, rewire I/Os * Remove level shifter, connect directly * CPU is always powered from the cell, meaning the 12 mA current draw of the system will prevent the charger from ever turning off it's output, so we don't know when we've finished charging unless we go into suspend (~20 uA). But then, when we turn back on, the CPU will run exclusively from the cell as the charger turned its output off. -> Solution: Force CPU into suspend when connected to power, waking on status signal changes. Or just live with it.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: markus/leddie#2
No description provided.