|
Re: A possible case of TCP server no-response, was: Re: bufs lost in TCP connection establishment
Hello,
This is a hardware-agnostic issue, see: https://jira.zephyrproject.org/browse/ZEP-428.
The issue description is not really useful, although comments will help.
BTW, we apply the same
Hello,
This is a hardware-agnostic issue, see: https://jira.zephyrproject.org/browse/ZEP-428.
The issue description is not really useful, although comments will help.
BTW, we apply the same
|
By
Flavio Santes <flavio.santes@...>
·
#3686
·
|
|
[RFC]PWM API Update
Hi everyone,
I would like to propose the re-design of PWM API interfaces.
(https://jira.zephyrproject.org/browse/ZEP-745).
PWM APIs had been through a few times of updates from different
Hi everyone,
I would like to propose the re-design of PWM API interfaces.
(https://jira.zephyrproject.org/browse/ZEP-745).
PWM APIs had been through a few times of updates from different
|
By
Liu, Baohong
·
#3685
·
|
|
Re: [RFC] SPI API update
By
Liu, Baohong
·
#3684
·
|
|
A possible case of TCP server no-response, was: Re: bufs lost in TCP connection establishment
Hello Rohit, et al,
Thanks for the information below. I didn't yet have chance to test
multiple TCP/IPv4 connections in row, because I have issue with
reliably handling one. Just as before, my setup
Hello Rohit, et al,
Thanks for the information below. I didn't yet have chance to test
multiple TCP/IPv4 connections in row, because I have issue with
reliably handling one. Just as before, my setup
|
By
Paul Sokolovsky
·
#3683
·
|
|
Daily JIRA Digest
NEW JIRA items within last 24 hours: 3
[ZEP-865] convert filesystem sample to a runnable test
https://jira.zephyrproject.org/browse/ZEP-865
[ZEP-869] TCP connection fails if communication slows
NEW JIRA items within last 24 hours: 3
[ZEP-865] convert filesystem sample to a runnable test
https://jira.zephyrproject.org/browse/ZEP-865
[ZEP-869] TCP connection fails if communication slows
|
By
donotreply@...
·
#3682
·
|
|
Re: [RFC] SPI API update
What about your lock that you'll use in the RFC's proposed of
spi_tranceive? I think I've must have misunderstood something
fundamental, because I see so difference between
A();
B();
What about your lock that you'll use in the RFC's proposed of
spi_tranceive? I think I've must have misunderstood something
fundamental, because I see so difference between
A();
B();
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3681
·
|
|
Daily Gerrit Digest
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/4773 : Bluetooth: Controller: Make HCI endianness-independent
- https://gerrit.zephyrproject.org/r/4774 : intel_quark: move X86_IAMCU
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/4773 : Bluetooth: Controller: Make HCI endianness-independent
- https://gerrit.zephyrproject.org/r/4774 : intel_quark: move X86_IAMCU
|
By
donotreply@...
·
#3680
·
|
|
Re: [RFC] SPI API update
Hi Jon,
As I said your example does not work unless you keep track of who owns
the lock.
And anyway, it looks ugly to handle low level SPI concept (CS) in user API.
You _cannot_ know in your code,
Hi Jon,
As I said your example does not work unless you keep track of who owns
the lock.
And anyway, it looks ugly to handle low level SPI concept (CS) in user API.
You _cannot_ know in your code,
|
By
Tomasz Bursztyka
·
#3679
·
|
|
Re: [RFC] SPI API update
I was assuming 'lock' == mutex/semaphore and would be the same method
you would use in a single function. E.g.
Single function...
lock
do some work
unlock
Separate function1
lock
do some
I was assuming 'lock' == mutex/semaphore and would be the same method
you would use in a single function. E.g.
Single function...
lock
do some work
unlock
Separate function1
lock
do some
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3678
·
|
|
Re: [RFC] SPI API update
Hi Jon,
I guess we would have to think about something driver generic,
configured through board.h also.
There isn't much other way. Or it can be done through Kconfig as well,
though that could end
Hi Jon,
I guess we would have to think about something driver generic,
configured through board.h also.
There isn't much other way. Or it can be done through Kconfig as well,
though that could end
|
By
Tomasz Bursztyka
·
#3677
·
|
|
Re: [RFC] SPI API update
Except as I want zero copy now, with current APIs, I have to handle CS
manually, outside the SPI driver; that's what I meant. I didn't want to
write code to handle GPIO chip select in the driver which
Except as I want zero copy now, with current APIs, I have to handle CS
manually, outside the SPI driver; that's what I meant. I didn't want to
write code to handle GPIO chip select in the driver which
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3675
·
|
|
Re: [RFC] SPI API update
Hi Jon,
For this to work, you would need to relate the lock to the caller, to
block any other caller
to mess up. It's possible (fiber/task id), but a bit more bloated than
doing all at once in one
Hi Jon,
For this to work, you would need to relate the lock to the caller, to
block any other caller
to mess up. It's possible (fiber/task id), but a bit more bloated than
doing all at once in one
|
By
Tomasz Bursztyka
·
#3676
·
|
|
Re: [RFC] SPI API update
I'm was just wondering how to tell a generic SPI driver, which DMA to
use. Or how it requests one itself. Or if these things we're going to
have to be hard coded at build time in a device specific
I'm was just wondering how to tell a generic SPI driver, which DMA to
use. Or how it requests one itself. Or if these things we're going to
have to be hard coded at build time in a device specific
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3674
·
|
|
Re: [RFC] SPI API update
[...]
I don't see that concurrent access is any more of a problem with this
than without it. What if a task calls the single transceive() function
you propose, then that task gets preempted and
[...]
I don't see that concurrent access is any more of a problem with this
than without it. What if a task calls the single transceive() function
you propose, then that task gets preempted and
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3673
·
|
|
Re: [RFC] SPI API update
Hi Jon,
I call it a hack in DW driver, because this controller has a CS... which
is broken.
Legacy or new API: your driver will have to deal with CS internally,
either controlling the controller's
Hi Jon,
I call it a hack in DW driver, because this controller has a CS... which
is broken.
Legacy or new API: your driver will have to deal with CS internally,
either controlling the controller's
|
By
Tomasz Bursztyka
·
#3672
·
|
|
Re: [RFC] Add new SYS_LOG_BACKEND_FN to sys_log
Eitan,,
In principle I agree we need to support additional backends, but I do not think this fits in how it is being done in sys_log.h.
I propose to extend syslog to support custom backends without
Eitan,,
In principle I agree we need to support additional backends, but I do not think this fits in how it is being done in sys_log.h.
I propose to extend syslog to support custom backends without
|
By
Nashif, Anas
·
#3671
·
|
|
Re: [RFC] SPI API update
Not sure why you call this a 'hack'. Anyway, the serial device IP I'm
writing an SPI driver for (ARM's PL022) doesn't have a concept of a chip
select, so I'm going to have to implement this same
Not sure why you call this a 'hack'. Anyway, the serial device IP I'm
writing an SPI driver for (ARM's PL022) doesn't have a concept of a chip
select, so I'm going to have to implement this same
|
By
Jon Medhurst (Tixy) <tixy@...>
·
#3670
·
|
|
Re: [RFC] SPI API update
Hi Jon,
DMA is not meant to support such scatter-gather buffer, but it would be
easy to wrap dma primitives to do so.
(However, I don't know why it separates transfer cb and error cb, these
could
Hi Jon,
DMA is not meant to support such scatter-gather buffer, but it would be
easy to wrap dma primitives to do so.
(However, I don't know why it separates transfer cb and error cb, these
could
|
By
Tomasz Bursztyka
·
#3669
·
|
|
Re: [RFC] SPI API update
From memory/complexity point of view, is it better to provide a
spi_config for each slave
device (thus the slave id into it), or is it better to have one
possibility to share the same spi_config?
From memory/complexity point of view, is it better to provide a
spi_config for each slave
device (thus the slave id into it), or is it better to have one
possibility to share the same spi_config?
|
By
Tomasz Bursztyka
·
#3668
·
|
|
Re: Porting to ARM M0, M0+
Take a look at https://jira.zephyrproject.org/browse/ZEP-783. My idea
is to start sending those patches over the next few days, once I'm
done with some other unrelated critical work.
Also check
Take a look at https://jira.zephyrproject.org/browse/ZEP-783. My idea
is to start sending those patches over the next few days, once I'm
done with some other unrelated critical work.
Also check
|
By
Ricardo Salveti <ricardo.salveti@...>
·
#3667
·
|