Part Number: BOOSTXL-POSMGR
Other Parts Discussed in Thread: TMS320F280039C
Hello,
I want to implement a bissc enconder using the product BOOSTXL-POSMGR into the launchpad with the microcontroller TMS320F280039C. I would to know if it is possible to ensure the compatibility of the PM_bissc_lib for this microcontroller. If it is possible i would like to know what changes are needed in which files to properly set up the library.
I have seen another related post here https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1132209/launchxl-f280039c-pm_bissc_include-h-declaration-is-incompatible-compilation-error/4213898#4213898 where he is following the same objective. In my case, the project compiles and i am able to use the library and create transactions between the lanchpad and the bissc encoder. However, i am not able to properly use the SPI peripheral and extract the data. I believe that the are some files that need extra changes so the library can be used in the TMS320F280039C.
The current situation is the following. I am using the PWM4 peripheral with the CLB but i am using the SPIA (manually set with custom functions). By means of jumper cables, i am interconnecting the gpios needed to emulate the same F2837xD pinout. As you can see in the following image, the messages are sent and the response of the encoder is totally fine.

However, the SPI FIFO interrupt never triggers eventhough i have connected the white line(encoder response) to the SIMO SPIA pin.
The only output i get from the compiler are the following warnings:
warning #10247-D: creating output section "Clb3DataExchgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb2DataExchgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb4DataExchgRegsFile" without a SECTIONS specification
warning #10247-D: creating output section "Clb1DataExchgRegsFile" without a SECTIONS specification
I am afraid the i have something left to be changed in some files to have a proper compatibility. If you need any more information to further undestand the application, please do not hesitate to ask me.
If it is not possible to ensure compatibility, i would like to know the design process to follow in order to create a bissc library based for that microcontroller using the CLB.
Update: I was able to communicate with the SPI. It was a problem of clocking signal into the CLK pin. However the warning persist. I took a look at the .map generated and it seems that the compiled library generates some .obj that change the memory datasection corresponding to the CLB registers. I was not able go deepr into that matter and help would be appreciated.
Also, i would like to know if it is possible to change the PWM that generates the clock signal by means the CLB. If so, could you please explain the registers that should be changed?
Thanks in advance,
David

