Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all articles
Browse latest Browse all 796

Change Auto Generated Code

$
0
0

Hello, I need to change the auto generated code in psoc 4.0

 

For a Project we use WCO as a clock source, LFCLK. The file cyfitter_cfg.c is an auto generated file from Psoc 4. after starting WCO component, a 500ms wait is performed till WCO should be stable. After the wait, a Low Power Option of WCO is set.

Goal of our application is, the Cyble 022001-00 is mainly in hibernation mode. After an Interrupt(from NFC chip) it programs a NFC Tag with the BLE address. A Smartphone reds the address, connects to BLE and retrieve information.

One of the main goals of our application is low power.  So current implementation takes 500+ms till the NFC tag is written and the Smartphone tries to connect. Manley the delay of the wait function after starting WCO. For writing the NFC Tag no WCO related function is needed.

My plan is to delete the wait cycle and set the low power option of WCO manually in my source code. For this I need an option how to change out generated source files. If there are any drawbacks to my plan please let me know.

It would be interesting to know the max time till WCO is stable, haven't found a hint of it in user manual and data sheet.

Thanks

@Bob sorry but my last posting is closed, but solved for me. To answer your last question I live near Karslruhe.


Viewing all articles
Browse latest Browse all 796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>