Skip to contentSkip to conversation

spi clock

DISCUSSION zil iram 4 participants 5 messages Feb 12, 2007 – Feb 13, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 000001c74939$32fdb600$98f92200$@[email protected]

zil iram

author
#1 lore raw

Hi,
I am developing an SPI Controller driver based on the microwire controller in linux2.6.17 for omap.
I used the armxor clock for my spi clock just like the microwire driver. However, I am having trouble with setting the frequency for my clock. I am looking at the serial document for omap and have been looking at the registers for the SPI Master/Slave controller but there is no register where I can set the clock's frequency unlike that of the uwire. In the kernel, I changed the rate in clk_ref which is the parent of armxor clock from 12000000 to 500000 just to see if I can set the clock rate but as I probed the spi clock pin with the logic analyzer, the clock was still 12000000. I just followed the code in the microwire driver to get the clock -- clk_get and assigned it to my spi_clock and then enabled the clock in the spi register. I could send data through my driver but I just could not set the clock frequency to the desired value.

Please help me.

Thanks,
Lizette

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

#3 lore raw

RE: about OSK5912 Flash Recovery Utility

Dear HiroKi,

Thank you very much!!
I had modify the old version's OSK5912 Flash recovery utility and supporting Rev.D now,

Best regards
Andy.Lu

-----Original Message-----
From: Hiroki Kaminaga [mailto:[email protected]]
Sent: February 13, 2007 12:41 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: about OSK5912 Flash Recovery Utility

Quoted 2 lines

If there anybody had the OSK5912 Flash Recovery Utility for OSK Rev.D, please?

Have you tried:
http://tree.celinuxforum.org/CelfPubWiki/OSK
especially section:
8. Flash Recovery Utility

Best Regards,

(Hiroki Kaminaga)
t
--

A message that is not in the archive (sent off-list or not yet received): 006101c74f36$d523ccf0$7f6b66d0$@[email protected]

#5 lore raw

Re: about OSK5912 Flash Recovery Utility

Hi
On the subject of OSK Flash recovery, we have developed a custom board that we believe is identical to the OSK's (D) usb setup and associated jumpers, yet fails to reload Flash. usb appears to enumerates ok but then hangs. Setup works fine on OSK boards. Any tips greatly appreciated.

Cheers
Graham Henstridge

Quoted 37 lines · AndyLu

Dear HiroKi,

Thank you very much!!
I had modify the old version's OSK5912 Flash recovery utility and supporting Rev.D now,

Best regards
Andy.Lu

-----Original Message-----
From: Hiroki Kaminaga [mailto:[email protected]]
Sent: February 13, 2007 12:41 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: about OSK5912 Flash Recovery Utility

Quoted 2 lines

If there anybody had the OSK5912 Flash Recovery Utility for OSK Rev.D, please?

Have you tried:
http://tree.celinuxforum.org/CelfPubWiki/OSK
especially section:
8. Flash Recovery Utility

Best Regards,

(Hiroki Kaminaga)
t
--

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#6 lore raw

RE: about OSK5912 Flash Recovery Utility

Try this http://focus.ti.com/download/wtbu/OSTTools_NoSource_v2_5.zip

Best regards
Andy.Lu
(Lu ZhiQing)
SERIAL MICROELECTRONICS(HK) LTD,.
MP:+86-13076968021
TEL:+86-755-26935050-256
FAX:+86-755-26935936

-----Original Message-----
From: linux-omap-open-source-bounces+andy.lu=serialsys.com.hk@linux.omap.com [mailto:linux-omap-open-source-bounces+andy.lu=serialsys.com.hk@linux.omap.c om] On Behalf Of Graham Henstridge
Sent: 2007年2月13日 6:25 PM
To: OMAP Linux mailing list
Subject: Re: about OSK5912 Flash Recovery Utility

Hi
On the subject of OSK Flash recovery, we have developed a custom board that we believe is identical to the OSK's (D) usb setup and associated jumpers, yet fails to reload Flash. usb appears to enumerates ok but then hangs. Setup works fine on OSK boards. Any tips greatly appreciated.

Cheers
Graham Henstridge

Quoted 29 lines · AndyLu

Dear HiroKi,

Thank you very much!!
I had modify the old version's OSK5912 Flash recovery utility and supporting Rev.D now,

Best regards
Andy.Lu

-----Original Message-----
From: Hiroki Kaminaga [mailto:[email protected]]
Sent: February 13, 2007 12:41 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: about OSK5912 Flash Recovery Utility

Quoted 2 lines

If there anybody had the OSK5912 Flash Recovery Utility for OSK Rev.D, please?

Have you tried:
http://tree.celinuxforum.org/CelfPubWiki/OSK
especially section:
8. Flash Recovery Utility

Best Regards,

Quoted 8 lines

(Hiroki Kaminaga)
t
--

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source