<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ATCDC: Digimorf, Day 59, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 12</title><link>/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atcdc-digimorf-day-59-the-project-sega-sg-1000-emulator-on-psoc62s4-pioneer-kit-part-12</link><description>Hi to all, welcome back. 
Eight days left, WOW, this time has flown away quickly. I hope you all are where you wanted to be for your project. 
As I knew my project would have presented many obstacles to me, but this is the purpose of a...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: ATCDC: Digimorf, Day 59, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 12</title><link>https://community.element14.com/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atcdc-digimorf-day-59-the-project-sega-sg-1000-emulator-on-psoc62s4-pioneer-kit-part-12</link><pubDate>Thu, 04 May 2023 07:41:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3c6a1078-41f9-4db1-88ed-1bb11659d112</guid><dc:creator>Digimorf</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi, I had some time to spend in R&amp;amp;D yesterday, and I tried to investigate the jitter caused apparently by the access to the SRAM at the same time by the cores.&lt;/p&gt;
&lt;p&gt;I have plug this &amp;quot;PSoC6 Gaming System&amp;quot; (Iam making fun of it) to my big TV and I noticed that the jitter involves the starting point of the scanline, since it seems that it translates randomly when things in the game moves heavily. So it&amp;#39;s the entire line that translates, not single pixels. All this things suggest me that the DMA transfers are not really affected by the arbitration, otherwise the line would have been shrink or stretched irregulairly. Maybe something happens when the Inerrupt of the scanline fires.&lt;/p&gt;
&lt;p&gt;This sounds weird to me because the two cores have two indipendent interrupt systems. But wait, the vector table is located into the SRAM! The startup code *.s takes care of copying the table from Flash to SRAM. So, is it possible that the jump action to the ISR location is influenced by a delay during the fetching of the address from the vector table in the SRAM?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I should leave&amp;nbsp; the table in the Flash, but it seems a bit tricky because all the memory map in the linker file is designed accordingly to the vector table located in the SRAM.&lt;/p&gt;
&lt;p&gt;Probably I will work more on it in the next days for fun, but I wanted to bring your attention to this potential issue for a dual-core design.&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25800&amp;AppID=392&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: ATCDC: Digimorf, Day 59, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 12</title><link>https://community.element14.com/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atcdc-digimorf-day-59-the-project-sega-sg-1000-emulator-on-psoc62s4-pioneer-kit-part-12</link><pubDate>Mon, 01 May 2023 16:46:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3c6a1078-41f9-4db1-88ed-1bb11659d112</guid><dc:creator>ljking</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi @digimorph&lt;/p&gt;
&lt;p&gt;Sorry for the delay. I did some research on this topic. Each SRAM block has two ports, a High Speed port, and a Low Speed port. The bus masters on each port have a &amp;#39;priority&amp;#39; which is set in the&amp;nbsp;&lt;span&gt;PROT_SMPU_MSx_CTL&lt;/span&gt;&lt;span class="error"&gt;[PRIO] registers described in the Technical Reference Manual (TRM). What is missing from the TRM/Datasheet is the mapping of &amp;#39;x&amp;#39; to the various bus masters. Here is the mapping for &amp;#39;x&amp;#39; and the bus masters:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;0 - CM0+&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;1 - Crypto&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;2 - DW0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;3 - DW1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;4 - DMA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;5 - DW0 (slow)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;6 - DW1 (slow)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;14 - CM4 (cortex M4)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;16 - DAP (debug)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="error"&gt;In your case I &amp;#39;think&amp;#39; you need to change the priority in the&amp;nbsp;&lt;span&gt;PROT_SMPU_MS4_CTL&lt;/span&gt;[PRIO] register, but I haven&amp;#39;t tried it so I am not positive this will work.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25800&amp;AppID=392&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: ATCDC: Digimorf, Day 59, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 12</title><link>https://community.element14.com/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atcdc-digimorf-day-59-the-project-sega-sg-1000-emulator-on-psoc62s4-pioneer-kit-part-12</link><pubDate>Thu, 27 Apr 2023 16:49:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3c6a1078-41f9-4db1-88ed-1bb11659d112</guid><dc:creator>dougw</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It sounds like you need dual port RAM...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25800&amp;AppID=392&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>