Re: SPI driver development


Vincent - VLoTech
 

Hi Jiri,

Sorry for my late reply. I was out of the office  a few days.

Good to hear you've made good progress. I've spoken with Justin, who maintains the SAM drivers. He proposed to take a look at the ADC and UART driver as example.
He offered to help testing where needed. Would you be open to share your current progress and compare implementations? I can also create a github fork we can work into together or so?
I would say, whatever works for you.

Looking forward to your response.

Kind regards,

Vincent


On 09/17/2018 03:17 PM, Jiří Kubias wrote:
Hi Vincent,
Im open minded 8-). I have implemented SPI driver with polling - seems to be working fine for moth ways. But configuration stuff need some recheck and only one CS is supported.  I have tried to implement the DMA (I can compile it) into my driver but it fails when I bind the DMA - I have received MPU protection fault. Unfortunately there not many examples with DMA so it is not so simply to implement it... In another thread was reported also MPU fault with v1.13 which Im using. But it seems to be fixed in GIT so I have to recheck it again to see if the problem is still there or not.  I would like to finish it this week but Im sharing my time with another projects.... 

I will also try to implement the flash driver - but I didnt started yet.

Regards, 
Jiri


2018-09-17 15:07 GMT+02:00 <vincent@...>:

Hi Jiri, 

I'm was planning a SPI driver for the SAM4S and later on the SAMe70. 
I have sufficient boards to test the SPI driver, with displays, flash, IMU and transceivers on them to push its boundries. I can add the IRQ and DMA also, as I was using both with another RTOS before. 

Perhaps we can combine effort for this. 

Kind regards,
Vincent 




--
===================================================
Ing. Jiri Kubias
 
e-mail: jiri.kubias@...
mobile: 775 593 956
===================================================

-- 
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient's and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

TERMS AND CONDITIONS : All contracts & agreements are carried out in accordance with VLoTech's general terms and conditions. Entry into the contract implies acceptance of the applicability of the general terms and conditions of VLoTech. The general terms and conditions are stated on our web page ( www.VLoTech.com - click on "terms and conditions" - ), and a printed copy can be sent free of charge on request.

Join devel@lists.zephyrproject.org to automatically receive all group messages.