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.

TMS570LS0914: TMS570LS0914 software resources

Part Number: TMS570LS0914
Other Parts Discussed in Thread: HALCOGEN,

Hello,

Can you please share TMS570LS0914 example codes for CAN, ADC, SPI, N2HET with and without interrupts and other useful resources which might be helpful. I'm finding it little hard to understand it just by using HALcogen and CCS. Also,

1) When using GIOA, i cant seem to find an option in HALcogen where you can generate an interrupt on BOTH rising and falling edge ? (But it is available on N2HET as GIO inputs).

2) How can i set the baudrate of CAN to 125 or 250 kbps ? HALcogen seems to throw an error/warning (no valid baudrate calculation possible for the configured baudrate and propagation delay).

Thanks for your help

Regards,

Badri

  • Can you please share TMS570LS0914 example codes for CAN, ADC, SPI, N2HET with and without interrupts

    The HALCoGen help includes several examples:

    1) When using GIOA, i cant seem to find an option in HALcogen where you can generate an interrupt on BOTH rising and falling edge ?

    The GIO module can generate interrupt on both edges or single edge. To use both edges, please enable the bit field of GIOINTDET register. The GIOPOL register is used to set the single edge. 

    The HAL doesn't include this option, please add the code manually. 

    gioREG->INTDET = 0x4; // for GIOA[2]

  • 2) How can i set the baudrate of CAN to 125 or 250 kbps ? HALcogen seems to throw an error/warning (no valid baudrate calculation possible for the configured baudrate and propagation delay).

    We can.