Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Using NI USB-8452 SPI DIO as Chip Select lines

Solved!
Go to solution

Using NI USB-8452 SPI DIO as Chip Select lines

Hi all,

Would it be possible to extend the number of chip select (8) of a 8452 module by using the DIO lines of the 8452 and SPI script ?

If yes what are the caveats and recommendations ?

Best regards,

S. Michaud

Sébastien
CLA, CTD
0 Kudos
Message 1 of 7
(895 Views)

Re: Using NI USB-8452 SPI DIO as Chip Select lines

Hi all,

Any help from anybody ?

Thx,

 

Sébastien
CLA, CTD
0 Kudos
Message 2 of 7
(858 Views)
Highlighted
Solution
Accepted by topic author SebastienM
02-12-2018 10:28 AM

Re: Using NI USB-8452 SPI DIO as Chip Select lines

Based on the scope captures I took today it should be possible to script a DIO line to emulate a CS line. There are minor differences in how the CS and DIO lines behave outside of the script. For example, the SPI Script Disable.vi will tristate the SPI lines in between scripts where the DIO will remain in the last state it was programmed to be in. 

Jeff L
National Instruments
0 Kudos
Message 3 of 7
(846 Views)

Re: Using NI USB-8452 SPI DIO as Chip Select lines

You bumped your own thread after 19 hours, after posting at midnight Sunday, on the US east cost, in a subforum for automotive help, asking about SPI hardware.  Please be more patient, next time, post in the correct subforum, and realize the large majority of people here are volunteers.  If you need immediate help contact NI, or pay a contractor for help.


Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
Interesting in learning all you can about automotive CAN bus communication? Checkout my 12 part CAN Blog series.

0 Kudos
Message 4 of 7
(844 Views)

Re: Using NI USB-8452 SPI DIO as Chip Select lines

Thank you very much

Sébastien
CLA, CTD
0 Kudos
Message 5 of 7
(839 Views)

Re: Using NI USB-8452 SPI DIO as Chip Select lines

SPI is mentioned only above Automotive section.

Maybe it would be better to classify  it elsewhere ?

 

Sébastien
CLA, CTD
0 Kudos
Message 6 of 7
(837 Views)

Re: Using NI USB-8452 SPI DIO as Chip Select lines

Is it?  If so I apologize.  I would have thought Instrumentation Control, or Digital I/O would have been more appropriate.


Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
Interesting in learning all you can about automotive CAN bus communication? Checkout my 12 part CAN Blog series.

0 Kudos
Message 7 of 7
(834 Views)