This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ecg demo - spi infinite loop

Other Parts Discussed in Thread: TMS320C5515, ADS1298R, ADS1298

hi,

1. I am using TMS320C5515 EVM with ADS1298R and trying to run the demo code: ADS1298_ECGSystem_C5515EVM. In the past I succeeded to get the desirable lcd screen (after changing JP24 to supply 3.3V instead of 1.8V), but now the code stuck at infinite loop. after debugging I noticed that SPI initialization failed at the spi driver configuration (at DDA_spiConfiguration routine) .In the code it failed because the values of spiCtrlMode (0xFFFF) didn't match to SPI_MODE (0) (the spiMaster didn't match too and so opMode and etc). I don't succeed to run it as before. any advice?

2. In the past, when the demo code run succeesfuly, I tried to use the C55x ECG ADS1298 Medical Development Kit (MDK) application but I got error (in the bottom of the gui): SERIAL PORT DISCONNECTED (although the serial port was connected with the requested baud rate: 115200)

3. another issue is about baud rate: while running CSL_UART_INTEXAMPLE I got NULL at the terminal when the baud rate was as requested (2400). after testing it in lots of rates - it worked at baud rate 352. It's very low. isn't it? what I should change to get the normal rate?

hope someone could help me,

thanks in advance!!

Keren

  • Hi Keren,

    You might also check the other jumpers to make sure they are correctly populated - your remark about the baud rate running slow made the CLK_SEL jumper come to mind (JP9 - CLK_SEL). Make sure it is populated or else the input clock will be 32.768 kHz instead of 12MHz..

    FYI - The C5515 MDK has been discontinued and supporting it is now a challenge.

    Hope this helps,
    Mark
  • thank you Mark for the quick reply. I checked the other jumpers and they are correctly populated, both in the C5515 and in the AFE.
    I also checked JP9 (CLK_SEL) and it's open (as the facory default). I tried to make it shorted but then I got an error in CCS:

    Error connecting to the target:
    Error 0x80000260/-1023
    Fatal Error during: Execution, Initialization, OCS,
    PTI_ERR_IROP_CMD Error Occured at 0x00000000