BlackFin BF531 SPORT as SPI

Started by Vladimir Vassilevsky in comp.dsp15 years ago 2 replies

Hello All, There is a necessity to connect the 16 bit SPI DAC to the SPORT on the ADSP BF531 (silicon rev. 0.3). I am initializing the SPORT...

Hello All, There is a necessity to connect the 16 bit SPI DAC to the SPORT on the ADSP BF531 (silicon rev. 0.3). I am initializing the SPORT in the prescribed manner: TCLKDIV = 2 TFSDIV = 31 // just in case TCR2 = 0x000F; // word length - 1 TCR1 = 0x7603; // alt. framing mode The SPORT is supposed to work like the SPI: a write to the TX register should generate the SPI cycle. How...


Check for overflow. Optimization issues in Blackfin compiler

Started by John McDermick in comp.dsp11 years ago 4 replies

Hello, If I calculate a product P = x * y and I want to check that adding P to a sum doesn't result in an overflow, is this the way to do it...

Hello, If I calculate a product P = x * y and I want to check that adding P to a sum doesn't result in an overflow, is this the way to do it or is there a more efficient way: if (((sum ^ P) & MIN_32) == 0) { if ((tmp ^ sum) & MIN_32) { tmp = (sum < 0) ? MIN_32 : MAX_32; flagOverflow = 1;


Blackfin Programmable flags

Started by KIRAN in comp.dsp12 years ago 2 replies

Hi Guys, I am facing some problem in using PF0 on BF531 as input. I want interrupt ( i am using channel A) to be generated when state of...

Hi Guys, I am facing some problem in using PF0 on BF531 as input. I want interrupt ( i am using channel A) to be generated when state of PF0 changes from Logic 0 -> Logic 1 and vice versa. This is the configuration iam using configuration. #define RTS_INTERRUPT_CHANNEL PF_A_INT #define RTS_PF_NO 0 #if (RTS_INTERRUPT_CHANNEL == PF_A_INT) #define RTS_MASK_SET_REG FIO_MASKA_S #


Performs IIR filtering using BF537 EZ-KIT

Started by anonim in comp.dsp12 years ago

Hello!! I am trying to implement an bandpass butterworth IIR filter with fixed point coefficients. I have a wave file that should be filtered...

Hello!! I am trying to implement an bandpass butterworth IIR filter with fixed point coefficients. I have a wave file that should be filtered with this filter. I do not know how to set the filter characteristics in fdatool(matlab), so that all coefficients be in fixed point arithmetics, because I need them to programming Blackfin 537 EZ-kit Lite. Thanks in advance


Visual DSP compiler/linker Q

Started by dubravko in comp.dsp18 years ago 1 reply

Target = Blackfin DSP Is there a way to "force" C compiler/linker to produce code that references C code data variables not by their absolute...

Target = Blackfin DSP Is there a way to "force" C compiler/linker to produce code that references C code data variables not by their absolute address, but rather by their offset from the beggining of the corresponding data section. Something like : b0 = start_address_of_data_section; i0 = offset_for_temp; r0 = b0 + i0; //r0 holds address of temp instead of : r0.l = temp; ...


strange trouble with multi-slave SPI environment

Started by Pavel Schukin in comp.dsp14 years ago 2 replies

Hello, everybody. I have a board with Analog Devices BlackFin 537 processor tied with another BF537, several synthesizers and SD Card by SPI...

Hello, everybody. I have a board with Analog Devices BlackFin 537 processor tied with another BF537, several synthesizers and SD Card by SPI interface. Common MISO,MOSI and all CS pins are provided with pull-up resistors. The trouble is about SD card programming. It is programmed properly only if i connect oscilloscope's probe at CLK pin of SD Card connector. I suppose that probe works like a c...


Compile Speex for Blackfin in VisualDsp

Started by John McDermick in comp.dsp10 years ago

Hi, Is there a fix for this issue? ---> http://permalink.gmane.org/gmane.comp.audio.compression.speex.devel/2959 I am seeing the same...

