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 have TI Hercules launchpad TMS570lc43xx development board (LAUNCHXL2-570LC43).
I am trying to using halcogen and CCS_v12.
My application: I need to receive input from proximity sensor (High side) on following balls /pins:
PB2 [F2]
PA0 [A5]
PA6 [H3]
PA7 [M1].
These input pins need to configure with external interrupt to read input pulse.
How can I configure external interrupt with Halcogen and develop code in CCS? Is there any sample code available to take reference?
Hi Vivek,
To enable external GIO interrupts, do the following process.
1. First make sure all the pins operate in GIO mode in pin mux:
2. Enable the VIM interrupts for corresponding GIO as below, and also select the required edge(Rising or falling) for interrupt.
3. Now enable the VIM interrupt of GIO as below
4. Now you can enable the flags in the GIO_Notification function
And you can use the same flags in main function and do the necessary operation.
I am attaching my tested project here, for your reference.
--
Thanks & regards,
Jagadish.
Hi @jagadish gundavarapu ,
Thanks for this help.
It worked well for me and easy to configure from halcogen.
There is one more question I have before I close this topic.
Query: Do you have any sample/example on how to store the variable data in non-volatile memory?
I have a variable which store data and is crucial. I want to retain the data even after power boot.
Do you have any example code for reference to understand the procedure on how to store and extract data from its non-volatile memory after power boot?
Hi Vivek,
Query: Do you have any sample/example on how to store the variable data in non-volatile memory?
We have Flash Emulated EEPROM (FEE) example, that means the bank7 in the flash can be used as EEPROM to store data.
You can find this example in HALCoGen "Help Topics"
For more details refer below FAQ:
Here i also gave few other FEE examples as well:
--
Thanks & regards,
Jagadish.