Skip to content

Commit

Permalink
Merge pull request #8870 from aabadie/pr/boards/nucleo-f429zi_spi_fix
Browse files Browse the repository at this point in the history
boards/nucleo-f429zi: fix spi divtable
  • Loading branch information
vincent-d authored Apr 4, 2018
2 parents d9993cc + 35a1ca0 commit e7b0ace
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions boards/nucleo144-f429/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,19 @@ static const pwm_conf_t pwm_config[] = {
* @{
*/
static const uint8_t spi_divtable[2][5] = {
{ /* for APB1 @ 90000000Hz */
7, /* -> 351562Hz */
7, /* -> 351562Hz */
6, /* -> 703125Hz */
3, /* -> 5625000Hz */
2 /* -> 11250000Hz */
{ /* for APB1 @ 42000000Hz */
7, /* -> 164062Hz */
6, /* -> 328125Hz */
4, /* -> 1312500Hz */
2, /* -> 5250000Hz */
1 /* -> 10500000Hz */
},
{ /* for APB2 @ 180000000Hz */
7, /* -> 703125Hz */
7, /* -> 703125Hz */
7, /* -> 703125Hz */
4, /* -> 5625000Hz */
3 /* -> 11250000Hz */
{ /* for APB2 @ 84000000Hz */
7, /* -> 328125Hz */
7, /* -> 328125Hz */
5, /* -> 1312500Hz */
3, /* -> 5250000Hz */
2 /* -> 10500000Hz */
}
};

Expand Down

0 comments on commit e7b0ace

Please sign in to comment.