- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am having two nos PSoC4 Prototype Board (4200) In that i am trying to implement SPI Master - Slave communication.
Board 1 - Added SPI Master Blocks and keep reading the data in a while.
Board 2- Added SPI Slave Blocks and keep sending the data.
anyone have idea in this how do i can make it work?
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be better to tell us what is the problem you encountered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is , i didnt know how to goahead with SPI interface.
I have created the SPI master block in one of Kit. And created the SPI slave block in another kit and now i connected both the kits (clk,mosi,miso,ss) and sending data from Master to Slave , but didnt find the way to receive the values in slave. if you give some solution to test SPI protocal it would be great.
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be easier if you have a known working master or slave (a serial flash chip,RTC...).
else if you have logic analyzer to verify the signal it ma help.
There are examples from the 100 project in 100 days that you can refer to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
I did not have analyzer. I am having nrf24l01 RF Module so let me try with this 1st.
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
While using a couple of nrf24l01 myself, I had lots of details/issues. Using one of the SCBs to talk with this slave is tricky. The main issue is that you cannot let the TX buffer starve ever, otherwise the CSN bit will rise and the radio dongle wont "listen" anymore data. Keep in mind that with the SCB you will not have direct control of the CSN signal. One more thing, you should have a a big TX/RX buffer to talk with this slave. My number is at least 33bytes each, to avoid issues regarding the buffers. 33 bytes are (i belive.. not tested ) the biggest string of data you will have to exchange with these little deamons 🙂
I hope this can help you,
Regards,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey , thanks for information,
I am waiting for my DSO , after that i have plan to start working on this
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a cheap logic analyzer that includes serial decode. I purcdhased
2 to have around, work pretty good. Only drawback is inputs are not protected
against over voltage, so you might want to make up a small board, 1 R, 2 diodes or
zeners, for each input unless you are certain you will never make a mistake.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dana,
I am looking for branded one , one time investment going for 100MHZ DSO 2 channel. Can yu check this link and tell me how good it is?
www.testequipmentdepot.com/tektronix/oscilloscope/digital-storage-oscilloscope-tbs1102b.htm
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tek, Rigol, LeCroy all have scopes in this market, all well made.
Generally I make up a matix in Excel and compare on that basis.
Key pts
1) Screen resolution, brightness, led backlight
2) Record capture depth
3) Sampling rate, all channels work simul at max rate
4) Control layout, one knob too many compounded functions......
5) Look at last firware update date, eg. are FW updates still being released.
Generally, not always, they add capability.
5) Display update rate of scope digitizing
6) Battery capability to operate scope, to truly "float" the scope off the AC mains
7) Math functions, the number and diversity of them
😎 FFT
You can google the scope for youtube and manufacturer reviews.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure , Thank you Dana!
Please chek my link also
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You my want to rent it so you can keep up with the technoligy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I purchased DSO with Frequency range upto 100MHZ
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi #ok,
I too am trying to establish an SPI master-slave commn between 2 such kits.
Could you do it? If yes can you please send me the project and snapshots?
Thanks,
Shreesha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shreesha,
I did'nt tried after that but i have to.
once it works for me,let you know.
Thanks,
Ashok r