Other Parts Discussed in Thread: HALCOGEN
Using :Launchpad TMS570lc43x /RM57Lx, Launchpad XL2
configured, in halcogen:
SPI
basically only SPI1...just want to run that spi bus..
Setup:
MIBSPI1CLK = pin f18 = Booster pak 2 pin j5- 7
MIBSPI1NCS[0] = pin R2 = Booster pak 2 pin j6-3
MIBSPI1SIMO[0] = pin F19 = Booster pak 2 pin j6- 6
MIBSPI1SOMI[0] = pin G18 = Booster pak 2 pin j6-7
set all other NCS pins to GPIO (in halcogen)..only NCS[0]SPI based.
made sure no conflicts in PINMUX....
run code..using this funtion: uint32 spiTransmitAndReceiveData(spiBASE_t *spi, spiDAT1_t *dataconfig_t, uint32 blocksize, uint16 * srcbuff, uint16 * destbuff)
run code.
se clk, data...no CS....??????
checking registers while running....
(i.e. DAT1)...I see bit 28=1, I see CSNR = 0x37...(which is confusing based on Table 28-25 in SPNU563A, Herc Ref manual.....why are that many /cs activated for one transfer????)
anyway.....confused...
just trying to do a "simple" send spi data..
Any thoughts/insight/help appreciated.
per SOP, apprectiate any and all responses...
cheers
jy


