Home     Company     Products     Services     Community     Download     Store
    [Home arrow Community arrow Forum ]
Community
Community
Login Form





Lost Password?
No account yet? Register
Evidence Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Flex and SPI (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Flex and SPI
#183
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Flex and SPI 3 Months, 1 Week ago Karma: 0  
Thank you.

Daniele
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#187
nino (Moderator)
Moderator
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Flex and SPI 3 Months, 1 Week ago Karma: 2  
Also the ZigBee "Wireless Communication using FLEX and ERIKA Enterprise Basic" application notes has ee_radio_spi.c and ee_radio_spi.h for spi init and communication.

Nino
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#189
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Flex and SPI 3 Months, 1 Week ago Karma: 0  
Many thankx Nino.
These functions are a good point of start for me.

Stay tuned for help me.

Daniele
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#193
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Flex and SPI 3 Months, 1 Week ago Karma: 0  
Hi, my ideas aren't clear.
Can I connect directly con6's pins 21,41,43,44 in order to use spi1?or must I use the multibus board+multibus module?

Thx
Daniele
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/25 14:05 By daniele.caprini.
  The administrator has disabled public write access.
#194
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Flex and SPI 3 Months, 1 Week ago Karma: 4  
you can connect directly the SPI pi, but be careful because there is no resistors between the CPU and your hardware...

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#199
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Flex and SPI 3 Months, 1 Week ago Karma: 0  
Hi guys, I'm always here to asking some tips about spi.
I have to setup a comunication sequence between flex (the master) and DCB500( yamar production, the slave).
I have only to send data from Master to Slave; the Master starts the transmission process by lowering pin SS and sending the command byte 41h. The following bytes are data bytes to be transmitted. After the last data byte is sent to
the slave, the Master raises and lowers the SS pin and than sends the command byte A1h. Than the master raises the SS pin.
I rising and lowering SS pin after my data sequence but, on oscilloscope I see SS1 rise and lower much earlier than i expect.
I think the problem is the time requied to send data from SPI1BUF to shift register and from shift register to SDO.
In effect before sends another data byte I check if the previous data byte is moved from SPI1TXB to SR, but it's not send yet on SDO pin.
It looks like that the command on SS pin is always 2 byte in advance.
Actually I haven't connect the slave, I try to create the sequence on oscilloscope with the right start & end times.

Image & code attach: http://orfeo.unipv.it/daniele/image-code.zip

Many Thanks

Crazy Daniele
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/01 11:14 By daniele.caprini.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
Privacy Policy