CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 73 matches
CCS Forum Index
Author Message
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2019 3:04 am   Subject: driver for SPI FRAM CY15B104Q
I'm already at single byte write at 4.9 us, read of single byte 4.1 us, and block of 21 bytes read 19us, so it is acceptable with my project requirements.
More will write you later on and release the ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sun Nov 03, 2019 1:26 pm   Subject: driver for SPI FRAM CY15B104Q
Byte is 500 ns, not bit, sorry my mistake, but with gap of 1us between each byte, and sending of 7 bytes per each write, we get the 10us write time per one byte of data. We have 7x500 ns for data + ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sun Nov 03, 2019 11:48 am   Subject: driver for SPI FRAM CY15B104Q
Yes, you are right, it is 2MHz, not 16.
Setting up again the DSO to measure again.
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sun Nov 03, 2019 11:37 am   Subject: driver for SPI FRAM CY15B104Q
This is the setup of my clocking, and FRAM SPI

#include <33EP512MU810.h>

#build(stack=4096)
#use delay(clock=131072kHz, oscillator=30.72MHz, pll_wait, USB_FULL, AUX:clock= ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sun Nov 03, 2019 11:31 am   Subject: driver for SPI FRAM CY15B104Q
checking again, and back soon to you.
I definitely prefer to have much faster FRAM due to my application, maybe I'm not doing something properly
Thank you for your kind answer
BR
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sun Nov 03, 2019 11:04 am   Subject: driver for SPI FRAM CY15B104Q
Reading speed for 1 byte is 450 ns, same with writing of one byte.
I made a mistake in measurements, 450 ns is for one bit, not for one byte
The maximum speed for one byte write (with SPI running at ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Sat Nov 02, 2019 3:14 am   Subject: driver for SPI FRAM CY15B104Q
I have had exactly the same idea and already testing this.
So, you confirmed that I'm in a good way.
Thank you and Kind Regards.
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Fri Nov 01, 2019 6:25 pm   Subject: driver for SPI FRAM CY15B104Q
Hi,
I'm trying to implement also to this external SPI memory a circular buffer,
seems that the well known implementation used in the EX_SISR code is not easy to implement. My data package is 22 by ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 2:56 pm   Subject: driver for SPI FRAM CY15B104Q
It is an external memory for A/D data collection from 3 x 32 bits + time stamp.
Not super fast but OK. So, Block can also be used, but not expect to have it very much faster. I will test it and repo ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 1:10 pm   Subject: driver for SPI FRAM CY15B104Q
Reading speed for 1 byte is 450 ns, same with writing of one byte.
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 11:04 am   Subject: driver for SPI FRAM CY15B104Q
Working properly, cleaning up the source and release by tomorrow
BR
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 9:25 am   Subject: driver for SPI FRAM CY15B104Q
Hardware corrected, now back on DSO and checking.
It is a real time debugging ;-)
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 8:44 am   Subject: driver for SPI FRAM CY15B104Q
Found that F8 is used as test point, so easy to solder a wire, as to 100 pins TQFP is very difficult to solder anything on pins, so isolated the FRAM SO, but pushing it up, and solder a bridge to F8, ...
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 7:59 am   Subject: driver for SPI FRAM CY15B104Q
OK. Thank you, taking my knife for action and microscope
soon back to you
  Topic: driver for SPI FRAM CY15B104Q
micro_debugger

Replies: 33
Views: 64105

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 6:37 am   Subject: driver for SPI FRAM CY15B104Q
Sorry for my late replying.
Just was inside of the IC :-)
I'm using DSPIC33EP512MU810
but PCB received with bug, and now trying to solve it.
They used a wrong pin for SPI1, so the only solution wa ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group