- Posts: 152
Single-Board Universal Module
- mikemacwillie
- Offline
I should have some time to populate the back sides this evening. I'll upload the firmware and see what I get. Any chance the Linux upload tool you wrote will work for this too? Or do I need to use the ST specific DFuSE tool?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I think the generic linux-based dfu-util will work for this though. it should, since this is just a stock dfu upload without any of the walkera specific encryption.
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Edit: Yep, that did it. dfu-util recognizes it now.
Please Log in or Create an account to join the conversation.
- octagon
- Offline
- Posts: 58
Thru-holes needed for the parts can be included in the foot-print, to make it easier no not forget.
Paste layer can be added to foot prints too.
Please Log in or Create an account to join the conversation.
- octagon
- Offline
- Posts: 58
The TH types should be just as easy to source, and thru-hole reflow is old hat. Hot-plate may not be good for this though.
Add two fiducials in opposite corners for SMT machine placement, which also helps in aligning stencil for hand pasting.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Well crap. I'm glad I didn't build the last board before you discovered that. I'd be pulling my hair out. I'm going to try reinstalling the stm32 on my built board, maybe I can salvage it. I'm very curious whether you have any luck powering up the transceivers. With the xtals on the bottom of the board, it may be necessary to reduce the caps for them to get stable oscillation.mikemacwillie wrote: After populating the back side of the board, I now have power to ground shorts on both. Looking at the eagle files, it looks to be in the regulator pads. The tab is connected to VSS, when it should be connected to +3V3. It's a common mistake if you're used to working with 78xx regulators, and I've made it myself more than once. I'm going to lift the tabs on the boards and see if that removes the short. I'd bet that's the problem with the board you built a little while ago.
Edit: Yep, that did it. dfu-util recognizes it now.
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Power Up
NRF24L01: Not found
A7105: Found
CC2500: Not found
CYRF6936: Not found
Done
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Measuring crystals in circuit is not fun.. It's pretty easy to stop them with the capacitance and load of a scope probe. I look forward to hearing what your findings. Unfortunately I don't have any more time this afternoon to look at mine.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I was able to verify that the A7105 and CC2500 xtals were oscillating. I couldn't see any activity on the other 2.
I then scraped the resist off the cc2500 csn pin and attached a probe. I could see spi working as expected but no signal on MISO. I was thinking that maybe one of the other transceivers was holding the MISO line high because it wasn't staring properly. I was considering cutting the MISO lines to the other oscillators. As I was writing up the report in this post, I started to explain why the A7105 would still work. That is because it uses 3-wire SPI instead of 4-wire SPI. And then I looked at the schematic...The A7105 has MISO tied to GIO1. I did that so that so that an external board could use 4-wire SPI which is a lot easier than switching between 3 and 4-wire. But I'd forgotten about it, and had never configured the software that way. which meant the A7105 was holding MISO high and preventing proper communication.
A 2 line fix, and check this out:
Power Up
A7105: Found
NRF24L01: Found
CC2500: Found
CYRF6936: Found
Done
So, we're in business
I have to start writing code to control the board now, but I don't have time tonight. Anyhow, This is a major milestone.
Mike, here is the new dfu file to ensure your board also works:
dl.dropboxusercontent.com/u/52854517/uni...altx_DOA_working.dfu
The changes are:
in universaltx.c, move A7105_Reset() to the top.
add this to A7105_Reset() (in a7105.c..It must be after the SetTxRxMode call):
A7105_SetTxRxMode(TXRX_OFF);
--> A7105_WriteReg(0x0B, 0x00); //Put GPIO1 into high-z mode
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
I was going to offer to send you one of mine, but it sounds like that's not necessary anymore now that yours is alive as well.
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
Glad to know that the hardware part is really on the right track now
Bravo to all of three....
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I haven't used the meter hooked up to a PC yet (for recording), so I have a bit of learning to do there.
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I'm just crossing my fingers it won't bite me.
Please Log in or Create an account to join the conversation.
- mikemacwillie
- Offline
- Posts: 152
Please Log in or Create an account to join the conversation.
- SadSack
- Offline
- Posts: 317
Excellent news .
Please Log in or Create an account to join the conversation.
- moss
- Offline
- Posts: 40
Then you just need to cut a gap in the scraped trace, and reflow on the cap over the gap. Adding "pads"? Not necessary.
Look at eBay for "10X-20X Boom Arm Widefield Stereo Microscope" and you can find a decent solder scope for under $200.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Single-Board Universal Module