Hi,
I am trying to control 2 slaves using CS0 and CS1 of MibSPI5.
Slave 1 connected to CS0 is using format0 with a 500kHz bauderate
Slave 2 connected to CS1 is using format1 or format 2 with a 5MHz bauderate.
I have attached my settings file. In the setup file, the groups 0, 1 and 2 are disable and I enable group 0 for Slave 1 (or group 1 for Slave 2) before starting using Slave 1 or 2.
When I use only Slave 2, It works fine.
When I use only Slave 1, the frequency of the clock is not 5kHz but 5MHz ie format 1 (or 2) bauderate.
In my setup file, I found out that when I force the transfer group 1 and 2 length to 0, the frequency of Slave 1 is 5kHz and Slave 1 works fine (of couse this is a test a Slave 2 cannot be used anymore).
I don't understand as group 1 and 2 are disable and group 0 is enable why when I trigger my trigger source (HET1_14), frequency is not correct.
Thank you for you help
Baptiste
5773.RM46L852_mibspi_with_diff_formats.txt