thanks for your document. You say "To enable the spread spectrum, the PLL2 need reconfigure, it need be shut down and enable/setting the spread spectrum and power on back again". Where did you get this information from? I cannot find anything like this in the i.MX6 reference manual (IMX6DQ-RefMan-RM-r2-2014-06.pdf). In my understanding, it should be possible to enable spread spectrum on-the-fly. Am I correct? Is there anyone from Freescale who can confirm this?
Thanks, Jumping Mao. Freescale, can you please confirm this? Is there an official document where this sequence is described? We enable the spread spectrum on-the-fly here on our i.MX6 based systems, and it seems to work (change is immediately visible in measured frequency spectrum). Do we have to expect any side effects?
many thanks for providing this artice and the boot loader changes to set up the PLL2 in spread spectrum mode.
I following this guidance but run into boot problems when running it on my i.MX6D system. Finally I figured out that the plugin was rejected and could fix it.
I uploaded my flash_header.S in case other users might have the same trouble.
I also changed the sequence where PLL2 us powered down/up. Using the PLL2 register description of the MX6D the bit for BYPASS mode was set (0x00010000) instead of Power Down (0x00001000).
Can you please provide instruction to enable spread spectrum on-the-fly? I am writing below two registers from kernel board init file but I don't see any changes.
I see all absolute address in IVT section (e.g. app_code_jump_v: .long 0x00907458), but in my old code we have label based address assignment (app_code_jump_v: .word _start).
Does it work for solo too? I am using uboot 2009 and with the given changes my board is not booting up.
Tried with denom=0x190, sys_ss=0xFA0001 and enabled=1 (which gives a spread spectrum range of 15 MHz, modulation frequency of 48 kHz and frequency step of 60 kHz).
I use this code at runtime after the kernel has booted by writing to a procfs entry.
I was using a 2015 version of the uboot for imx6 and the plugin support did not work. I would like to know which repo should I use in order to test the patches for the spread spectrum?.