Hello Konstantin,
I am very close to a resolution but still testing.
Do the controller send TX by static or dynamic mode?
The controller appears to broadcast in what I describe as a static mode. Meaning, the first value TX is the only value that will be broadcast indefinitely.
Can the controller send TX in a live dynamic mode where a user can view the values change in real time view CAN bus? I am using SavvyCAN via ESP32 Dev PCB with a custom CAN shield to watch the TX sent by Canny controller on ESP32 RX.
I am trying to understand the Frequency Meter that is made by Composite block------ but,
Problem #1.
I can see a change from D0 of 0x00 going to D0 0xxx once the pulse input is added to Ch.8.
I cannot see a real time value of TX increase or decrease after the initial pulse input is introduced in regards to changes in pulse counter or changes made to your Frequency Meter values (Max Pulse Width; Pulse width step, ns; Range; etc). I am using an external pulse generator (Dakota Digital STA-1000) rated at 60 mph which I can adjust the counter to have one fixed variable in this equation.
Although, after some unrealized time has passed (in Frame Captured |Frames Per Seconds via SavvyCAN) I notice the value of D0 changed on its own. This occurs randomly and I have not figured out how that is happening. Possibly due to a sleep / wake episode of Canny.
Do you know how the TX is periodically being changed?
Is the Frequency Meter counting indefinitely or is it resetting the count as an ABS module would during a drive cycle? It would be "interrupt" in C / C++.
Problem #2.
As I understand it, Composite block is a way to construct custom functions. I would like to construct a Composite block that is compatible to the code enclosed in the (Decoration) text notes.
For me to implement the Frequency Meter I must understand what each piece in the configuration is doing. I am trying to relate the frequency diagram to the code I have already tested with STA-1000 in Arduino with an ESP32 Dev pcb. Problem with ESP32 is that it is extremely sensitive to noise during testing but I did get an adjustable 60 mph reading via the Arduino monitor.
Do you have any build notes about the Frequency Meter for me to study?
Is it possible to construct my own Frequency Meter from my code provided in the notes?
Problem#3.
Once the input of Ch.8 is removed, the controller is still sending CAN frames viewed on SavvyCAN. A check of the CAN TX|RX via multimeter volts; oscilloscope reveals an active / dominate state TX. Concluding Canny controller will continuously TX once the initial input is implemented and continue TX after removal of the input signal from the circuit.
Thanks,