Anonymous
Not applicable
Jun 11, 2013
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 11, 2013
03:08 AM
Hello,
I measure a current with a ADC_delsig and I want to send the measure 16bit with the SPI.
I have an SPI-SLAVE that communicates with a PIC18F97J60. The communcication works with 8-bit words, and I would also send in my frame a 16-bit words.
Thanks for your answer
Labels
- Labels:
-
PSoC 3
3 Replies
Anonymous
Not applicable
Jun 11, 2013
03:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 11, 2013
03:32 AM
Would you use this... void SPIM_PutArray(const uint8/uint16 buffer[], uint8 byteCount) Description: Places an array of data into the transmit buffer ...
Anonymous
Not applicable
Jun 11, 2013
04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 11, 2013
04:09 AM
Thanks for your answer.
I have found a solution i have convert the 16bits data into two 8bits data.
Jun 11, 2013
04:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 11, 2013
04:58 AM
You can configure the SPI component to use 16bit words (right on the first page of the configuration). But this means you always send and receive 16bit words, which might not what you need.