Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUCLEO_F103RB is using a 16-bit timer as a internal ticker but the mBed ticker needs a 32-bit timer implementation, so the upper part of that 32-bit timer is being calculated in software. Software bug has been fixed - Continous HIGH/LOW voltage levels could be observerd for 65ms due to 16-bit timer overflow. Now current value of TIM_MST->CNT is stored in cnt_val and is updated in interrupt context only. This avoids master timer overflow without SlaveCounter update. Change-Id: I09cc262083b66e16affea14c4d2126287519b477
- Loading branch information