Hi, Is there a fix for this issue? ---> http://permalink.gmane.org/gmane.comp.audio.compression.speex.devel/2959 I am seeing the same thing when I compile speex in visualdsp These are the errors I get from using the assembly version of vq_nbest: ..\..\..\..\algorithms\voice\speex\src\vq.c [Error ea5004] "C:\Users\coder\AppData\Local\Temp \acc22e8547f000\acc22e8547f001.s":482 Synt


High-performance eval kits with Linux support

Started by mafgani in comp.dsp15 years ago 7 replies

Hello, I am a newcomer to the world of DSPs and I am looking for a standalone kit that is able to provide 8000+ MMACs, has a I2C bus/controller...

Hello, I am a newcomer to the world of DSPs and I am looking for a standalone kit that is able to provide 8000+ MMACs, has a I2C bus/controller and can be developed under a Linux based environment. The Blackfin STAMP boards were perfect in every way other than the performance figure. The TI TMS320C6455 DSK offers 8000 MMACs but requires a Windows based development environment. Also, I'm not sur...


Wrapper function (C interface to asm routine on Blackfin)

Started by John McDermick in comp.dsp10 years ago 14 replies

It's been a while so please bear with me... If I have some asm routine (lets call it _mysub) which ...just for the sake of...

It's been a while so please bear with me... If I have some asm routine (lets call it _mysub) which ...just for the sake of simplicity....adds 1 to what ever is in R2...how do I declare a wrapper function (or prototype) in C which loads the value I am calling with into register R2? I tried doing it like this: void wrapper(register r2) { _mysub; } void main() { wrapp...


Project on Power Spectral density estimation.

Started by Tiken in comp.dsp16 years ago 1 reply

HI, I am currently doing a project on estimation of power spectral density using DSP processort(Blackfin).I am bit confused abt how to approach...

HI, I am currently doing a project on estimation of power spectral density using DSP processort(Blackfin).I am bit confused abt how to approach initially for the same.I am thinking to implement algorithms based on parametric estimation. What could be the best and convinient type of the signal to be used for the same(Test vectors are to be used actually) and how to generate such test vectors?...


Open Source MIDI Player

Started by Rob Hutchinson in comp.dsp14 years ago 7 replies

Hello all, I'm looking for an open source MIDI player, preferably a C implementation. I need the actual MIDI decode source code, (i.e. a player...

Hello all, I'm looking for an open source MIDI player, preferably a C implementation. I need the actual MIDI decode source code, (i.e. a player which calls into Windows DLL for the decode is no good.). Goal is to port to ADI Blackfin so a fixed point implementation is preferable. Any suggestions on finding this? Thanks in advance, Rob


Blackfin boot process problem

Started by Anonymous in comp.dsp15 years ago 3 replies

Hello, I've got an interest problem with BF532 boot. BF booted parallel with an emulated flash. both modes (8 or 16 bit) have same...

Hello, I've got an interest problem with BF532 boot. BF booted parallel with an emulated flash. both modes (8 or 16 bit) have same problem. I logged the BF bus, and the boot rom is running, but some differences have been found: -in bootmode 01 (parallel async flash mode) boot rom reads the first byte /word to determine the flash width. After a little wait founds, that is normal. As ...


automatic labelname in inline asm functions in visualdsp??

Started by John McDermick in comp.dsp10 years ago 1 reply

