Use PWMA pin as Output???

Started by Olamide... in Freescale DSPs17 years ago 1 reply

How can i configure PWMA pin as just an output pin. (i.e. i want to use this pin as just a regular output because i am out of...

How can i configure PWMA pin as just an output pin. (i.e. i want to use this pin as just a regular output because i am out of regular GPIO pins) Plz help ASAP... thx's a lot... Olamide... "financially free dec 2005"


How can I write low-level drivers using SDK's help?

Started by Michael W. Mann in Freescale DSPs18 years ago

A new CodeWarrior and Embedded SDK training exercise has been added. In Exercise 3d you learn how to write a low level driver for...

A new CodeWarrior and Embedded SDK training exercise has been added. In Exercise 3d you learn how to write a low level driver for the EVM's debug LED(s), which are attached to specific GPIO pins. Also provided are modified Appendix C programmer's sheets showing SDK support. Stand alo


Generating square wave fixed frequencies on 56F8xx

Started by vbcam in Freescale DSPs13 years ago

Hello I am looking for any help on how to generated multiple acurate and fixed square wave frequencies ( over 12 at once ) on the range of 4...

Hello I am looking for any help on how to generated multiple acurate and fixed square wave frequencies ( over 12 at once ) on the range of 4 to 9 Khz within the 56F8xx or 56F8xxxx DSC. I would like not to use the PWM or Timers but loops and software only and getting the outputs on GPIO A and B. Any idea? Thanks


56F8365 Help when Configuring peripheral for GPIOC [0:3] using SIM_GPS

Started by oyedejimummy in Freescale DSPs13 years ago

Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is...

Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is possible (reading about the SIM_GPS). It seems that all four GPIOC pins [0:3] have to be configured to the same function (GPIO OR Quad decoder/Quad Time B OR SPI1) even though the actual configuration through SIM_GPS is done individually. My con...


Basic Read and Write operation for DR register of GPIO port!

Started by abdulrazaqali in Freescale DSPs14 years ago 4 replies

Any thoughts for getting the value from GPIO_B_DR register? I want to increment the GPIO_B_DR value after every iteration but no luck so far;-)...

Any thoughts for getting the value from GPIO_B_DR register? I want to increment the GPIO_B_DR value after every iteration but no luck so far;-) I'm getting the '0' value every time. /////////////////////////////// register po; asm(move #$0002 , X:GPIO_B_DR); po = 0; while(1) { asm(move X:GPIO_B_DR , X0); //Get DR register value in X0 asm(move X0 , po); // move it to po variable ...


counting a LOT of quadrature inputs with 56F807

Started by kiha...@gmail.com in Freescale DSPs15 years ago 1 reply

Hi, I'm trying to build a board with 56F807, which can count 7 different quadrature inputs if I use quad timers and quad decoders. But I would...

Hi, I'm trying to build a board with 56F807, which can count 7 different quadrature inputs if I use quad timers and quad decoders. But I would like to have an option to count from more than 7 quadrature inputs. So I programmed a 4-state (00, 01, 11, 10) finite state-machine, which takes inputs from one of the GPIO pins, and polled at a set frequency. For example, if the previous input was 0


AW: Multiple Interrupts in GPIO and Flash Memory Data

Started by Bende Georg in Freescale DSPs17 years ago

Variable access: You can assign a variable to a specific memory address like this: UInt16 GPIOE_DR:0xff1; This assigns the...

Variable access: You can assign a variable to a specific memory address like this: UInt16 GPIOE_DR:0xff1; This assigns the variable GPIOE_DR to the memory address 0xff1. I don't clearly understand the second question. Variables are normally in the Data Memory. Data that isn't c


read User Jumpers, 56F8357 eval. board, code snippets

Started by Corey, Rick in Freescale DSPs16 years ago

Hi Here's 2 trivial code snippets for configuring and reading the "User Jumpers" on a 56F8357 evaluation board. These are...

Hi Here's 2 trivial code snippets for configuring and reading the "User Jumpers" on a 56F8357 evaluation board. These are jumpers JG15 and JG16. I configure them as GPIO inputs (open drain). See figure 2-12, section 2.14 of the '357 EVM Hardware User Manual. The alte


WHY the state the GPIO of PE3(dsp56f807) doesn't change

Started by dj sunny in Freescale DSPs14 years ago 1 reply

hi, i use the PE3 as a output signal,i have make a program: {...

hi, i use the PE3 as a output signal,i have make a program: { periphMemWrite(0x0000,&ArchIO.PortE.PeripheralReg); periphMemWrite(0x00f0,&ArchIO.PortE.DataDirectionReg); periphMemWrite(0x0000,&ArchIO.PortE.DataReg); } /************************************************/ { periphBitSet(0x0008,&ArchIO.PortE.DataDirectionReg); periphBitClear(0x0008,&ArchIO.PortE.DataReg); } Th...


Using address pin as GPIO on 56F805 with PE

Started by Bruno Tremblay in Freescale DSPs15 years ago 2 replies

Hello,             I’ve already done this when I was using the SDK but I can’t figure how to do it with...

Hello,             I’ve already done this when I was using the SDK but I can’t figure how to do it with Processor Expert. What I want to do is: while still