How to create 300 nanoseconds in PROC BLE using Timer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
SuRa_2245351
Level 4
Level 4
First like received First like given

I want to interface Adafruit Neopixel Ring 12 (Datasheet attached below) with CYBL10563(PROC BLE) MCU, which require nanoseconds delay generation for data transmission. I am able to generate delay of 1 micro second but if I increase clock frequency of timer above 1MHZ it does not function as per requirement.

   

 Please help me with the delay generation as I am in very critical stage of firmware development.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Upgrade Creator to 4.0 SP1. Your version cannot handle the module.

   

 

   

Bob

View solution in original post

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Set the main clock to 23.3 MHz, then you get a 300ns clock with a divider of 7.

   

 

   

Bob

0 Likes

I am unable to set frequency to 23.3Mhz, please send me sample project if possible

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Another solution attached

   

 

   

Bob

0 Likes
SuRa_2245351
Level 4
Level 4
First like received First like given

Thank you bob for your effort but solution attached by you didn't open in my PSoC creator 3.3 and poped message attached below.

   

I want to interface Adafruit Neopixel Ring 12 with my Psoc 4 BLE kit, I tried Project done by Mark Hasting for CYBL10563 as well as CY8C4247LQI but it pops me error as "Component 'StripLights' uses component 'cy_clock_v2_10' in its implementation. 'cy_clock_v2_10' has an error: The cy_clock_v2_10 component (StripLights_HFCLK) is not compatible with the selected device. Please check the component datasheet for details on updating to a compatible component."

   

If you know how to eliminate this error please give detail procedure for the same.

   

 

   

Thanks

   

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Upgrade Creator to 4.0 SP1. Your version cannot handle the module.

   

 

   

Bob

0 Likes
SuRa_2245351
Level 4
Level 4
First like received First like given

Thanks sir,

   

I will update to Psoc 4 and try.

0 Likes