|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
Your main.c uses pwm_nrf5_sw.c driver which has conflict with BT features on nRF52840...
I do not see use of NRF_PWM0 in you main.c, of course, yes your code in the devzone does, hope you get some
Your main.c uses pwm_nrf5_sw.c driver which has conflict with BT features on nRF52840...
I do not see use of NRF_PWM0 in you main.c, of course, yes your code in the devzone does, hope you get some
|
By
Chettimada, Vinayak Kariappa
·
#524
·
|
|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
>> Again, I will like to iterate that for nRF52840, h/w PWM driver has to be used, feel free to contribute (isn’t it fun to develop than test ;) )
Means ??
I am using h/w PWM only !! Have you looked
>> Again, I will like to iterate that for nRF52840, h/w PWM driver has to be used, feel free to contribute (isn’t it fun to develop than test ;) )
Means ??
I am using h/w PWM only !! Have you looked
|
By
Vikrant More <vikrant8051@...>
·
#523
·
|
|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
Hi Vikrant,
As i said, there is possible overlap of PPIs with BT Controller. PPI channel 16 and 17 overlap with Code PHY feature in nRF52840.
I will try to send a PR wherein you could
Hi Vikrant,
As i said, there is possible overlap of PPIs with BT Controller. PPI channel 16 and 17 overlap with Code PHY feature in nRF52840.
I will try to send a PR wherein you could
|
By
Chettimada, Vinayak Kariappa
·
#522
·
|
|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
Hi Vinayak,
fade_led sample runs as expected. We are trying to generate PWM on two channels. Adding
pwm_pin_set_usec(pwm_dev, PWM_CHANNEL0,PERIOD, pulse_width);
pwm_pin_set_usec(pwm_dev,
Hi Vinayak,
fade_led sample runs as expected. We are trying to generate PWM on two channels. Adding
pwm_pin_set_usec(pwm_dev, PWM_CHANNEL0,PERIOD, pulse_width);
pwm_pin_set_usec(pwm_dev,
|
By
ashish.shukla@corvi.com <ashish.shukla@...>
·
#521
·
|
|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
Hi Vikrant,
I have run the upstream fade_led sample on nrf52840-PDK, I see no regression, the brightness changes every second (up and then down so on).
I advice you to debug your implementation
Hi Vikrant,
I have run the upstream fade_led sample on nrf52840-PDK, I see no regression, the brightness changes every second (up and then down so on).
I advice you to debug your implementation
|
By
Chettimada, Vinayak Kariappa
·
#520
·
|
|
Re: [Zephyr-devel] Buggy PWM driver for nRF52
Hi Vikrant,
Please try the PWM without the BT Controller included. There could be some PWM regression due to changes in controller implementation.
That said the nrf5_sw driver is software
Hi Vikrant,
Please try the PWM without the BT Controller included. There could be some PWM regression due to changes in controller implementation.
That said the nrf5_sw driver is software
|
By
Chettimada, Vinayak Kariappa
·
#519
·
|
|
Re: Buggy PWM driver for nRF52
Hi Marti,
>>Are you using the latest master?
Yes
Hi Marti,
>>Are you using the latest master?
Yes
|
By
Vikrant More <vikrant8051@...>
·
#518
·
|
|
Re: Buggy PWM driver for nRF52
Hi Vikrant,
Are you using the latest master?
Three improvements to nRF PWM went in fairly recently:
3f1dbfda1 pwm: nrf5_sw: don't disable timer if another channel is still active
ab399a1cf pwm:
Hi Vikrant,
Are you using the latest master?
Three improvements to nRF PWM went in fairly recently:
3f1dbfda1 pwm: nrf5_sw: don't disable timer if another channel is still active
ab399a1cf pwm:
|
By
Marti Bolivar
·
#517
·
|
|
Re: Buggy PWM driver for nRF52
I took reference of $zephy/samples/samples/fade_led project
& add following parameters in my
I took reference of $zephy/samples/samples/fade_led project
& add following parameters in my
|
By
Vikrant More <vikrant8051@...>
·
#516
·
|
|
Re: [Zephyr-devel] Power Configuration of nrf52840
Hi Ashish,
UICR is Flash, you need to do something similar to in soc.c done for reset pin config. Or use nrfjprog to write values to UICR
Hi Ashish,
UICR is Flash, you need to do something similar to in soc.c done for reset pin config. Or use nrfjprog to write values to UICR
|
By
Vinayak Kariappa
·
#515
·
|
|
Re: Buggy PWM driver for nRF52
Hi Vikrant,
Did you configure what pins are associated to pwm duty_cycles on the menuconfig?
Best
Felipe
2018-02-07 10:15 GMT-02:00 Vikrant More <vikrant8051@...>:
--
Felipe S. Neves
Embedded
Hi Vikrant,
Did you configure what pins are associated to pwm duty_cycles on the menuconfig?
Best
Felipe
2018-02-07 10:15 GMT-02:00 Vikrant More <vikrant8051@...>:
--
Felipe S. Neves
Embedded
|
By
Felipe Neves
·
#514
·
|
|
Buggy PWM driver for nRF52
Hello World !!
I've added following lines in my project main ()
pwm_dev = device_get_binding(PWM_DRIVER);
if (!pwm_dev)
{
printk("Cannot find %s!\n", PWM_DRIVER);
Hello World !!
I've added following lines in my project main ()
pwm_dev = device_get_binding(PWM_DRIVER);
if (!pwm_dev)
{
printk("Cannot find %s!\n", PWM_DRIVER);
|
By
Vikrant More <vikrant8051@...>
·
#513
·
|
|
Re: [Zephyr-devel] Power Configuration of nrf52840
Hi,
Yes, I'm working in high voltage mode. VDDH = 3.6V
Then, I added following lines
NRF_POWER->DCDCEN0 = 0x01; // Enabling DC/DC for stage REG0
NRF_POWER->DCDCEN = 0x01; // Enabling DC/DC for
Hi,
Yes, I'm working in high voltage mode. VDDH = 3.6V
Then, I added following lines
NRF_POWER->DCDCEN0 = 0x01; // Enabling DC/DC for stage REG0
NRF_POWER->DCDCEN = 0x01; // Enabling DC/DC for
|
By
ashish.shukla@corvi.com <ashish.shukla@...>
·
#512
·
|
|
Re: [Zephyr-devel] Power Configuration of nrf52840
Hi
So you must have supplied nRF52840 from VDDH pin – so it power regulator circuit works in high voltage mode.
Then internal regulator generate the GPIO output voltage:
You need to set
Hi
So you must have supplied nRF52840 from VDDH pin – so it power regulator circuit works in high voltage mode.
Then internal regulator generate the GPIO output voltage:
You need to set
|
By
Puzdrowski, Andrzej <Andrzej.Puzdrowski@...>
·
#511
·
|
|
Power Configuration of nrf52840
Hello everyone !!!
I'm working with custom PCB of nrf52840. I need to set VDD voltage which is also GPIO high level voltage equals to 3.3V, otherwise it's 1.8V by default.
How can I configure this?
Hello everyone !!!
I'm working with custom PCB of nrf52840. I need to set VDD voltage which is also GPIO high level voltage equals to 3.3V, otherwise it's 1.8V by default.
How can I configure this?
|
By
ashish.shukla@corvi.com <ashish.shukla@...>
·
#510
·
|
|
Re: 1-32khz sensor-sampling loop
Hi Nathan. I'm fairly new to Zephyr, but if you're looking for hard real time-ish at 32 kHz then I'd talk straight to the hardware.
For example, say I needed to read an ADC channel at 32 kHz on the
Hi Nathan. I'm fairly new to Zephyr, but if you're looking for hard real time-ish at 32 kHz then I'd talk straight to the hardware.
For example, say I needed to read an ADC channel at 32 kHz on the
|
By
Michael Hope
·
#509
·
|
|
Re: Running ZTest for custom drivers on Boards.
Hi,
That is correct, a test is just another application.
Try a test that is known to work, for example a kernel test and see if you get the output.
Anas
Hi,
That is correct, a test is just another application.
Try a test that is known to work, for example a kernel test and see if you get the output.
Anas
|
By
Nashif, Anas
·
#508
·
|
|
Re: Running ZTest for custom drivers on Boards.
Hello Anas,
Thank you for the reply.
So it means just like running an application, i can run the testcases as an application from "zephyr/tests/xx_yy" folder on my board?
I tried it but
Hello Anas,
Thank you for the reply.
So it means just like running an application, i can run the testcases as an application from "zephyr/tests/xx_yy" folder on my board?
I tried it but
|
By
dhguja@gmail.com
·
#507
·
|
|
Re: Running ZTest for custom drivers on Boards.
Hi,
Running sanitycheck on a specific device is currently not supported, but it is a highly requested features and is planned. You could always go into the test you are interested in and just flash
Hi,
Running sanitycheck on a specific device is currently not supported, but it is a highly requested features and is planned. You could always go into the test you are interested in and just flash
|
By
Nashif, Anas
·
#506
·
|
|
Running ZTest for custom drivers on Boards.
Hello All,
I created a custom driver for one of our device on a board and wanted to write testcases for it. I can build the testcases by following other test driver folders like gpio or i2c ,
Hello All,
I created a custom driver for one of our device on a board and wanted to write testcases for it. I can build the testcases by following other test driver folders like gpio or i2c ,
|
By
dhguja@gmail.com
·
#505
·
|