From: Craig H. <cr...@gu...> - 2007-09-19 17:36:37
|
On Sep 18, 2007, at 10:45 PM, Nate W wrote: > Hi folks, > > I'm trying to get the verdex bluetooth module working under Windows > CE, and I think the only thing I'm missing is the correct GPIO > configuration. > The settings I'm using now are: > > TX: GPIO 43, AF 2 > RX: GPIO 42, AF 1 > RTS: GPIO 44, AF 1 > CTS: GPIO 45, AF 2 > Reset: GPIO 12, AF 0 > > Are these correct? If by "AF0" you mean "GPIO mode" then yes. > Should the reset be set or cleared? clear to enter reset, set to exit reset. If you hold the module in reset, it's powered down. > Is there anything else I'm missing? The PBA31307 and PBA31308 have some issues you need to be careful with if you want to change the baud rate while talking to them. I wrote code which I added to hciattach in linux's bluez-utils to deal with detecting and setting those modules up; you probably don't want to look at it under GPL license, but I'd be happy to give you a copy of all the code I myself wrote under whatever other standard license (BSD?) that can work for you. It's pretty well commented to explain what it's doing and why. Let me know what license would work for you, and I'll send it over. C |