![]() ![]() 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. 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. Show once again that some everyday-use low-cost devices are actually powerful enough to run Doom (even faster than you used to on 1993), despite their apparent simplicity.to all devices based on the same microcontroller, provided they have enough accessible GPIOs, to add a QSPI memory, and a display. Port Doom to another device, which is not meant to play Doom at all.This adapter is based on the nRF52840, an IoT RF microcontroller (MCU hereafter), by Nordic Semiconductors (Nordic hereafter). 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! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |