Hello Community,
I use the following code (see the attachment) and made many types of block and configured tlc, the model is always building but I don't see any SENT signal on the oscilloscope
I took this code and split the main into 2 one driver_setup() -> which contains all setup calls and one driver_action() -> which just contains while call; so that in the tlc file I can call setup only once and wait for trigger in action function.
Second I removed the ADC from the code took ADC config ADC Start from the NXP toolbox and took the data from it to the code same thing but in driver_action() I added a uint32_t Data variable in Parameter -> driver_action(uint32_t Data) and updated the tlc and my model to have one input port. it is built without error but with no result on the oscilloscope.
also, can I use all flexio pin simuntaniously for SENT Tx for example I use my block multiple times in Simulink and manipulate the data and then pass them to block; will all flexio pin transmit SENT signal w.r.t Data they recieved or is there some trick or something I am missing.
Best regards,
@JustMet
Solved! Go to Solution.
Hello
I did some debugging and i found out that when i use clock divider function i see no output and when i disable it i just see clock output and not the SENT also i went a level in and found that selecting SIRC is causing the problem.
Redefine Divocre Divbuss and Divslow and it work