Comments (6)
I confirm the issue. The Clock
element of the Galaxia library no longer works.
from cc13xx-core.
I've found that the problem is in Clock_start(). Commenting this instruction out and setting clkParams.startFlag = TRUE makes the clock work as expected:
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/BIOS.h>
Clock_Params clkParams;
Clock_Struct clkStruct;
Clock_Handle clkHandle;
void clkFxn(UArg arg0)
{
digitalWrite(RED_LED, !digitalRead(RED_LED));
}
void setup()
{
pinMode(RED_LED, OUTPUT);
digitalWrite(RED_LED, HIGH);
Clock_Params_init(&clkParams);
clkParams.period = 5000000/Clock_tickPeriod;
clkParams.startFlag = TRUE;
Clock_construct(&clkStruct, (Clock_FuncPtr)clkFxn, 5000000/Clock_tickPeriod, &clkParams);
//Clock_start(clkHandle);
}
void loop()
{
}
from cc13xx-core.
Does that mean that the delayed launch of the Clock is no longer possible?
from cc13xx-core.
Not in an asynchronous way, as you were doing with Galaxia.
from cc13xx-core.
Strange, as it used to work with the Clock_start
fired after Clock_create
.
from cc13xx-core.
I was using Clock_construct instead of Clock_create.
from cc13xx-core.
Related Issues (20)
- Linking against CC1350_LAUNCHXL
- CC1310-Launchpad - Serial.available() not working properly
- NVS_read blocking issue HOT 2
- sub-1 GHz Gateway to MQTT
- SensorTag CC1350: Board.h Not Included
- LaunchPad CC1350: How to Get Low Power Mode < 2.6 mA? HOT 1
- Add Support for CC1312 / CC1352 LaunchPad HOT 2
- Energia MT Example Monitor Fails
- Deleted
- LCD Sharp BoosterPack SPI examples no longer work on CC13x0
- File missing HOT 2
- New cc13xx core version 5.20.0 available from TI
- aJson library does not compile
- The standard `Blynk` example fails to compile because `RED_LED` isn't defined. HOT 1
- Flash and RAM sizes are mentioned twice in `boards.txt` with different values. HOT 1
- Add Labels for easier management
- Board Manager and GitHub repository not synchronised HOT 1
- CC1310 - Enable Serial bootloader and backdoor pin in CCFG HOT 3
- blink Example Fails to Compile with CC1310 Core 4.9.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cc13xx-core.