Synchronizing SPIs
Posted: Tue Jan 28, 2020 3:50 pm
I would like to send signals from all SPIs at exact time so I know when all transmissions end at same time
Are they synchronized by default or must be configured?
I also noticed there are special functions for SPI pins as output:
(gpio_sig_map.h)
So f.ex. code - gpio_matrix_out(MY_PIN, SPID4_OUT_IDX, 0, 0)
will map my MY_PIN to first bit of SPI data?
What are those signals for SPI functions and how does that work?
Thanks
Are they synchronized by default or must be configured?
I also noticed there are special functions for SPI pins as output:
(gpio_sig_map.h)
Code: Select all
#define SPID4_IN_IDX 128
#define SPID4_OUT_IDX 128
#define SPID5_IN_IDX 129
#define SPID5_OUT_IDX 129
#define SPID6_IN_IDX 130
#define SPID6_OUT_IDX 130
#define SPID7_IN_IDX 131
#define SPID7_OUT_IDX 131
#define HSPID4_IN_IDX 132
#define HSPID4_OUT_IDX 132
#define HSPID5_IN_IDX 133
#define HSPID5_OUT_IDX 133
#define HSPID6_IN_IDX 134
#define HSPID6_OUT_IDX 134
#define HSPID7_IN_IDX 135
#define HSPID7_OUT_IDX 135
#define VSPID4_IN_IDX 136
#define VSPID4_OUT_IDX 136
#define VSPID5_IN_IDX 137
#define VSPID5_OUT_IDX 137
#define VSPID6_IN_IDX 138
#define VSPID6_OUT_IDX 138
#define VSPID7_IN_IDX 139
#define VSPID7_OUT_IDX 139
So f.ex. code - gpio_matrix_out(MY_PIN, SPID4_OUT_IDX, 0, 0)
will map my MY_PIN to first bit of SPI data?
What are those signals for SPI functions and how does that work?
Thanks