I was testing a simple led flashing program on my dev board, and could not get the clock subsystem to use the external oscillator. Determined that it was due to a bug in the peripheral crate.
Peripheral RCC register CR HSEON and HSION had On/Off bit enums backwards. Reversed them. I only have the PY32F030 device, but it appears that the same problem is in some of the other devices also.
I was testing a simple led flashing program on my dev board, and could not get the clock subsystem to use the external oscillator. Determined that it was due to a bug in the peripheral crate.
Peripheral RCC register CR HSEON and HSION had On/Off bit enums backwards. Reversed them. I only have the PY32F030 device, but it appears that the same problem is in some of the other devices also.