Skip to content

Instantly share code, notes, and snippets.

@ReservedField
Last active December 13, 2017 12:49
Show Gist options
  • Save ReservedField/92e5eb9980238326171d to your computer and use it in GitHub Desktop.
Save ReservedField/92e5eb9980238326171d to your computer and use it in GitHub Desktop.

eVic SDK to-do list

Atomizer

  • Better overcurrent/short detection

    There are still some checks from OFW left to implement.

  • Make 144MHz PWM stable

    PWM can be clocked @ 144MHz straight from PLL (it's @ 72MHz right now), doubling the resolution. This might cause problems with the slew rate, though, so some work is needed.

Clock

  • Implement CPU downclocking

    Probably better to switch ADC, PWM and SPI to HXT so that we can freely change PLL clock. Do we really need this?

USB

  • Implement HID transfer

    Do we really need this? LDROM will do. Maybe add something for CFW to reboot into LDROM.

Misc

  • Remove redundant variable inits

    Some global variables are init'ed both statically and in Whatever_Init(), better to clean that up.

  • Check ADC readings precision against Joyetech's code

    Some fluctuate too much, might be better to throw away the least significant digits. Or do some averaging. Done for: atomizer voltage feedback loop.

"I'm the baddest reverser around town" award

  • Figure out what the hell type B display actually is

  • Figure out what PD.0 and PB.7 are

    PB.7 is connected to unpopulated stuff so we'll probably never know. It is set by OFW though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment