-
Content Count
885 -
Joined
-
Last visited
-
Days Won
43
Everything posted by Fred
-
I think maybe what you're after is a way for your software to restart your code from the beginning. The easiest way is cause a watchdog fault by writing to the watchdog with the incorrect password. I'm not in a position to lookup the exact code for you right now though.
-
You'll need a Subversion (SVN) client to download. If you're more used to Git then "svn co" is equivalent to "git clone"
-
Yes, the interrupt is mandatory. Look at the Trf7970PortB(void) method in trf7970.c - this is set to be run on an interrupt from port 2 for the msp430 (as defined by the prefix #pragma vector = PORT2_VECTOR) I don't know what pin on the CC3200 is linked to the appropriate one on the booster pack, but you'll need to use that for an interrupt. Actually - I just looked it up for you. You can use the IRQ SEL jumper to switch the interrupt between P08 or P62. Use whichever one is easier but ensure that an interrupt on that pin runs the Trf7970PortB method.
-
@@led Not sure if you're still having problems with this or not, but all you should need to worry about with the booster pack is the enable line, interrupt line and SPI communication. You'll find my code at the link below. There's a port of the TRF7970ABP_Demo code for the F5529 which should show you the bit you'll need to be concerned with. There's also my LoginNFC code with extends it to return a properly formatted tag ID. https://bitbucket.org/fredmurphy/public/src
-
@@led If you're having trouble configuring the CC3200 clock and peripherals to match the way the MSP430 is setup, then it might be worth looking at TI's PinMux tool. The latest version apparently covers the CC3200.
-
If I remember correctly the DCO is used to drive a few things - how often it checks for a tag, the SPI clock speed and timeouts for some communications. I'm not sure any of these things are really critical. Easiest way is to see if you got the DCO right is to check that the LED flashes (when it checks for a tag) about the right frequency. To check SPI speed you'd really need a logic analyser, but if you don't change anything drastic in the SPI setup and the LED flashes at the right speed then the SPI will probably be the right speed too.
-
I must admit I was a bit disappointed at the quality and clarity of the examples. The stuff in MSP430Ware is NFCLink, which uses some precompiled libraries and as far as I could tell only allowed you to have the F5529 acting as a slave over UART or I2C to another device - e.g a PC. I wanted the MSP430 itself to take action when a tag was detected, not another device. The TRF7970ABP_Demo code seemed to neither insulate you from the complexity of the TRF7970 or to explain it. Lots of details of the TRF7970A and NFC implementation in general (e.g Anti-collision) bleed right through into
-
If I had a CC3200 then I'd give it a go, but unfortunately I don't. Just like with the F5529 it should in theory just be a case of sorting out: the clock setup, so that timers and SPI are running at about the same speed as on the G2553. the pin assignment - even between the G2553 and the F5529 the booster pack pins are assigned to different ports. the SPI communication between the microcontroller and the launchpad many need some particular attention, but should be the same. The code is just C that should port over without any problems. However, I found that it took me longer than I expected.
-
@@led I don't use Energia so can't help with that. Sorry. @@Oppa / @@OppaErich There are precompiled binaries for the F5529 if you want to use NFCLink but that didn't seem to suit what I wanted to do at all. I found it odd that the TRF7879ABP_Demo code was only available for the G2553, as the F5529LP and the booster pack are actually sold as a bundle. Next time I'm at a PC I'll upload the ported code. Nothing ground breaking, but may save others some time.
-
@@OppaErich I did some tests on NFC readers. The DLP-7970ABP is no better or worse than other readers with a PCB antenna. DLP never mentioed it to me but they actually make a coil antenna that works much better I wrote it up here. As part of my first project using the implant, I ported the example code over from the G2553 to the F5529. I expected it to be just a case of changing a few pin assignments and sorting out the clocking, but for some reason it took me quite a while. (Not helped by the fact that at one point I accidentally deleted the line that enabled the reader and didn't realis
-
I quite understand we were expected to put some effort into making use of and demonstrating this underused and unappreciated peripheral. And that often it's quicker and easier to drop back to things you're more familiar with. However, my use case is only slightly off the beaten track (flow measurement with a pulse per revolution rather than quadrature) and I'm already looking at more complicated code that uses more power and has more problems. All downsides with no upsides. I hope to get back to it and find something positive but I'm struggling to so far.
-
Launchpad as USB to Serial programmer
Fred replied to jelledebock's topic in Programmers and Debuggers
The G2 launchpad used to be so cheap I've seen it recommended for just this sort of thing. Whether you go for the G2 or the F5529 launchpad all you will need to do is remove the jumpers between the FET side of the board and the target microcontroller. You might as well remove the DIP chip on the G2 but you shouldn't need to.- 2 replies
-
- usbserial
- programmer
-
(and 1 more)
Tagged with:
-
I know that my ESI project stalled over the Christmas break and I must admit I was struggling with it before that. I notice that nobody else seems to have any updates recently. I feel an update is probably due even if it's just this: My impression is that the FR6989 is an awesome chip (especially EnergyTrace++) but that the ESI is a rather... er... how shall I put it... niche interest peripheral. It takes a lot of effort to get the best from it and it's difficult to stretch it beyond the exact use cases already documented by TI. Has everyone else come to a similar conclusion?
-
XY stage or XY table might be a good Google search. There are some really nasty "laser engravers" on eBay that use a laser diode. I really wouldn't recommend them for that because of the unprotected doide that's not powerful enough to be useful but powerful enough to be dangerous. However you could probably ditch the laser and adapt one. As roadrunner said, printers and scanners can be useful for a DIY solution. Of course if you'd really like a 3D printer, CNC mill or laser cutter this could always be a nice justification to treat yourself. Just think of the money you'd be saving by making
-
Welcome, Jake. Those readouts sound interesting. Have you written up the project (or got any photos)?
-
@@zeke If I was in the US I might be tempted to bid and find out. (Shipping to the UK is stupidly high.)
-
Just think what you could do with 1921 x MSP430U171SIDLR http://www.ebay.co.uk/itm/1921-PCS-TEXAS-INSTRUMENTS-MSP430U171SIDLR-/391019741421 By the way, does anyone know what a MSP430U171SIDLR is? Date code is apparently 2001 so it may be an obsolete part but I can't find any reference to it.
-
I agree. So quick it made me wonder if it had actually loaded or just displayed from a cache.
-
Seems much quicker for me now. And Congratulations!
-
@@alikian I see $36.98 on that page. And odd that the only images I can find of the module (courtesy of google image search) are on taobao.com
-
Make the world's largest 4MB flash drive?
-
My guess would be a serial EEPROM. A quick look at an Atmel datasheet suggests the H130 is a date code.
-
@@ILAMtitan There's enough room inside those Lego clocks/torches to get interesting stuff like servos. Here's a couple of MSP430-related things I've done with them. http://0xfred.wordpress.com/2013/10/29/animated-lego-darth-vader-build-monitor/ http://www.instructables.com/id/Motion-sensing-Lego-figure-nightlight/
-
I know nothing about the ATMEGA16, but (assuming it's not a worthless old piece of junk) you've probably got only three realistic options: - This is now your "go to" chip for basic projects - Sell them on eBay - Think up a Kickstarter or other saleable project that uses them
-
I suppose it's no surprise that there's a booster pack to help take advantage of the IR features of the new FR2x and FR4x series. http://www.ti.com/tool/boost-ir Also available as a bundle with a FR4133 LaunchPad http://www.ti.com/tool/msp-bndl-fr4133ir