PWM

Type: Official Firmware
Filename: —
Download Address: -
Log: no log.zip

I try to use PWM, using this link:

  1. There is NO kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-demo.dtsi in my /rockchip/ folder.
    And i can’t add the PWM DTS configuration in the DTS source file
    pwm_demo: pwm_demo {
    status = “disabled”;
    compatible = “firefly,rk356x-pwm”;
    pwms = <&pwm1 0 10000 1>; //pwm1:PWM number 0 10000:PWM period in nanoseconds 1:polarity
    duty_ns = <5000>; //pwm duty cycle activation time, unit ns
    };
    Is documentation wrong?
  2. I don’t understand what to do with this C++ code:
    struct pwm_device * pwm1 = NULL;pwm0 = pwm_request(1, “firefly-pwm”);pwm_config(pwm0, 500000, 1000000);pwm_enable(pwm0);

This is kernel driver source code, necessary to rebuild kernel and write firmware to SOM, why should i change it ? I need to change PWM parameters dinamically.How can i control it ?

tchip_askquestions
no log.zip (22 Bytes)

Thank you for sharing; the article is truly stunning! Upgrade your IT skills with free Pass CDPSE test guide. Wishing you good luck in your exams!

Your article has made a lasting impression, thank you! Best of luck! Here are the free Test Comm-Dev-101 engine version study resources for you.

This article is exceptional, I truly appreciate you sharing it! The Updated CPIM-8.0 Testkings questions were the stepping stones to my career success, and today I’m giving them away for free!

Truly an extraordinary article, I’m thankful for your sharing. Valid IFC test sample provides a range of useful materials for free, hoping they help you progress.

Möchten Sie in kurzer Zeit die COBIT-2019 ISACA Zertifizierungsprüfung bestehen? Unser DeutschPrüfung bietet Ihnen die Testfragen und Antworten zur ISACA COBIT-2019 Zertifizierung, die von den IT-Experten durch Experimente und Praxis erhalten werden und über IT-Zertifizierungserfahrungen über 10 Jahre verfügt. Außerdem gewährt unser DeutschPrüfung Ihnen die vollständigsten Zertifizierungskriterien sowie Ausbildungsmethoden. Die Ergebnisse von unseren Kunden haben bewiesen, dass die Genauigkeit der ISACA COBIT-2019 Zertifizierung 100% beträgt! Wenn Sie irgendeine Frage über die COBIT-2019 Prüfung haben, werden wir so schnell wie möglich beantworten.