(35 fps is the software-enforced limit of the original Doom, and it has been kept in many ports. In the most recent video, the game is running very smoothly at 34-35 fps the majority of time, slowing down below the 30fps mark only occasionally, in complex areas. The article also points to a couple of videos that show the game in action. Previous Doom Port Attempts on the nRF52840īefore starting this project, someone pointed us to this blog post from a Nordic engineer, who ported Doom to the nRF5340, which is a more powerful MCU with respect to nRF52840. We can also implement double buffering, which, together with DMA, will provide a huge performance boost, as we can render a new frame, while the old one is being sent to the display.įinally, we have 1 MB flash: same as we had before.
![raury all we need 320 download raury all we need 320 download](https://www.mclub.com.ua/images/alb/cover99588_554289.jpg)
The now available much larger RAM allows us to use a much higher resolution display, without having to worry too much about the frame buffer. In terms of RAM, the nRF52840 has almost 2.5 times the RAM we had in the previous project (a quarter of MB, instead of less than a ninth). Still, as we will see later, to get the maximum from the QSPI peripheral, we rarely access it in memory-mapped mode, especially for random read operations. The maximum QSPI clock speed is 32 MHz, allowing for a peak 16 MB/s transfer rate. the flash memory can be read as if it was part of the microcontroller internal memory: the QSPI module will handle flash read command and address generation. However, unlike the CM33, this CM4 MCU features also a hardware QSPI interface, which also supports memory mapping, i.e. In fact, considering the different DMIPS/MHz (1.25 vs 1.5) and the different clock (64 vs 80 MHz), the CM33 was 1.5 times faster. In terms of computing power, this MCU is much less powerful than the 80-MHz Cortex M33 (CM33 hereafter) we used previously. The nRF52840 features a 64 MHz Cortex M4 (CM4 hereafter), with 256 kB of RAM and 1 MB of flash.
![raury all we need 320 download raury all we need 320 download](https://images.squarespace-cdn.com/content/v1/58abbbf7579fb39fe1ab6a8b/1487738417343-MTUK3OQMU7JH3LNVXVNT/Faviconlogo.png)
Raury all we need 320 download Bluetooth#
Now, as the title says, we will be targeting a $13 (excluding shipping) Bluetooth LE USB adapter. Time to add one more device to the list of unusual things that run Doom! “… if it exists, it can run Doom.” It’s again Doom time!