The GNU gcc blackfin compiler has a feature where labels in inline assembly functions are automatically numbered (to avoid illegal...

The GNU gcc blackfin compiler has a feature where labels in inline assembly functions are automatically numbered (to avoid illegal redefinitions of labels)... The syntax is [labelname]%= For example "LOOP mylabel%= LC0 = P0;\n\t" The VDSP compiler doesn't understand this syntax....but I am wondering if the feature is available and in that case...what is the syntax?? ...


viterbi on ADSP-blackfin

Started by inag...@gmail.com in comp.dsp16 years ago 2 replies

hi, i have implemnet soft decision viterbi decoder of constraintlength 7 on adsp black fin processor. can anybody...

hi, i have implemnet soft decision viterbi decoder of constraintlength 7 on adsp black fin processor. can anybody sugegst some document regarding implementation on ADSP. i know the theory of viterbi decoder. I already implemenetd hard decision decoder on FPGA. Whether register excahneg algorithm is good or trace-back is good for DSP implementation. I wnat to know so...


Blackfin two-word *fast* floating-point library

Started by Leon Heller in comp.dsp18 years ago 20 replies

Three years ago I developed a very fast set of two-word floating-point assembler routines for the ADSP-2187, including a square root function...

Three years ago I developed a very fast set of two-word floating-point assembler routines for the ADSP-2187, including a square root function and conversion to/from IEEE-754, callable from C. The code was used very successfully for a Kalman tracking implementation and ran over 10 times faster than the original code written entirely in C. It's now running on an ADSP-2191. I'm in the process...


Low-power, Low-cost DSP chip

Started by Edward E. Hopkins in comp.dsp18 years ago 2 replies

Ok I am hunting for a low-power AND low-cost DSP. I have searched all major manufacturers (Zilog, Intel, TI, AD, and Mot) and have not yet found...

Ok I am hunting for a low-power AND low-cost DSP. I have searched all major manufacturers (Zilog, Intel, TI, AD, and Mot) and have not yet found a suitable DSP to meet a stringent cost and power spec imposed on me. I've checked the TI 320 C6000, 5000, and 2000 series but they are just too expensive and consume too much power. The AD (blackfin, SHARC) chips appear to be no better on power ...


lowest power for 16MIPS@16bit?

Started by Steven Sanders in comp.dsp18 years ago 1 reply

Hello DSP gurus! For a 16bit algorithm, requiring 16 MIPS (with hardware multiplier), we want the LEAST power consuming DSP/MCU! Does...

Hello DSP gurus! For a 16bit algorithm, requiring 16 MIPS (with hardware multiplier), we want the LEAST power consuming DSP/MCU! Does anything beat 2 MSP430 controllers in parallel (= 16 mW power consumption)? For instance, if you duty cycle a 300 MHz Blackfin DSP at 5.3% (=16MIPS) , do you achieve a lower power consumption? I`m worried about the large baseline power consumption and ...


signal processing for real time gas measurements

Started by jalbme in comp.dsp14 years ago 2 replies

hello friends, i am using blackfin adsp bf537 for embedded and signal processing purpose. application is multiple gas analyzer and making...

hello friends, i am using blackfin adsp bf537 for embedded and signal processing purpose. application is multiple gas analyzer and making first prototype of it.i want to smooth digital signal and to remove noise. so after analog to digital converter, i will use bf537. but, i am still puzzling for signal processing stuff. should i have to use kalman filtering or moving average filtering for sm...


Why not the two cores in DaVinci are merged into one core?

Started by Anonymous in comp.dsp14 years ago 13 replies

Hi,all We know there are one ARM core and C64x core in DaVinci from TI. The ARM core is for OS and C64x is for DSP. Is it possible to...

Hi,all We know there are one ARM core and C64x core in DaVinci from TI. The ARM core is for OS and C64x is for DSP. Is it possible to merge two cores into one? This idea is crazy? It makes me think of XScale core which is a ARM core with wireMMX coprocessor. Blackfin from ADI can run ucLinux and do DSP at the same time. Thanks in advance. Jogging


Good old Hilbert Transform question

Started by NiCad in comp.dsp15 years ago 3 replies

Hello everyone, just a little question about the good old Hilbert Transform. - Goal: obtain analytic signal (a(n)+j?(n)) from an in-phase...

Hello everyone, just a little question about the good old Hilbert Transform. - Goal: obtain analytic signal (a(n)+j?(n)) from an in-phase signal (a(n)); - Tool: Blackfin BF537. I get a sampled signal, and i compute it's hilbert transform using a FIR filter with coefficients obtained using Matlab/Scilab's "Hilb" function. -Problem: I have to create the analytic signal in a numeric fashion.....