* Cortex GNAT RTS: BBC micro:bit tick rate
@ 2018-07-24 11:44 Simon Wright
0 siblings, 0 replies; only message in thread
From: Simon Wright @ 2018-07-24 11:44 UTC (permalink / raw)
As announced recently, Cortex GNAT RTS now supports the BBC micro:bit.
Because the nRF51822 MCU doesn't support SysTick, it has to be simulated
using the RTC peripheral, which runs at 32,768 Hz.
At first I thought it wouldn't generate interrupts faster than 100 Hz
anyway, but this turns out to be because I was disabling/enabling
interrupts every time. It will go much faster than that (I don't know
how much time is left for the CPU to do anything else, though).
So, the question: is there any problem with having Ada.Real_Time.Tick be
1/1024 second? (with GNAT, it's usually/always a decimal fraction).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-24 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 11:44 Cortex GNAT RTS: BBC micro:bit tick rate Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox