Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I'm working on a very basic "operating system" (I'm using the term loosely) and am hoping to have functionality where I am able to write to my TMS570ls1227 via PuTTy or an equivalent emulator. For reference, I currently have the board connected to my computer's usb via the SCI pins and a UART/USB breakout board and am outputting data via sciSend to PuTTy. In CCS, I have a simple FreeRTOS scheduler with three tasks running concurrently (GIO light blinking, reading sensor data from an SPI magnetometer, and the sciSend task).
My desired functionality is as follows:
1) Begin scheduler
2) Press 1 in the terminal emulator to print data from sensor 1, press 2 to output from sensor 2 etc.
3) Some sort of ability to interrupt this process to change what data I am printing as the scheduler is running
I'm assuming that "sciReceive" task or something equivalent and an interrupt of some form would be the best solution to this, but I'm not sure where to start.
I hope I made my issue clear, please let me know if any key information is missing. I know this is a novice question so if someone is even able to direct me to where I can read up on this topic that would be much appreciated.
Thanks!