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.
Hi,
I am using Halcogen to generate peripheral code for SCI evaluation as described in the video from TI.
The only difference, I have selected Microcontroller with FreeRTOS.
Observation - with all confirmed setup for reception, unable to get hit at sci_notification interrupt indicating character is received while debugging.
Please guide to resolve this issue.
Thanks in advance!
Hi Anil,
Are you able to get the SCI interrupt if the freeRTOS scheduler is not started?
Hi QJ Wang,
Thanks! I will check.
I have another query. I used halcogen example code for CAN evaluation. It works well in internal loopback mode.
When I tried to check normal CAN working by connecting external CAN bus using CAN transceiver, unable to receive data.
Request to advice. Thanks in advance - Anil
Hi Anil,
Would you please open a new thread for this CAN question? Thanks
Are you able to get the SCI interrupt if the freeRTOS scheduler is not started?
Hi QJ Wang,
I am not able to get SCI interrupt when freeRTOS schedular is not started.
Please advice.
Thanks
Hello Anil,
The ARM architecture defines the exception vectors as follows:
Address | Exception |
0x00000000 | Reset |
0x00000004 | Undefined instruction |
0x00000008 | Software Interrupt |
0x0000000C | Prefetch Abort |
0x00000010 | Data Abort |
0x00000014 | Reserved for future use |
0x00000018 | IRQ |
0x0000001C | FIQ |
Basically these are the exceptions that the CPU can "trap". The exception vectors are used by the application to branch to the appropriate exception handling routines. The sys_intvecs.asm defines these branch instructions in a section called .intvecs. The linker command file then maps this .intvecs section to start at address 0x00000000.
Please refer the CPU technical reference manual for more information on these exceptions.
There are several "gates" before an interrupt request gets to the CPU:
Please check your code to make sure that the interrupt is enabled:
1. sciREGx->SETINT
2. SCI channel in VIM table is selected:
3. IRQ is enabled: _enable_IRQ();