Skip to content

Commit

Permalink
Fix voltage and change frequency to perf
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Nov 9, 2023
1 parent 98a403a commit bb65fba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 50 deletions.
2 changes: 2 additions & 0 deletions dory/Hardware_targets/PULP/Common/Templates/main.c.t
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ void application(void * arg) {
int main () {
#ifndef TARGET_CHIP_FAMILY_GAP9
PMU_set_voltage(1000, 0);
#else
pi_pmu_voltage_set(PI_PMU_VOLTAGE_DOMAIN_CHIP, PI_PMU_VOLT_800);
#endif
pi_time_wait_us(10000);
pi_freq_set(PI_FREQ_DOMAIN_FC, ${fc_frequency});
Expand Down
6 changes: 3 additions & 3 deletions dory/Hardware_targets/PULP/GAP9/HW_description.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"8bits": 32,
"float32": null
},
"core frequency": 50000000,
"accelerator frequency": 50000000,
"peripheral frequency": 50000000,
"core frequency": 370000000,
"accelerator frequency": 370000000,
"peripheral frequency": 370000000,
"HW specific parameters":{
"accelerator core0 stack": 3500,
"accelerator core1-7 stack": 3400
Expand Down
47 changes: 0 additions & 47 deletions dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json

This file was deleted.

1 change: 1 addition & 0 deletions dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json

0 comments on commit bb65fba

Please sign in to comment.