I just saw the official TI Webinar on the new MSP432 processor.
The 13 USD Launchpad is very impressive, but the new features of the TI software are awesome.
They evidently spent some time looking at the excellent Cypress Semiconductor software and have upgraded CCS with a lot of very nice user features with simplified control.
Definitely worth looking at.
After watching everyone else explore the Raspberry Pi, I finally took the plunge with the RPi 2.
I finally got all the pieces in place, plugged it in and about 15 min later, my RPi 2 was alive and well.
My only complaint was the 6 point type used for the little guide included in the box.
Luckily I bought the camera kit and it came with a real sized guide so I could actually read the text.
Next step is to hook up the camera and wifi.
I have no idea how long these actions will take, but I will give you another post documenting my experience.
Meanwhile may all your Pi's be good.
Update 26 January 2013
I inadvertantly used the TI Piccolo dual processor spec when I made the blog.
I will make an updated C2000 Launchpad blog soon.
Analysis of the TI C2000 Piccolo Dual Croe Processor.
As some of you might have guessed, I have spent a lot of time in my career analyzing computer architectures.
In my younger days, I assessed several-advanced signal processing systems that used the early versions of the 320. For its day, it was very fast compared to a lot of its rivals. If the current version follows suite, then I might very well have the processor I need for my lightning research.
The second reason was that TI embedded an Arm M3 core to coordinate the other functions on the chip. If you look at my review of the Freedom board, I explained how the combination of the 8-bit M0 core to control the features around the M3 core. So having an M3 controlling the 320 core is like super sizing its functions.
To give you some perspective, an Arduino UNO is like the good dependable model T.
The TI MSP-430 is the equivalent of a dozen or so UNO’s. Say like a corvette Stingray, to keep with the car analogy.
That puts the C2000 Piccolo the equivalent to several dozen MSP-430 chips, or say a Formula I car.
Bottom line, you get a tremendous amount of capability with the C2000 Piccolo processor.
Enough of the marketing pitch lets look closely at the Specifications:
1 SM320F28335 DSC
– Event inputs are very useful for interacting with your system. Say if you need to detect and process something very quickly. The C2000 Picccolo gives you six inputs that can be responded to very quickly.
12• High-Performance Static CMOS Technology – Up to 2 Quadrature Encoder Interfaces
Quadrature interfaces are very useful if you want to process radio signals. Say for a digital radio receiver so that you can process the In Phase and Quadrature RF signals to pull out phase information. Great for combining radio signals with your computer.
Up to 150 MHz for TC = -55°C to 125°C
and Up to 100 MHZ for TC = 210°C
Compare these speeds to the normal 8 MHz speed for the TI MSP430. This means the C2000 Piccolo is very fast. It is also stable at high temperatures for applications where the surrounding system must operate in very warm environments.
• Three 32-Bit CPU Timers
Having three accurate internal timers lets the CPU to place timed software events in response to hardware events. This is a key feature if you need to synchronize your CPU to an external master clock system. Needless to say, another very useful feature.
These are the de-facto current chip standards, so you could build your mobile device around the C2000 Piccolo using the current Li-ion battery technology.
• Serial Port Peripherals
Always a useful feature, as most support devices communicate serially. If nothing else, you can drive your LCD screen with information off these links.
• High-Performance 32-Bit CPU
As I stated in the intro, you really get two 32-bit devices within the single chip. Plus, 32-bits are essential to do good signal processing applications, even if your result is only 8-bit messages.
I have not used this interface, but if your application is for the automobile industry, then I suspect that two are better than one.
If you are making a serious project, you should always use standards. If you do, then you can spend your efforts on the algorithm development using standard software modeling tools and then port the result into the C2000 Piccolo. Very useful and it makes your algorithms simpler to debug.
SCI is a standard communications interface and you can never have too many of these, especially if the C2000 Piccolo is just part of an overall system.
16 x 16 and 32 x 32 MAC Operations
Fast integer math at 16 and 32 Bit levels is perfect for basic calculations and data reduction to prepare your signal data for Floating Point math. If you have ever done these in software, you will see a huge improvement in speed.
Up to 2 McBSP Modules (Configurable as SPI)
Additional high speed communications ports.
16 x 16 Dual MAC
Having one of these is rare, having two means you can do a lot of concurrent basic calculations for your data. Having these available lets you keep your Floating Point operations for those that need it. You would be surprised how useful these can be once you learn how to use them.
One more serial port, the more the better.
Standard for almost all computers. It is a tried and true method of fetch, execute, write results before next fetch.
If you know how to use these, they are efficient to conduct multi-processor architectures.
An absolutely essential feature if you are going to do real time event capture and processing. The last thing you want is an un-necessary delay in responding to timing events.
• 12-Bit ADC, 16 Channels
Twelve bits are more than enough accuracy for most signals. If you need higher resolution then you should consider some analog amplifiers and signal conditioning circuits.
I like this memory model a lot. It is in almost all TI processors and makes timing much easier as all operations take nearly the same time to execute. It also facilitates debug information transfer to external support equipment.
80-ns Conversion Rate
In a word “wow”. You can digitize a lot of data at high resolutions with these devices. Now you know why I an excited about the 320 core. It was built to support these kind of data rates. You can do a lot of neat stuff with this kind of data capability.
Code-Efficient (in C/C++ and Assembly)
TI has done a lot of work over the years to provide you with huge libraries of most signal and image processing routines. The amount of code available for the C2000 Piccolo is immense. You can even get access to the Assembly code if you think you need to tinker with some of the algorithms.
2 x 8 Channel Input Multiplexer
Very useful if you need to sample multiple data streams. If you look deeper into the specs, the switching time between channels is very small. Very cool.
Six Channel DMA Controller (for ADC, McBSP, ePWM, XINTF, and SARAM)
Once you learn how to use DMA, you will wonder how you every worked without them. Having six channels lets you move a lot of data without tying up the CPU doing memory actions. With DMA, it all happens in the back ground so the 320 can keep on chunking data while the data passes in or out.
When you get deeper into signal processing, you will always end up need a sample and hold circuit to capture rare signal or event occurrences. Given the other features of the chip, having two of these can be really useful.
16-bit or 32-bit External Interface (XINTF)
You can configure the GPIO pins so that you can read or write to 16 or 32 Bit interfaces with one instruction. Very useful if you need to pass a lot of data in or out of your system. Another wow factor.
Another useful feature if you have multiple data streams, then being able to maintain time synchronized conversions is essential.
Sometimes you need to access a huge memory space to extract information from digitized signals. I need to dig into how well the C2000 Piccolo lets you add memory. I suspect that you can setup the GPIO pins to act as an address and data stream to link to an external memory bus.
This statement reinforces my speculation about using the GPIO pins. Once set up, the C2000 Piccolo would treat any external bus as a part of the internal memory space.
Standard for any high speed processing chip.
If you have not looked into the TI input configurability, you should. They provide a wealth of simple things like interrupt capability, pull up or pull down resistors, rising or falling signal triggers, and a whole bunch more.
A little light for signal processing buffer space, but not bad.
Lets you plug in full JTAG debugging devices.
Lets you setup your initial configuration and as you will see later, you can set it up with locking settings so that it cannot be re-engineered.
Lets you explore your code without first committing it to the device.
Boot ROM (8K x 16)
Another essential feature when dealing with complex signals. You essentially need to set up your configuration before you can properly synchronize your decoding algorithms before you can begin to pull in and process the data.
Normal debug features.
With Software Boot Modes (via SCI, SPI, CAN, I2C, McBSP, XINTF, and Parallel I/O)
Important capability if you want to use the C2000 Piccolo as a slave device on a larger system. I have seen dozens of the 320 DSP cores setup in a system for complex signal processing applications.
Another part of the standard JTAG debugging capability with some very nice features.
Standard Math Tables •
I cannot stress this feature enough. If you use any of the current engineering analysis tools, you need to make sure that your final code can go back and forth so you can enhance features or fix defects. Otherwise you need to run a separate debug and test on each set. Not an easy task.
Development Support Includes
Signal processing is usually TIME based, so having full control of timing and system control enables you to make the most of the C2000 Piccolo for complex signals.
Some vendors tie you down with custom extensions and/or libraries. TI keeps to the standard call methods so that your code is portable.
Phase Locked Loops (PLL) is one of those communications and data features that you need to learn and use. Having these features built in saves you a lot of time. Combined with fast sampling time this capability lets you maintain signal lock with very high precision.
TI keeps making the CCS more usable all of the time. They have added a lot of user interface support to version 5.2 that lets you build a lot of useful debug and monitoring tools your system.
I like this feature a lot. Sometimes you end up with very odd crystal frequencies and you have limited space on your board to add them. TI gives you a good base frequency internal to the chip that lets you setup your internal timing to meet your application.
TI has developed a very useful BIOS to support digital signal processing. They give you a lot of already integrated capability to quickly exploit the full features of the C2000.
Another standard and essential features. You always need to keep track of your system. It is useless if it gets lost or accidentally reset. A good WDT keeps everything on track.
These features lets you exploit the new LED lighting designs and the new brushless motors. Go to the TI website to see how much control you can have over the new motors.
GPIO0 to GPIO63 Pins Can Be Connected to One of the Eight External Core Interrupts
In English, this means that you can group GPIO pins into sets so that input on them can be handled with the same interrupt.
It is nice to have these features, though you usually do not use power modes with DSP devices. That said, I can see how this feature could be very useful to setup timed data acquisition or transmitting using the DSP to encode or decode signals and then go to sleep to save power. Great for mobile devices.
Peripheral Interrupt Expansion (PIE) Block That support IDLE, STANDBY, and HALT Modes
TI has separated the processing portions of the chip from the IO portions. You can put the processor to sleep while you are waiting for an event to process. Very cool.
Another wow feature. Each IO pin can be used to generate different types of interrupts depending upon your needs.
TI gives you additional capability to control connected devices as needed. You could turn different time bases on and off, depending upon your application.
128-Bit Security Key/Lock • Package Option Protects Flash/OTP/RAM Blocks
Sadly in the modern world, we must make efforts to secure our devices so that they cannot be tampered with or used for other purposes. Luckily, TI provides the tools to secure your product.
Ceramic Pin Grid Array (GB)
I have to be honest, I have only a little idea as to why this is a feature.
Prevents Firmware Reverse Engineering •
Another way to help protect your intellectual property. In my day, we did not have to worry about this problem, but we are in less peaceful times then we were.
I do not think the delivered C2000 supports the full temperature range, but they do have parts qualified for those extremes. Unless your device is mobile and to be used in hostile environments, I suspect that most of us will not need to worry about these.
If you need robot servo control, all you can say is wow. It actually gets better, they use a very tight PWM waveform generation method so that your servos will be rock steady during use. I suspect that a lot of the robot builders will appreciate this feature.
So I hope you can appreciate the power and capability of the C2000 Piccolo.
I look forward to exploring its capability in detail as I experiment to see if it can meet my signal processing needs.
Now if you are new to MCU programming, I would not ask you to leap to the C2000 Piccolo line. Go to the MSP430 first. Learn Code Composer Studio and get familiar with the debugging features. When you think you have mastered the MSP430, you can begin to think about the C2000 Piccolo, but not before, unless you can take in a lot of information very quickly.
DSP programming takes a lot of skill and knowledge. Plus learning to deal with complex signals is not something that you should do unless you have taken a lot of mathematics and engineering classes. You need to be able to connect the software with the mathematics associated with your functions. Otherwise, you will not be able to understand what the C2000 Piccolo is telling you about the signals you are sampling.
For those of you who accept the challenge, the C2000 Piccolo will be an incredible experience in DSP programming.
Once you unlock its secrets, you will become empowered to many new things. Plus if you can demonstrate that you can use it effectively, it will greatly enhance your ability to get a good engineering job. DSP’s separate the men from the boys so to speak.
So ladies, if you find it hard to earn the respect of men engineers, being able to work and speak DSP will put you in a class way above those who cannot.
Just a thought,