cancel
Showing results for 
Search instead for 
Did you mean: 

i want to use spi in TI frame format but in cube mx i can select only motorola format. how can i resolve it. please help me

skuma.51
Associate
 
2 REPLIES 2
S.Ma
Principal

Well, strangely, you might have to modify the spi register setting in the user code. Now the challenge is to place this patch so that it stays after cubemx code generation AND at the right init sequence.

Stuntman
Associate II

Zombie thread, but for future reference:

The issue is when selecting the frame format in CubeMX SPI Configuration, Motorola is selected, and the TI option is greyed out (un-selectable). This was circumvented by going back to the pinout, and activating "Hardware NSS Signal" under the SPI heading and assigning a pin. I can only assume the TI format requires the SCS be coupled to the peripheral for some kind of time-sensitive feature (synchronization?) instead of simply using a GPIO and your own flavor of control.