: F2808 ePWM problem

Started by Paulo Ricardo in TI C200012 years ago 1 reply

Hi, I'm using the SOCA signal from ePWM to fire the ADC SEQ1. The problem is the ePWM that isn't counting, they stay with value equal to zero...

Hi, I'm using the SOCA signal from ePWM to fire the ADC SEQ1. The problem is the ePWM that isn't counting, they stay with value equal to zero every time. I had set the FREE bit, so they must run ever with the system debug stopped, right? If I manually set the EPwm1Regs.ETFRC.bit.SOCA, the ADC take a sample. Someone see this problem and know how to workaround? EALLOW; EPwm1Reg...


Re: sending /receiving data through UART

Started by jwai...@boston-engineering.com in TI C200012 years ago

Greetings, You are experiencing the endian problem between the two processors. Do not send a structure. Define fields and "copy: each field...

Greetings, You are experiencing the endian problem between the two processors. Do not send a structure. Define fields and "copy: each field into the message and out of the message. Another problem may be due to the way your compiler may actually allocate structure s_x. It may not pack them as expected. Modemmad99 Hi, > I need to send / receive binary data to / from PC through UART.


Issue in I2C module with Piccolo 28027

Started by Nadeem in TI C200012 years ago 1 reply

Hello All, I am working on the Piccolo 28027 controller. I have query while working with the I2C module. I am Trying to...

Hello All, I am working on the Piccolo 28027 controller. I have query while working with the I2C module. I am Trying to run the sample code of the I2C provided by TI, but its not working properly. While I run the code the SCLA(clock) remains in LOW State. Due to this the data has not transmit or Receive. I had externally connected AT24C32 EEPROM to I2C...


eCAN Error

Started by AminRezaie in TI C200012 years ago

Hi I've some experience in using 2812 peripheral but not on ecan. now i want use can bus to connect to the motor driver to make some change...

Hi I've some experience in using 2812 peripheral but not on ecan. now i want use can bus to connect to the motor driver to make some change o= nto configuration or set point. but i have no ack. in can bus. I set TRS0 and wait for TA0 to be set but after 180 time read and check CAN= TA reg CANEs register set some flag like(SMA, EW and EP), and repeat. i'm so confused. my code is : =A0 void...


Loss of processor clock when trying to connect through the JTAG port

Started by cmackinnon44 in TI C200013 years ago 3 replies

I can't connect to my DSP through the JTAG port. The message that CCS gives me is that it has lost the processor clock and the device is...

I can't connect to my DSP through the JTAG port. The message that CCS gives me is that it has lost the processor clock and the device is operating in low power mode. The clock signal going in is 20 MHz (pin 90) and coming out of the XCLKOUT pin is 2.5 MHz initially. As soon as I try to connect through my JTAG device (Signum Systems JTAGJET - TMS), the XCLKOUT signal disappears. I've chec...


simulink and i2c for c28335 dsp

Started by gast...@yahoo.com in TI C200013 years ago 1 reply

hi, i try to make a connection between dsp c28335 and msp430, i use simulink to do the i2c link, but the dsp is not responding to the msp430, i...

hi, i try to make a connection between dsp c28335 and msp430, i use simulink to do the i2c link, but the dsp is not responding to the msp430, i use the oscilloscope to see the data and clk lines, but the only thing i can see is the clock generate by the msp430 to send the slave address to dsp, but this is not responding. why???? i use the the pull up resistor in those lines, so this s not the pr...


BLDC Motor Control

Started by kvai...@gmail.com in TI C200013 years ago 5 replies

Hi, I am trying to run an incremental encoder based motor from F2812 using PMSM3_4.(reference code). I am able to run the motor upto build level...

Hi, I am trying to run an incremental encoder based motor from F2812 using PMSM3_4.(reference code). I am able to run the motor upto build level 3. But when I am trying to match the encoder angle against the ramp generated angle, its not matching. but i am moving the shaft by hand and reading the angle, then i get correct angle.that means whenever i am trying to read angle in 20KHz ISR for PWM gen...


Writing a value in a certain memory location

Started by baha...@hotmail.com in TI C200013 years ago 4 replies

Hi all, I am using F2812 TI dsp. I want to write a value in a certain memory location. The value is"0x0003" its address is...

Hi all, I am using F2812 TI dsp. I want to write a value in a certain memory location. The value is"0x0003" its address is "0x00200D". I am not sure if there is a way to write that in C. If you can please tell me about the assembly code which should be used to perform such task and how to include it in a C code? Best regards, Bahaa _____________________________________ ...


Connect F2812 to LCD+keypad

Started by udon...@rocketmail.com in TI C200013 years ago 2 replies

Hi there, I want to connect the DSP with a LCD and a keypad. When switched on the user is asked about certain parameters, which he can feed...

Hi there, I want to connect the DSP with a LCD and a keypad. When switched on the user is asked about certain parameters, which he can feed into, using the keypad. The collected data has to be transmitted to the DSP and stored in the variables until a new input has been made. Does anyone know how I could implement that? Which Hardware could I use and which interface should I use for data t...


linker error for f2812

Started by baha...@hotmail.com in TI C200013 years ago

HI all, I am a new user of F2812 TI DSP. I read a previous posts form you recommending TI examples for beginners to trace. So I started with...

HI all, I am a new user of F2812 TI DSP. I read a previous posts form you recommending TI examples for beginners to trace. So I started with the CPU timer example v111. I built a code which toggles Pin0 on port A using timer 0 interrupt and use it as the main code in that project. Below is my code. #include "DSP281x_Device.h" // Prototype statements for functions found within this fil...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright