Jump to content


  • Content Count

  • Joined

  • Last visited

About Scardini

  • Rank
    Noob Class
  • Birthday 11/04/1977

Profile Information

  • Gender
  1. Hello bluehash, I trie to work with SCIA module with interrupts. In the RX pin (GPIO 28), the interruption is occurring at time of the overflow (5 characters received), always losing the first character. However the interruption had been set to occur on every character received (SCI_FifoLevel_1_Word). In the attached code, the error described occurs. It should blink an LED for each received character (in the interruption) however the LED blinks only on every five characters group received. The code is complete, put on ccs and run.... on computer, use the putty ( or similar ) to test th
  2. Anyone have any idea where is the error? trey?
  3. This function is declared in _DEBUG scope. Only is visible if the _DEBUG is declared on compile / link steps. To enable the _DEBUG define, go to : Project -> properties -> Build -> C2000 Compiler -> Advanced Options -> Predefined Symbols and include the _DEBUG symbol on Pre-define Name field. good luck
  4. Hello, Do not know if it's my mistake or a fault in interrupt module. I tried to receive data from the SCIA module using only the system interruption. The interrupt is generated only every five characters received in order to always miss the first character. Even when I set the interrupt to occur in SCI_FifoLevel_1_Word status. #include "DSP28x_Project.h" // DSP28x Headerfile #include "f2802x_common/include/pll.h" #include "f2802x_common/include/clk.h" #include "f2802x_common/include/wdog.h" #include "f2802x_common/include/gpio.h" #include "f2802x_common/include/pie.h" #include "f
  5. Hello Trey, Going beyond the question raised by the Skinny, I wonder if it is possible to associate the stdout and stdin to SCIA? I saw an example where this was done with the stdout: //Redirect STDOUT to SCI status = add_device("scia", _SSA, SCI_open, SCI_close, SCI_read, SCI_write, SCI_lseek, SCI_unlink, SCI_rename); fid = fopen("scia","w"); freopen("scia:", "w", stdout); setvbuf(stdout, NULL, _IONBF, 0); How this code becomes to add the stdin? thanks Cristiano Scardini
  • Create New...