Thoughts on Blackfin? - Page 1
Forum section: electronics / general

author: dcarr
author_rank: Regular Contributor
timestamp: November 11, 2015, 11:32:27 pm
content: I'm working on the design of a product that's using a lower-end Blackfin processor (no DRAM). Normally I'd prefer to go with an ARM of some type, but the application has some heavy DSP requirements that seem to fit the Blackfin ISA very well. It would likely require a 500MHz+ core to go the ARM route.What positive and negative experiences have you had with the Blackfin line? Are there gotchas out there waiting to be found?The toolchain is bare-metal GCC. The code leans pretty heavily on a few mixed C/ASM loops and DMA transfers in and out of SPORT/SPI interfaces. Things are working so far, but I'm not in deep enough yet to feel warm and fuzzy.Thanks,David

author: coppice
author_rank: Super Contributor
timestamp: November 12, 2015, 02:50:24 am
content: The Blackfins looked really good 10 years ago, but the world is passing them by now. I think ADI treats them as legacy products. You can match their speed using general purpose devices which are cheaper and have better tools.

author: EEVblog
author_rank: Unknown
timestamp: November 12, 2015, 02:57:49 am
content: Blackfin is very popular in Chinese designs (seen in a ton of scopes and other test gear teardowns), presumably because of cost and design talent in China familiar with them.Whether or not it better/cheap to go with something else for a particular design is entirely product specific.

author: coppice
author_rank: Super Contributor
timestamp: November 12, 2015, 03:12:00 am
content: Quote from: EEVblog on November 12, 2015, 02:57:49 amBlackfins were popular in China a few years ago, but people gradually stopped using them for new designs. Strangely, a few new Blackfin designs popped up recently, using some of the oldest chips in the range. I don't know if ADI are suddenly offering insane prices to stimulate that.

author: diyaudio
author_rank: Frequent Contributor
timestamp: November 12, 2015, 08:25:12 am
content: Quote from: dcarr on November 11, 2015, 11:32:27 pmI think for fixed point processor there are better options, but don't underestimate the new series BF-6XX upwards its carrying a dual core 500MHz check out Finboard ..http://www.finboard.org/I must agree there are lots of other choices, maybe AD gives better deals around volume cost compared to other vendors, I noticed they have lower silicon errata and fantastic a tool-chain.

author: krivx
author_rank: Frequent Contributor
timestamp: November 12, 2015, 08:31:53 am
content: What would be recommended instead of Blackfin? I have seen it used it in 2015 products and the price, packages and tools are attractive for small-scale stuff (DIYer really)

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2015, 10:52:35 am
content: Quote from: dcarr on November 11, 2015, 11:32:27 pmyou had better (&best) switch toVisualDSP++(even if EOL)

author: rsjsouza
author_rank: Super Contributor
timestamp: November 12, 2015, 12:25:07 pm
content: Quote from: krivx on November 12, 2015, 08:31:53 amIn my experience, For DIYer or low volume production the game changes. The price of the device itself is not as important as the availability of cheap development kits, IDEs, compilers and JTAG debuggers. Also, most of the general purpose and high end DSPs out there are packaged in BGA, which brings another hurdle to the process - that is the reason why some folks even use the development kit itself as the base of the product or prototype.I am familiar with TI. TheirC5500 DSPsare fixed point general purpose (something along the lines of the BF7xx) but with lower cost JTAG (aXDS100v2can be had for $50~80, compared to ADZS-ICE-1000 $150), lower cost IDE (CCS can be used for free with XDS100v2) and development kit (aC5535 ezDSP stickis $99, but I couldn't find a dev kit for the BF7xx).Moving to higher performance (and higher BGA density) you have theC6740 DSPswith floating point and a bunch of additional peripherals (SATA, Ethernet, etc.). Itskitis $195 and you can use the same JTAG and IDE as above.Depending on the level of signal processing you are doing, I would also check theC2000 family. I love them because they have built-in flash, tons of real-time control perihperals (PWMs, etc), lower density packaging (including TQFP) and some even have floating point capabilities. The same JTAG and IDE as above can be used as well.At last, carefully check the software dev kits (SDKs), libraries and RTOSes available and see what makes sense for your project. As with anything, the devil is on the details and be very thorough to check if the RTOS or SDK supports the perihperals you need for the device you chose - it is not uncommon to see a SDK that supports everything for the flagship product but leaves things undone for the lower cost devices.

author: krivx
author_rank: Frequent Contributor
timestamp: November 12, 2015, 02:46:25 pm
content: Quote from: rsjsouza on November 12, 2015, 12:25:07 pmThis is a big deciding factor. A huge advantage of Blackfin is that some parts are available in LQFP, I can get something working with hand soldering on cheap OSHpark boards. I'll take a look at the TI offerings, it looks like the C5000 can be had in LFQP.These are the famous TMS320 series, right? Any reason why these would be considered more modern or more reliable than BF?

author: Marco
author_rank: Super Contributor
timestamp: November 12, 2015, 03:01:56 pm
content: TheDelfino launchpadsomeone pointed out on another thread seems good value (4 week delivery time though, it's popular).

author: Kalvin
author_rank: Super Contributor
timestamp: November 12, 2015, 03:13:59 pm
content: Quote from: krivx on November 12, 2015, 02:46:25 pmAlso, it is worth looking at the TI 32-bit floating point and fixed point devices:http://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/c2000_performance/real-time_control/f2833x_f2837x/overview.pagehttp://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/c2000_performance/real-time_control/f2802x_f2803x_f2806x/overview.pagehttp://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/c2000_performance/overview.pageThey are available in LQFP with quite nice set of on-chip peripherals.The floating point unit is only single precision, so someone may prefer a 16MHz 8-bit AVR for high precision floating point calculations

author: krivx
author_rank: Frequent Contributor
timestamp: November 12, 2015, 03:45:15 pm
content: Quote from: blueskull on November 12, 2015, 03:29:51 pmThe issue is with small runs, if I want to sell a few dozen complete boards I would prefer not to have unpredictable failures. I have looked at these chips for use in audio effects pedals where the user will be stepping/stomping on the enclosure - I don't really want to trust a BGA package if I can help it. With a lqfp I can at least inspect every pin.

author: rsjsouza
author_rank: Super Contributor
timestamp: November 12, 2015, 04:28:45 pm
content: Quote from: krivx on November 12, 2015, 02:46:25 pmYes, the TMS320 name designates everything DSP on the TI product line, and they date back to 1982 (TMS32010). Just like BF, which is a subset of AD's DSP offerings, the different families I mentioned above are also subsets of the TMS320 series.Given you are interested in audio, I recall years ago I worked with theC6713- a 300MHz floating point beast that supported I2S, S/PDIF and AC97 (my needs at the time). This one is also available in QFP.One of the advantages of having a more powerful processor running the show is that you have a lot of flexibility - use the same HW for different products with different capabilities. This has the (huge) drawback of having a higher cost, but running a tight ship is only worth after the product is mature or the volumes require shaving all the extra cents.Quote from: krivx on November 12, 2015, 03:45:15 pmThat is a concern - if the assembler does not have BGA inspection machinery, that may bring some problems to small batches (that is why I have seen some folks use entire dev kits such as BeagleBone in their product). On the other hand, in my experience the smaller BGA packages (when compared to QFP counterparts) tend to suffer less mechanical stress, not only due to size but also most of their body is tightly "glued" to the PCB. Obviously that any failures cannot be easily inspected or detected with the naked eye, but if you carefully route your board to have vias under the BGA balls, you can still perform probing on the different device terminals.

author: Macbeth
author_rank: Super Contributor
timestamp: November 13, 2015, 12:23:34 am
content: Quote from: EEVblog on November 12, 2015, 02:57:49 amRigol seems to be an exclusive Blackfin shop!I was surprised to see my first firmware upgrade for my DM3058E 5.5 digit DMM labelled as a DSP upgrade. WTF? DSP in a simple DMM? why?Indeed it uses the BF531. Scanning through the firmware for strings there are plenty of references to lwIP TCP/IP stack, lots of plaintext HTML, and the whole LDR file is in standard Blackfin LDR format bar the header id string and at the end of the LDR chain is more string data and at the end and a serial number and zero calibration.So I had to recover my DM3058E after finding a simple way of bricking it accidentally and am now getting intimate with Blackfin. Successfully recovered it and also found my serial number data and calibration data and took a safe backup.I fancy hacking this some more - it's much simpler than a scope or dsa! I'm guessing they used uClinux rather than raw assembler or any ADI licensed stuff!Anyone recommend any dirty cheap BF53x boards from aliexpress or the like? I fancy rewriting my meters firmware just for the hell of it, but would like to practice and stage stuff first.

author: marcopolo
author_rank: Regular Contributor
timestamp: November 13, 2015, 05:39:01 pm
content: And why not aTMS320C6745Fixed/Floating DSP running at 456 Mhz + 2 PRU at 200 Mhz with 320Kb of RAM in a 176 pins LQFP case ?

author: rsjsouza
author_rank: Super Contributor
timestamp: November 13, 2015, 07:59:44 pm
content: Quote from: marcopolo on November 13, 2015, 05:39:01 pmWow, that was really a surprise! Much more capable than the one I mentioned before (C6713) and there is even a slightly lower cost C6743 in LQFP as well...

author: marcopolo
author_rank: Regular Contributor
timestamp: November 13, 2015, 08:50:26 pm
content: And free samples available at TI

author: legacy
author_rank: Super Contributor
timestamp: November 13, 2015, 09:49:08 pm
content: Quote from: blueskull on November 13, 2015, 09:00:04 pmapplied to Europe/Italy too

author: Macbeth
author_rank: Super Contributor
timestamp: November 13, 2015, 10:07:25 pm
content: I've just placed a sample order (UK). I do have a LTD company registered at my address though. No commercial website, but I do have a domain for email.

author: legacy
author_rank: Super Contributor
timestamp: November 13, 2015, 11:36:34 pm
content: I sent them a request through my university domain ( at polimi dot it ), and they denied my sample-orderthen I sent them an other request through my company registered email, and they accepted the order

author: marcopolo
author_rank: Regular Contributor
timestamp: November 14, 2015, 08:05:06 am
content: Quote from: Macbeth on November 13, 2015, 10:07:25 pmThe same for me, I never had a problem with my orders.