I have several reasons to use STM32F103. F4 line exists now just as the Discovery kit. No MCU available at Farnell so far. No samples at ST.COM so far.
How does it exactly work in the memory ? RAM_TILES_COUNT defines number of tiles and after them there are fonts (and it is used in Print() function). Is it in RAM or ROM?
In Megatris Isawsomething like copying Tile from ROM to RAM (RestoreTile() function). How does it exactly work? It is bad that I don't understand AVR assembler code...
- My idea is to change VRAM from tile numbers to pointers to the start of tile. Then everything can be anywhere. Anywhere AND ALWAYS in ROM. Because of timing. It has an advantage that one can have different tile maps and use it at one time.
But, is there any application which has to use Tiles/Fonts from RAM ? For example dynamically generated tiles? This would be problem and then all tiles and fonts have to be in RAM to be consistent.
Though I think it only avail on the 100+ pins devices. I was thinking that using simplest, lowest pin device would make it "easier" to solder for most.
As for the DMA I'm always concerned about how to make it deterministic to have a jitter free output. From what I understand that if the RAM bus is accessed by the CPU, the DMA controller has to wait. Unless there's some burst buffer that can cache a couple bytes in advance and guarantee a stable throughput.
You're right, but the devices with 64 or 100 pins have the same package and size of pins. I guess that there's no big difference if you solder 64 pins or 100. The solder bridges could appear in both cases.
Users browsing this forum: No registered users and 1 guest