DSPRelated.com
Forums

PF12,PF13 needed to use ,programable flags guys

Started by ajax...@yahoo.co.in April 22, 2005

Iam sorry for that ,and very much thank ful for the response

Well i am using BF532 processor, vdsp++3.1
as i said earlier that ,
i have already configured PF12 as an Input pin and the PF13 an output pin
now an external deivce MC45 which is an GSM module uses AT commands.
now this device is connectetd to PF pins ,i.e 12 and 13(PFs) ,I do not have any idea now how to send an data using the PF,
If i have to use EBIU or DMA for transfering the DATA.which one to use and how to use can any one explain me.
here the data i need to send only is an small word i.e 'AT'->this the data i need to send .

on the PF12 i need to recive,i.e the MC45 will respond back after receving the AT is 'OK',this 'OK' must be able to see on the PF12 pin.
can any one help me.how to do this

major dought ,

since i have made PF13 as output pin,that means the data i want to send is been transfered on this pin only.

thanks in advance

Ajay



Hello Ajay,

On the ADI website you can find the hardware reference manual for the BF53x family. I believe revision 3 is the current release. I recommend reading section 14 for programmable flag configuration.

I take it you want to send serial data out of a pin configured as a general purpose I/O pin?
If that is the case, just serially shift out each bit out of the flag pin.

for loop based on the number of bits to send;
if desired target bit position is a "1"
make flag pin active
else leave flag pin a inactive
timing adjustment for required pulse width
reset flag pin if active
timing adjustment for required bit rate
shift data 1 bit position
end of loop

Reading data will be a little more tricky but it is the reverse of the previous psuedocode explaination, except I would implement edge detection on the flag pin input and use a timer to sample the data coming in on the pin.

Hope this helps and good luck.

Regards,

Gabe
ajax_narayan@ajax... wrote: Iam sorry for that ,and very much thank ful for the response

Well i am using BF532 processor, vdsp++3.1
as i said earlier that ,
i have already configured PF12 as an Input pin and the PF13 an output pin
now an external deivce MC45 which is an GSM module uses AT commands.
now this device is connectetd to PF pins ,i.e 12 and 13(PFs) ,I do not have any idea now how to send an data using the PF,
If i have to use EBIU or DMA for transfering the DATA.which one to use and how to use can any one explain me.
here the data i need to send only is an small word i.e 'AT'->this the data i need to send .

on the PF12 i need to recive,i.e the MC45 will respond back after receving the AT is 'OK',this 'OK' must be able to see on the PF12 pin.
can any one help me.how to do this

major dought ,

since i have made PF13 as output pin,that means the data i want to send is been transfered on this pin only.

thanks in advance

Ajay

Gabriel Abreo
Design Engineer
__________________________________________________