From: Dante S. <da...@ma...> - 2008-08-23 23:12:47
|
Hi Andy, ajg112 wrote: > > I'm using the PXA270 SSP Serial Port. I'm having trouble dividing down the > internal 13MHz clock source to generate slower clock rates. (I'm using > port 2) > > Whatever I set SCR to, SSPSCLK2 always clocks at 13MHz. Is it possible to > use the scaler for the internal clock source, or is it just for use with > the external clock source? > Did you look at the SPI sample code in the Buildroot website? You can find the example for the PXA270 if you scroll down the page. Just look for "clockrate" in the code. http://docwiki.gumstix.org/Sample_code/C/SPI http://docwiki.gumstix.org/Sample_code/C/SPI Dante -- View this message in context: http://www.nabble.com/SSP-Internal-Clock-Division-%28PXA270%29-tp19115950p19126269.html Sent from the Gumstix mailing list archive at Nabble.com. |